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

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

Attributes

  • captureTime (type: DateTime.t, default: nil) - 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) - 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. Not currently populated.
  • photoId (type: GoogleApi.StreetViewPublish.V1.Model.PhotoId.t, default: nil) - 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) - Places where this photo belongs.
  • pose (type: GoogleApi.StreetViewPublish.V1.Model.Pose.t, default: nil) - 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) - Required when creating a photo. Input only. The resource URL where the photo bytes are uploaded to.
  • uploadTime (type: DateTime.t, default: nil) - Time when the image was uploaded.
  • viewCount (type: String.t, default: nil) - Output only. View count of the photo.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.