Google Maps Platform Street View Publish PhotoSequence API

The Street View Publish PhotoSequence API from Google Maps Platform — 3 operation(s) for street view publish photosequence.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

DELETE /v1/photoSequence/{sequenceId} Delete a Street View photo sequence · Delete photoSequence #
Ask an LLM
“How do I remove a whole photo sequence I published?”
“Can I delete a sequence and its details?”
Tell an agent destructive · confirm first
Delete photo sequence {sequenceId}.
Remove sequence {sequenceId} from Street View.
GET /v1/photoSequence/{sequenceId} Check one Street View photo sequence · Get photoSequence #
Ask an LLM
“How do I see whether my uploaded video sequence finished processing?”
“Can I view the details of one photo sequence?”
Tell an agent
Show photo sequence {sequenceId}.
Check the processing state of sequence {sequenceId}.
POST /v1/photoSequence Publish an uploaded Street View sequence · Create photoSequence #
Ask an LLM
“How do I publish a 360 video after uploading it?”
“Can I choose the GPS source when publishing a sequence?”
Tell an agent
Publish uploaded sequence {uploadReference} as {inputType}.
Publish sequence {uploadReference} using GPS source {gpsSource}.
POST /v1/photoSequence:startUpload Start uploading a Street View video sequence · Start upload photoSequence #
Ask an LLM
“What's the first step to upload a 360 video sequence?”
“Where do I send the data for a new photo sequence?”
Tell an agent
Start an upload session for a new photo sequence.
Get me an upload link for a 360 video sequence.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-maps:google-maps-street-view-publish-photosequence-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-maps-street-view-publish-photosequence-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Street View Publish API PhotoSequence Street View Publish…
  version: v1
  description: Generated from Google's published Discovery document for Street View Publish API (streetviewpublish v1, revision 20261110). 4 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://streetviewpublish.googleapis.com
tags:
- name: Street View Publish PhotoSequence
paths:
  /v1/photoSequence/{sequenceId}:
    delete:
      operationId: streetviewpublish.photoSequence.delete
      summary: Delete photoSequence
      description: 'Deletes a PhotoSequence and its metadata. This method returns the following error codes: * google.rpc.Code.PERMISSION_DENIED if the requesting user did not create the requested photo sequence. * google.rpc.Code.NOT_FOUND if the photo sequence ID does not exist. * google.rpc.Code.FAILED_PRECONDITION if the photo sequence ID is not yet finished processing.'
      parameters:
      - name: sequenceId
        in: path
        required: true
        description: Required. ID of the PhotoSequence.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Empty'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/streetviewpublish
      - apiKey: []
      tags:
      - Street View Publish PhotoSequence
    get:
      operationId: streetviewpublish.photoSequence.get
      summary: Get photoSequence
      description: 'Gets the metadata of the specified PhotoSequence via the Operation interface. This method returns the following three types of responses: * `Operation.done` = false, if the processing of PhotoSequence is not finished yet. * `Operation.done` = true and `Operation.error` is populated, if there was an error in processing. * `Operation.done` = true and `Operation.response` is poulated, which contains a PhotoSequence message. This method returns the following error codes: * google.rpc.Code.PERMISSION_DENIED if the requesting user did not create the requested PhotoSequence. * google.rpc.Code.NOT_FOUND if the requested PhotoSequence does not exist.'
      parameters:
      - name: sequenceId
        in: path
        required: true
        description: Required. ID of the photo sequence.
        schema:
          type: string
      - name: filter
        in: query
        required: false
        description: 'Optional. The filter expression. For example: `published_status=PUBLISHED`. The filters supported are: `published_status`. See https://google.aip.dev/160 for more information.'
        schema:
          type: string
      - name: view
        in: query
        required: false
        description: 'Specifies if a download URL for the photo sequence should be returned in `download_url` of individual photos in the PhotoSequence response. > Note: Currently not implemented.'
        schema:
          type: string
          enum:
          - BASIC
          - INCLUDE_DOWNLOAD_URL
          deprecated: true
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Operation'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/streetviewpublish
      - apiKey: []
      tags:
      - Street View Publish PhotoSequence
  /v1/photoSequence:
    post:
      operationId: streetviewpublish.photoSequence.create
      summary: Create photoSequence
      description: 'After the client finishes uploading the PhotoSequence with the returned UploadRef, CreatePhotoSequence extracts a sequence of 360 photos from a video or Extensible Device Metadata (XDM, http://www.xdm.org/) to be published to Street View on Google Maps. `CreatePhotoSequence` returns an Operation, with the PhotoSequence Id set in the `Operation.name` field. This method returns the following error codes: * google.rpc.Code.INVALID_ARGUMENT if the request is malformed. * google.rpc.Code.NOT_FOUND if the upload reference does not exist.'
      parameters:
      - name: inputType
        in: query
        required: false
        description: Required. The input form of PhotoSequence.
        schema:
          type: string
          enum:
          - INPUT_TYPE_UNSPECIFIED
          - VIDEO
          - XDM
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PhotoSequence'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Operation'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/streetviewpublish
      - apiKey: []
      tags:
      - Street View Publish PhotoSequence
  /v1/photoSequence:startUpload:
    post:
      operationId: streetviewpublish.photoSequence.startUpload
      summary: Start upload photoSequence
      description: Creates an upload session to start uploading photo sequence data. The upload URL of the returned UploadRef is used to upload the data for the `photoSequence`. After the upload is complete, the UploadRef is used with CreatePhotoSequence to create the PhotoSequence object entry.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Empty'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadRef'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/streetviewpublish
      - apiKey: []
      tags:
      - Street View Publish PhotoSequence
