class Google::Apis::StreetviewpublishV1::Photo
Photo
is used to store 360 photos along with photo metadata.
Attributes
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. Corresponds to the JSON property `captureTime` @return [String]
Connections to other photos. A connection represents the link from this photo to another photo. Corresponds to the JSON property `connections` @return [Array<Google::Apis::StreetviewpublishV1::Connection>]
Output only. The download URL for the photo bytes. This field is set only when GetPhotoRequest.view is set to PhotoView.INCLUDE_DOWNLOAD_URL. Corresponds to the JSON property `downloadUrl` @return [String]
Identifier for a Photo
. Corresponds to the JSON property `photoId` @return [Google::Apis::StreetviewpublishV1::PhotoId]
Places where this photo belongs. Corresponds to the JSON property `places` @return [Array<Google::Apis::StreetviewpublishV1::Place>]
Raw pose measurement for an entity. Corresponds to the JSON property `pose` @return [Google::Apis::StreetviewpublishV1::Pose]
Output only. The thumbnail URL for showing a preview of the given photo. Corresponds to the JSON property `thumbnailUrl` @return [String]
Output only. Status
of rights transfer on this photo. Corresponds to the JSON property `transferStatus` @return [String]
Upload reference for media files. Corresponds to the JSON property `uploadReference` @return [Google::Apis::StreetviewpublishV1::UploadRef]
Output only. View count of the photo. Corresponds to the JSON property `viewCount` @return [Fixnum]
Public Class Methods
# File lib/google/apis/streetviewpublish_v1/classes.rb, line 374 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/streetviewpublish_v1/classes.rb, line 379 def update!(**args) @capture_time = args[:capture_time] if args.key?(:capture_time) @connections = args[:connections] if args.key?(:connections) @download_url = args[:download_url] if args.key?(:download_url) @maps_publish_status = args[:maps_publish_status] if args.key?(:maps_publish_status) @photo_id = args[:photo_id] if args.key?(:photo_id) @places = args[:places] if args.key?(:places) @pose = args[:pose] if args.key?(:pose) @share_link = args[:share_link] if args.key?(:share_link) @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) @transfer_status = args[:transfer_status] if args.key?(:transfer_status) @upload_reference = args[:upload_reference] if args.key?(:upload_reference) @view_count = args[:view_count] if args.key?(:view_count) end