View Source GoogleApi.StreetViewPublish.V1.Model.Photo (google_api_street_view_publish v0.20.0)

Photo is used to store 360 photos along with photo metadata.

Attributes

  • captureTime (type: DateTime.t, default: nil) - 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.
  • connections (type: list(GoogleApi.StreetViewPublish.V1.Model.Connection.t), default: nil) - Optional. Connections to other photos. A connection represents the link from this photo to another photo.
  • downloadUrl (type: String.t, default: nil) - Output only. The download URL for the photo bytes. This field is set only when GetPhotoRequest.view is set to PhotoView.INCLUDE_DOWNLOAD_URL.
  • mapsPublishStatus (type: String.t, default: nil) - Output only. Status in Google Maps, whether this photo was published or rejected.
  • photoId (type: GoogleApi.StreetViewPublish.V1.Model.PhotoId.t, default: nil) - 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.
  • places (type: list(GoogleApi.StreetViewPublish.V1.Model.Place.t), default: nil) - Optional. Places where this photo belongs.
  • pose (type: GoogleApi.StreetViewPublish.V1.Model.Pose.t, default: nil) - Optional. Pose of the photo.
  • shareLink (type: String.t, default: nil) - Output only. The share link for the photo.
  • thumbnailUrl (type: String.t, default: nil) - Output only. The thumbnail URL for showing a preview of the given photo.
  • transferStatus (type: String.t, default: nil) - Output only. Status of rights transfer on this photo.
  • uploadReference (type: GoogleApi.StreetViewPublish.V1.Model.UploadRef.t, default: nil) - Input only. Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
  • uploadTime (type: DateTime.t, default: nil) - Output only. Time when the image was uploaded.
  • viewCount (type: String.t, default: nil) - Output only. View count of the photo.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.StreetViewPublish.V1.Model.Photo{
  captureTime: DateTime.t() | nil,
  connections: [GoogleApi.StreetViewPublish.V1.Model.Connection.t()] | nil,
  downloadUrl: String.t() | nil,
  mapsPublishStatus: String.t() | nil,
  photoId: GoogleApi.StreetViewPublish.V1.Model.PhotoId.t() | nil,
  places: [GoogleApi.StreetViewPublish.V1.Model.Place.t()] | nil,
  pose: GoogleApi.StreetViewPublish.V1.Model.Pose.t() | nil,
  shareLink: String.t() | nil,
  thumbnailUrl: String.t() | nil,
  transferStatus: String.t() | nil,
  uploadReference: GoogleApi.StreetViewPublish.V1.Model.UploadRef.t() | nil,
  uploadTime: DateTime.t() | nil,
  viewCount: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.