Class: Google::Apis::StreetviewpublishV1::PhotoSequence
- Inherits:
-
Object
- Object
- Google::Apis::StreetviewpublishV1::PhotoSequence
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/streetviewpublish_v1/classes.rb,
lib/google/apis/streetviewpublish_v1/representations.rb,
lib/google/apis/streetviewpublish_v1/representations.rb
Overview
A sequence of 360 photos along with metadata.
Instance Attribute Summary collapse
-
#capture_time_override ⇒ String
Optional.
-
#distance_meters ⇒ Float
Output only.
-
#failure_details ⇒ Google::Apis::StreetviewpublishV1::ProcessingFailureDetails
Additional details to accompany the ProcessingFailureReason enum.
-
#failure_reason ⇒ String
Output only.
-
#filename ⇒ String
Output only.
-
#gps_source ⇒ String
Input only.
-
#id ⇒ String
Output only.
-
#imu ⇒ Google::Apis::StreetviewpublishV1::Imu
IMU data from the device sensors.
-
#photos ⇒ Array<Google::Apis::StreetviewpublishV1::Photo>
Output only.
-
#processing_state ⇒ String
Output only.
-
#raw_gps_timeline ⇒ Array<Google::Apis::StreetviewpublishV1::Pose>
Input only.
-
#sequence_bounds ⇒ Google::Apis::StreetviewpublishV1::LatLngBounds
A rectangle in geographical coordinates.
-
#upload_reference ⇒ Google::Apis::StreetviewpublishV1::UploadRef
Upload reference for media files.
-
#upload_time ⇒ String
Output only.
-
#view_count ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PhotoSequence
constructor
A new instance of PhotoSequence.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PhotoSequence
Returns a new instance of PhotoSequence.
808 809 810 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 808 def initialize(**args) update!(**args) end |
Instance Attribute Details
#capture_time_override ⇒ String
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.
Corresponds to the JSON property captureTimeOverride
722 723 724 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 722 def capture_time_override @capture_time_override end |
#distance_meters ⇒ Float
Output only. The computed distance of the photo sequence in meters.
Corresponds to the JSON property distanceMeters
727 728 729 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 727 def distance_meters @distance_meters end |
#failure_details ⇒ Google::Apis::StreetviewpublishV1::ProcessingFailureDetails
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.
Corresponds to the JSON property failureDetails
734 735 736 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 734 def failure_details @failure_details end |
#failure_reason ⇒ String
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.
Corresponds to the JSON property failureReason
741 742 743 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 741 def failure_reason @failure_reason end |
#filename ⇒ String
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.
Corresponds to the JSON property filename
748 749 750 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 748 def filename @filename end |
#gps_source ⇒ String
Input only. If both raw_gps_timeline and the Camera Motion Metadata Track (
CAMM) contain GPS measurements, indicate which takes precedence.
Corresponds to the JSON property gpsSource
754 755 756 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 754 def gps_source @gps_source end |
#id ⇒ String
Output only. Unique identifier for the photo sequence. This also acts as a
long running operation ID if uploading is performed asynchronously.
Corresponds to the JSON property id
760 761 762 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 760 def id @id end |
#imu ⇒ Google::Apis::StreetviewpublishV1::Imu
IMU data from the device sensors.
Corresponds to the JSON property imu
765 766 767 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 765 def imu @imu end |
#photos ⇒ Array<Google::Apis::StreetviewpublishV1::Photo>
Output only. Photos with increasing timestamps.
Corresponds to the JSON property photos
770 771 772 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 770 def photos @photos end |
#processing_state ⇒ String
Output only. The processing state of this sequence.
Corresponds to the JSON property processingState
775 776 777 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 775 def processing_state @processing_state end |
#raw_gps_timeline ⇒ Array<Google::Apis::StreetviewpublishV1::Pose>
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).
Corresponds to the JSON property rawGpsTimeline
785 786 787 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 785 def raw_gps_timeline @raw_gps_timeline end |
#sequence_bounds ⇒ Google::Apis::StreetviewpublishV1::LatLngBounds
A rectangle in geographical coordinates.
Corresponds to the JSON property sequenceBounds
790 791 792 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 790 def sequence_bounds @sequence_bounds end |
#upload_reference ⇒ Google::Apis::StreetviewpublishV1::UploadRef
Upload reference for media files.
Corresponds to the JSON property uploadReference
795 796 797 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 795 def upload_reference @upload_reference end |
#upload_time ⇒ String
Output only. The time this photo sequence was created in uSV Store service.
Corresponds to the JSON property uploadTime
800 801 802 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 800 def upload_time @upload_time end |
#view_count ⇒ Fixnum
Output only. The total number of views that all the published images in this
PhotoSequence have received.
Corresponds to the JSON property viewCount
806 807 808 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 806 def view_count @view_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 813 def update!(**args) @capture_time_override = args[:capture_time_override] if args.key?(:capture_time_override) @distance_meters = args[:distance_meters] if args.key?(:distance_meters) @failure_details = args[:failure_details] if args.key?(:failure_details) @failure_reason = args[:failure_reason] if args.key?(:failure_reason) @filename = args[:filename] if args.key?(:filename) @gps_source = args[:gps_source] if args.key?(:gps_source) @id = args[:id] if args.key?(:id) @imu = args[:imu] if args.key?(:imu) @photos = args[:photos] if args.key?(:photos) @processing_state = args[:processing_state] if args.key?(:processing_state) @raw_gps_timeline = args[:raw_gps_timeline] if args.key?(:raw_gps_timeline) @sequence_bounds = args[:sequence_bounds] if args.key?(:sequence_bounds) @upload_reference = args[:upload_reference] if args.key?(:upload_reference) @upload_time = args[:upload_time] if args.key?(:upload_time) @view_count = args[:view_count] if args.key?(:view_count) end |