components:
  schemas:
    NoOverlapGpsFailureDetails:
      properties:
        videoStartTime:
          type: string
          format: google-datetime
          description: Start time of video.
        gpsStartTime:
          description: Time of first recorded GPS point.
          format: google-datetime
          type: string
        videoEndTime:
          format: google-datetime
          description: End time of video.
          type: string
        gpsEndTime:
          format: google-datetime
          description: Time of last recorded GPS point.
          type: string
      type: object
      description: Details related to PhotoSequenceProcessingFailureReason#NO_OVERLAP_GPS.
    NotOutdoorsFailureDetails:
      properties:
        startTime:
          description: Relative time (from the start of the video stream) when an indoor frame was found.
          format: google-duration
          type: string
      type: object
      description: Details related to ProcessingFailureReason#NOT_OUTDOORS. If there are multiple indoor frames found, the first frame is recorded here.
    Status:
      properties:
        code:
          description: The status code, which should be an enum value of google.rpc.Code.
          type: integer
          format: int32
        details:
          description: A list of messages that carry the error details. There is a common set of message types for APIs to use.
          items:
            type: object
            additionalProperties:
              description: Properties of the object. Contains field @type with type URL.
          type: array
        message:
          description: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
          type: string
      description: 'The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).'
      type: object
    Photo:
      description: Photo is used to store 360 photos along with photo metadata.
      type: object
      properties:
        downloadUrl:
          type: string
          readOnly: true
          description: Output only. The download URL for the photo bytes. This field is set only when GetPhotoRequest.view is set to PhotoView.INCLUDE_DOWNLOAD_URL.
        pose:
          $ref: '#/components/schemas/Pose'
          description: Optional. Pose of the photo.
        places:
          type: array
          items:
            $ref: '#/components/schemas/Place'
          description: Optional. Places where this photo belongs.
        connections:
          items:
            $ref: '#/components/schemas/Connection'
          type: array
          description: Optional. Connections to other photos. A connection represents the link from this photo to another photo.
        uploadReference:
          $ref: '#/components/schemas/UploadRef'
          description: Input only. Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
        photoId:
          $ref: '#/components/schemas/PhotoId'
          description: Required. Output only. Required when updating a photo. Output only when creating a photo. Identifier for the photo, which is unique among all photos in Google.
        thumbnailUrl:
          type: string
          description: Output only. The thumbnail URL for showing a preview of the given photo.
          readOnly: true
        shareLink:
          readOnly: true
          description: Output only. The share link for the photo.
          type: string
        captureTime:
          type: string
          format: google-datetime
          description: Optional. Absolute time when the photo was captured. When the photo has no exif timestamp, this is used to set a timestamp in the photo metadata.
        viewCount:
          type: string
          readOnly: true
          description: Output only. View count of the photo.
          format: int64
        uploadTime:
          format: google-datetime
          type: string
          description: Output only. Time when the image was uploaded.
          readOnly: true
        mapsPublishStatus:
          description: Output only. Status in Google Maps, whether this photo was published or rejected.
          readOnly: true
          enum:
          - UNSPECIFIED_MAPS_PUBLISH_STATUS
          - PUBLISHED
          - REJECTED_UNKNOWN
          type: string
        transferStatus:
          readOnly: true
          enum:
          - TRANSFER_STATUS_UNKNOWN
          - NEVER_TRANSFERRED
          - PENDING
          - COMPLETED
          - REJECTED
          - EXPIRED
          - CANCELLED
          - RECEIVED_VIA_TRANSFER
          description: Output only. Status of rights transfer on this photo.
          type: string
    Connection:
      properties:
        target:
          $ref: '#/components/schemas/PhotoId'
          description: Required. The destination of the connection from the containing photo to another photo.
      description: A connection is the link from a source photo to a destination photo.
      type: object
    Imu:
      description: IMU data from the device sensors.
      properties:
        accelMpsps:
          description: The accelerometer measurements in meters/sec^2 with increasing timestamps from devices.
          type: array
          items:
            $ref: '#/components/schemas/Measurement3d'
        gyroRps:
          description: The gyroscope measurements in radians/sec with increasing timestamps from devices.
          items:
            $ref: '#/components/schemas/Measurement3d'
          type: array
        magUt:
          description: The magnetometer measurements of the magnetic field in microtesla (uT) with increasing timestamps from devices.
          items:
            $ref: '#/components/schemas/Measurement3d'
          type: array
      type: object
    Place:
      properties:
        name:
          description: Output only. The name of the place, localized to the language_code.
          readOnly: true
          type: string
        languageCode:
          description: Output only. The language_code that the name is localized with. This should be the language_code specified in the request, but may be a fallback.
          type: string
          readOnly: true
        placeId:
          description: Place identifier, as described in https://developers.google.com/places/place-id.
          type: string
      type: object
      description: Place metadata for an entity.
    Pose:
      properties:
        roll:
          type: number
          description: Roll, measured in degrees. Value must be >= 0 and <360. A value of 0 means level with the horizon. NaN indicates an unmeasured quantity.
          format: double
        latLngPair:
          $ref: '#/components/schemas/LatLng'
          description: 'Latitude and longitude pair of the pose, as explained here: https://cloud.google.com/datastore/docs/reference/rest/Shared.Types/LatLng When creating a Photo, if the latitude and longitude pair are not provided, the geolocation from the exif header is used. A latitude and longitude pair not provided in the photo or exif header causes the photo process to fail.'
        heading:
          type: number
          format: double
          description: The following pose parameters pertain to the center of the photo. They match https://developers.google.com/streetview/spherical-metadata. Compass heading, measured at the center of the photo in degrees clockwise from North. Value must be >=0 and <360. NaN indicates an unmeasured quantity.
        level:
          $ref: '#/components/schemas/Level'
          description: Level (the floor in a building) used to configure vertical navigation.
        pitch:
          description: Pitch, measured at the center of the photo in degrees. Value must be >=-90 and <= 90. A value of -90 means looking directly down, and a value of 90 means looking directly up. NaN indicates an unmeasured quantity.
          type: number
          format: double
        accuracyMeters:
          format: float
          description: 'The estimated horizontal accuracy of this pose in meters with 68% confidence (one standard deviation). For example, on Android, this value is available from this method: https://developer.android.com/reference/android/location/Location#getAccuracy(). Other platforms have different methods of obtaining similar accuracy estimations.'
          type: number
        gpsRecordTimestampUnixEpoch:
          description: Time of the GPS record since UTC epoch.
          type: string
          format: google-datetime
        altitude:
          type: number
          description: Altitude of the pose in meters above WGS84 ellipsoid. NaN indicates an unmeasured quantity.
          format: double
      type: object
      description: Raw pose measurement for an entity.
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    PhotoId:
      type: object
      description: Identifier for a Photo.
      properties:
        id:
          description: A unique identifier for a photo.
          type: string
    InsufficientGpsFailureDetails:
      type: object
      properties:
        gpsPointsFound:
          description: The number of GPS points that were found in the video.
          format: int32
          type: integer
      description: Details related to ProcessingFailureReason#INSUFFICIENT_GPS.
    LatLng:
      description: An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.
      type: object
      properties:
        longitude:
          type: number
          description: The longitude in degrees. It must be in the range [-180.0, +180.0].
          format: double
        latitude:
          type: number
          format: double
          description: The latitude in degrees. It must be in the range [-90.0, +90.0].
    GpsDataGapFailureDetails:
      properties:
        gapStartTime:
          format: google-duration
          type: string
          description: Relative time (from the start of the video stream) when the gap started.
        gapDuration:
          format: google-duration
          type: string
          description: The duration of the gap in GPS data that was found.
      description: Details related to ProcessingFailureReason#GPS_DATA_GAP. If there are multiple GPS data gaps, only the one with the largest duration is reported here.
      type: object
    Level:
      type: object
      description: Level information containing level number and its corresponding name.
      properties:
        number:
          description: Optional. Floor number, used for ordering. 0 indicates the ground level, 1 indicates the first level above ground level, -1 indicates the first level under ground level. Non-integer values are OK.
          type: number
          format: double
        name:
          description: Required. A name assigned to this Level, restricted to 3 characters. Consider how the elevator buttons would be labeled for this level if there was an elevator.
          type: string
    ProcessingFailureDetails:
      properties:
        notOutdoorsDetails:
          $ref: '#/components/schemas/NotOutdoorsFailureDetails'
          description: See NotOutdoorsFailureDetails.
        noOverlapGpsDetails:
          $ref: '#/components/schemas/NoOverlapGpsFailureDetails'
          description: See NoOverlapGpsFailureDetails.
        gpsDataGapDetails:
          $ref: '#/components/schemas/GpsDataGapFailureDetails'
          description: See GpsDataGapFailureDetails.
        imuDataGapDetails:
          $ref: '#/components/schemas/ImuDataGapFailureDetails'
          description: See ImuDataGapFailureDetails.
        insufficientGpsDetails:
          $ref: '#/components/schemas/InsufficientGpsFailureDetails'
          description: See InsufficientGpsFailureDetails.
      type: object
      description: Additional details to accompany the ProcessingFailureReason enum. This message is always expected to be used in conjunction with ProcessingFailureReason, and the oneof value set in this message should match the FailureReason.
    Measurement3d:
      type: object
      properties:
        captureTime:
          type: string
          description: The timestamp of the IMU measurement.
          format: google-datetime
        x:
          type: number
          description: The sensor measurement in the x axis.
          format: float
        y:
          description: The sensor measurement in the y axis.
          format: float
          type: number
        z:
          format: float
          description: The sensor measurement in the z axis.
          type: number
      description: A Generic 3d measurement sample.
    PhotoSequence:
      type: object
      properties:
        failureDetails:
          $ref: '#/components/schemas/ProcessingFailureDetails'
          description: Output only. If this sequence has `failure_reason` set, this may contain additional details about the failure.
        gpsSource:
          type: string
          description: Input only. If both raw_gps_timeline and the Camera Motion Metadata Track (CAMM) contain GPS measurements, indicate which takes precedence.
          enum:
          - PHOTO_SEQUENCE
          - CAMERA_MOTION_METADATA_TRACK
        imu:
          $ref: '#/components/schemas/Imu'
          description: Input only. Three axis IMU data for the collection. If this data is too large to put in the request, then it should be put in the CAMM track for the video. This data always takes precedence over the equivalent CAMM data, if it exists.
        uploadReference:
          $ref: '#/components/schemas/UploadRef'
          description: Input only. Required when creating photo sequence. The resource name where the bytes of the photo sequence (in the form of video) are uploaded.
        viewCount:
          readOnly: true
          format: int64
          description: Output only. The total number of views that all the published images in this PhotoSequence have received.
          type: string
        uploadTime:
          readOnly: true
          type: string
          description: Output only. The time this photo sequence was created in uSV Store service.
          format: google-datetime
        captureTimeOverride:
          type: string
          description: Optional. Absolute time when the photo sequence starts to be captured. If the photo sequence is a video, this is the start time of the video. If this field is populated in input, it overrides the capture time in the video or XDM file.
          format: google-datetime
        id:
          readOnly: true
          type: string
          description: Output only. Unique identifier for the photo sequence. This also acts as a long running operation ID if uploading is performed asynchronously.
        sequenceBounds:
          $ref: '#/components/schemas/LatLngBounds'
          description: Output only. A rectangular box that encapsulates every image in this photo sequence.
        photos:
          items:
            $ref: '#/components/schemas/Photo'
          readOnly: true
          description: Output only. Photos with increasing timestamps.
          type: array
        processingState:
          enum:
          - PROCESSING_STATE_UNSPECIFIED
          - PENDING
          - PROCESSING
          - PROCESSED
          - FAILED
          type: string
          description: Output only. The processing state of this sequence.
          readOnly: true
        filename:
          description: Output only. The filename of the upload. Does not include the directory path. Only available if the sequence was uploaded on a platform that provides the filename.
          readOnly: true
          type: string
        distanceMeters:
          format: double
          readOnly: true
          description: Output only. The computed distance of the photo sequence in meters.
          type: number
        failureReason:
          description: Output only. If this sequence has processing_state = FAILED, this will contain the reason why it failed. If the processing_state is any other value, this field will be unset.
          readOnly: true
          type: string
          enum:
          - PROCESSING_FAILURE_REASON_UNSPECIFIED
          - LOW_RESOLUTION
          - DUPLICATE
          - INSUFFICIENT_GPS
          - NO_OVERLAP_GPS
          - INVALID_GPS
          - FAILED_TO_REFINE_POSITIONS
          - TAKEDOWN
          - CORRUPT_VIDEO
          - INTERNAL
          - INVALID_VIDEO_FORMAT
          - INVALID_VIDEO_DIMENSIONS
          - INVALID_CAPTURE_TIME
          - GPS_DATA_GAP
          - JUMPY_GPS
          - INVALID_IMU
          - INSUFFICIENT_IMU
          - INSUFFICIENT_OVERLAP_TIME_SERIES
          - IMU_DATA_GAP
          - UNSUPPORTED_CAMERA
          - NOT_OUTDOORS
          - INSUFFICIENT_VIDEO_FRAMES
          - INSUFFICIENT_MOVEMENT
          - MAST_DOWN
          - CAMERA_COVERED
        rawGpsTimeline:
          type: array
          description: Input only. Raw GPS measurements with increasing timestamps from the device that aren't time synced with each photo. These raw measurements will be used to infer the pose of each frame. Required in input when InputType is VIDEO and raw GPS measurements are not in Camera Motion Metadata Track (CAMM). User can indicate which takes precedence using gps_source if raw GPS measurements are provided in both raw_gps_timeline and Camera Motion Metadata Track (CAMM).
          items:
            $ref: '#/components/schemas/Pose'
      description: A sequence of 360 photos along with metadata.
    ImuDataGapFailureDetails:
      type: object
      properties:
        gapDuration:
          type: string
          description: The duration of the gap in IMU data that was found.
          format: google-duration
        gapStartTime:
          description: Relative time (from the start of the video stream) when the gap started.
          format: google-duration
          type: string
      description: Details related to ProcessingFailureReason#IMU_DATA_GAP. If there are multiple IMU data gaps, only the one with the largest duration is reported here.
    LatLngBounds:
      properties:
        southwest:
          $ref: '#/components/schemas/LatLng'
          description: The southwest corner of these bounds.
        northeast:
          $ref: '#/components/schemas/LatLng'
          description: The northeast corner of these bounds.
      type: object
      description: A rectangle in geographical coordinates.
    Operation:
      properties:
        metadata:
          additionalProperties:
            description: Properties of the object. Contains field @type with type URL.
          description: Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
          type: object
        error:
          $ref: '#/components/schemas/Status'
          description: The error result of the operation in case of failure or cancellation.
        done:
          type: boolean
          description: If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
        response:
          description: The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
          type: object
          additionalProperties:
            description: Properties of the object. Contains field @type with type URL.
        name:
          description: The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
          type: string
      description: This resource represents a long-running operation that is the result of a network API call.
      type: object
    UploadRef:
      description: Upload reference for media files.
      properties:
        uploadUrl:
          type: string
          description: 'An upload reference should be unique for each user. It follows the form: "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"'
      type: object
    Empty:
      description: 'A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }'
      type: object
      properties: {}
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/streetviewpublish: Publish and manage your 360 photos on Google Street View
externalDocs:
  url: https://developers.google.com/streetview/publish/
x-provenance:
  method: harvested
  publisher: Google
  source: https://streetviewpublish.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261110)