google-apis-streetviewpublish_v1 0.18.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28447555ba60cf1d83e68525449660d5ced0d3d3cc37a46ec6b192db449f6b34
4
- data.tar.gz: 7eb4ed7fae8578b1a8df9716baca4483abde5c42a1e3243344f14c80bb0c6ee1
3
+ metadata.gz: fedc15573a4cf763c248334ddd08017a9f7873ee9ad6f1f1a0e3a909d903564c
4
+ data.tar.gz: a34d4d1cb5c32ccce9f8c4ee5b253adadb2feee0c1e64a840806ab49913c2439
5
5
  SHA512:
6
- metadata.gz: 310d9fdd6ec64e5414f879726114d738961470a3240bf47dbdf623cb3bc7bfc80ef2267e4f9900abc21420b4cbe8226a902cf80823c7697bc5086cf6d23939f1
7
- data.tar.gz: 0c6816b41d50e0d7db32b19840761ae41547851b044435279172e0074a876cdca34a3ae851187b0bc36d56deb48b9eb8f309210213de54bacf1d4048078d6872
6
+ metadata.gz: a1b4a34e322199bdbd5c7118767ba641c8d5f2ae524ac5efeadd2a65e63728b6cb2cd076ddc8ac98e2ae33ded9c6bd55c7299b1f6f9172220776c0067f444457
7
+ data.tar.gz: '05590745f7e67e4dd01720267fe125881984a50c7182f33dc5de33c214e67d3e6ad2757fd1fcbce1bd23115c9be15560678b7f936478f3746acf92299d498457'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-streetviewpublish_v1
2
2
 
3
+ ### v0.21.0 (2022-07-22)
4
+
5
+ * Regenerated from discovery document revision 20220720
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.20.0 (2022-07-03)
9
+
10
+ * Regenerated from discovery document revision 20220630
11
+ * Regenerated using generator version 0.8.0
12
+
13
+ ### v0.19.0 (2022-06-25)
14
+
15
+ * Regenerated from discovery document revision 20220623
16
+
3
17
  ### v0.18.0 (2022-06-18)
4
18
 
5
19
  * Regenerated using generator version 0.7.0
@@ -156,6 +156,111 @@ module Google
156
156
  end
157
157
  end
158
158
 
159
+ # Details related to ProcessingFailureReason#GPS_DATA_GAP. If there are multiple
160
+ # GPS data gaps, only the one with the largest duration is reported here.
161
+ class GpsDataGapFailureDetails
162
+ include Google::Apis::Core::Hashable
163
+
164
+ # The duration of the gap in GPS data that was found.
165
+ # Corresponds to the JSON property `gapDuration`
166
+ # @return [String]
167
+ attr_accessor :gap_duration
168
+
169
+ # Relative time (from the start of the video stream) when the gap started.
170
+ # Corresponds to the JSON property `gapStartTime`
171
+ # @return [String]
172
+ attr_accessor :gap_start_time
173
+
174
+ def initialize(**args)
175
+ update!(**args)
176
+ end
177
+
178
+ # Update properties of this object
179
+ def update!(**args)
180
+ @gap_duration = args[:gap_duration] if args.key?(:gap_duration)
181
+ @gap_start_time = args[:gap_start_time] if args.key?(:gap_start_time)
182
+ end
183
+ end
184
+
185
+ # IMU data from the device sensors.
186
+ class Imu
187
+ include Google::Apis::Core::Hashable
188
+
189
+ # The accelerometer measurements in meters/sec^2 with increasing timestamps from
190
+ # devices.
191
+ # Corresponds to the JSON property `accelMpsps`
192
+ # @return [Array<Google::Apis::StreetviewpublishV1::Measurement3d>]
193
+ attr_accessor :accel_mpsps
194
+
195
+ # The gyroscope measurements in radians/sec with increasing timestamps from
196
+ # devices.
197
+ # Corresponds to the JSON property `gyroRps`
198
+ # @return [Array<Google::Apis::StreetviewpublishV1::Measurement3d>]
199
+ attr_accessor :gyro_rps
200
+
201
+ # The magnetometer measurements of the magnetic field in microtesla (uT) with
202
+ # increasing timestamps from devices.
203
+ # Corresponds to the JSON property `magUt`
204
+ # @return [Array<Google::Apis::StreetviewpublishV1::Measurement3d>]
205
+ attr_accessor :mag_ut
206
+
207
+ def initialize(**args)
208
+ update!(**args)
209
+ end
210
+
211
+ # Update properties of this object
212
+ def update!(**args)
213
+ @accel_mpsps = args[:accel_mpsps] if args.key?(:accel_mpsps)
214
+ @gyro_rps = args[:gyro_rps] if args.key?(:gyro_rps)
215
+ @mag_ut = args[:mag_ut] if args.key?(:mag_ut)
216
+ end
217
+ end
218
+
219
+ # Details related to ProcessingFailureReason#IMU_DATA_GAP. If there are multiple
220
+ # IMU data gaps, only the one with the largest duration is reported here.
221
+ class ImuDataGapFailureDetails
222
+ include Google::Apis::Core::Hashable
223
+
224
+ # The duration of the gap in IMU data that was found.
225
+ # Corresponds to the JSON property `gapDuration`
226
+ # @return [String]
227
+ attr_accessor :gap_duration
228
+
229
+ # Relative time (from the start of the video stream) when the gap started.
230
+ # Corresponds to the JSON property `gapStartTime`
231
+ # @return [String]
232
+ attr_accessor :gap_start_time
233
+
234
+ def initialize(**args)
235
+ update!(**args)
236
+ end
237
+
238
+ # Update properties of this object
239
+ def update!(**args)
240
+ @gap_duration = args[:gap_duration] if args.key?(:gap_duration)
241
+ @gap_start_time = args[:gap_start_time] if args.key?(:gap_start_time)
242
+ end
243
+ end
244
+
245
+ # Details related to ProcessingFailureReason#INSUFFICIENT_GPS.
246
+ class InsufficientGpsFailureDetails
247
+ include Google::Apis::Core::Hashable
248
+
249
+ # The number of GPS points that were found in the video.
250
+ # Corresponds to the JSON property `gpsPointsFound`
251
+ # @return [Fixnum]
252
+ attr_accessor :gps_points_found
253
+
254
+ def initialize(**args)
255
+ update!(**args)
256
+ end
257
+
258
+ # Update properties of this object
259
+ def update!(**args)
260
+ @gps_points_found = args[:gps_points_found] if args.key?(:gps_points_found)
261
+ end
262
+ end
263
+
159
264
  # An object that represents a latitude/longitude pair. This is expressed as a
160
265
  # pair of doubles to represent degrees latitude and degrees longitude. Unless
161
266
  # specified otherwise, this object must conform to the WGS84 standard. Values
@@ -184,6 +289,37 @@ module Google
184
289
  end
185
290
  end
186
291
 
292
+ # A rectangle in geographical coordinates.
293
+ class LatLngBounds
294
+ include Google::Apis::Core::Hashable
295
+
296
+ # An object that represents a latitude/longitude pair. This is expressed as a
297
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
298
+ # specified otherwise, this object must conform to the WGS84 standard. Values
299
+ # must be within normalized ranges.
300
+ # Corresponds to the JSON property `northeast`
301
+ # @return [Google::Apis::StreetviewpublishV1::LatLng]
302
+ attr_accessor :northeast
303
+
304
+ # An object that represents a latitude/longitude pair. This is expressed as a
305
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
306
+ # specified otherwise, this object must conform to the WGS84 standard. Values
307
+ # must be within normalized ranges.
308
+ # Corresponds to the JSON property `southwest`
309
+ # @return [Google::Apis::StreetviewpublishV1::LatLng]
310
+ attr_accessor :southwest
311
+
312
+ def initialize(**args)
313
+ update!(**args)
314
+ end
315
+
316
+ # Update properties of this object
317
+ def update!(**args)
318
+ @northeast = args[:northeast] if args.key?(:northeast)
319
+ @southwest = args[:southwest] if args.key?(:southwest)
320
+ end
321
+ end
322
+
187
323
  # Level information containing level number and its corresponding name.
188
324
  class Level
189
325
  include Google::Apis::Core::Hashable
@@ -213,6 +349,38 @@ module Google
213
349
  end
214
350
  end
215
351
 
352
+ # Response to list all photo sequences that belong to a user.
353
+ class ListPhotoSequencesResponse
354
+ include Google::Apis::Core::Hashable
355
+
356
+ # Token to retrieve the next page of results, or empty if there are no more
357
+ # results in the list.
358
+ # Corresponds to the JSON property `nextPageToken`
359
+ # @return [String]
360
+ attr_accessor :next_page_token
361
+
362
+ # List of photo sequences via Operation interface. The maximum number of items
363
+ # returned is based on the pageSize field in the request. Each item in the list
364
+ # can have three possible states, * `Operation.done` = false, if the processing
365
+ # of PhotoSequence is not finished yet. * `Operation.done` = true and `Operation.
366
+ # error` is populated, if there was an error in processing. * `Operation.done` =
367
+ # true and `Operation.response` contains a PhotoSequence message, In each
368
+ # sequence, only Id is populated.
369
+ # Corresponds to the JSON property `photoSequences`
370
+ # @return [Array<Google::Apis::StreetviewpublishV1::Operation>]
371
+ attr_accessor :photo_sequences
372
+
373
+ def initialize(**args)
374
+ update!(**args)
375
+ end
376
+
377
+ # Update properties of this object
378
+ def update!(**args)
379
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
380
+ @photo_sequences = args[:photo_sequences] if args.key?(:photo_sequences)
381
+ end
382
+ end
383
+
216
384
  # Response to list all photos that belong to a user.
217
385
  class ListPhotosResponse
218
386
  include Google::Apis::Core::Hashable
@@ -240,6 +408,64 @@ module Google
240
408
  end
241
409
  end
242
410
 
411
+ # A Generic 3d measurement sample.
412
+ class Measurement3d
413
+ include Google::Apis::Core::Hashable
414
+
415
+ # The timestamp of the IMU measurement.
416
+ # Corresponds to the JSON property `captureTime`
417
+ # @return [String]
418
+ attr_accessor :capture_time
419
+
420
+ # The sensor measurement in the x axis.
421
+ # Corresponds to the JSON property `x`
422
+ # @return [Float]
423
+ attr_accessor :x
424
+
425
+ # The sensor measurement in the y axis.
426
+ # Corresponds to the JSON property `y`
427
+ # @return [Float]
428
+ attr_accessor :y
429
+
430
+ # The sensor measurement in the z axis.
431
+ # Corresponds to the JSON property `z`
432
+ # @return [Float]
433
+ attr_accessor :z
434
+
435
+ def initialize(**args)
436
+ update!(**args)
437
+ end
438
+
439
+ # Update properties of this object
440
+ def update!(**args)
441
+ @capture_time = args[:capture_time] if args.key?(:capture_time)
442
+ @x = args[:x] if args.key?(:x)
443
+ @y = args[:y] if args.key?(:y)
444
+ @z = args[:z] if args.key?(:z)
445
+ end
446
+ end
447
+
448
+ # Details related to ProcessingFailureReason#NOT_OUTDOORS. If there are multiple
449
+ # indoor frames found, the first frame is recorded here.
450
+ class NotOutdoorsFailureDetails
451
+ include Google::Apis::Core::Hashable
452
+
453
+ # Relative time (from the start of the video stream) when an indoor frame was
454
+ # found.
455
+ # Corresponds to the JSON property `startTime`
456
+ # @return [String]
457
+ attr_accessor :start_time
458
+
459
+ def initialize(**args)
460
+ update!(**args)
461
+ end
462
+
463
+ # Update properties of this object
464
+ def update!(**args)
465
+ @start_time = args[:start_time] if args.key?(:start_time)
466
+ end
467
+ end
468
+
243
469
  # This resource represents a long-running operation that is the result of a
244
470
  # network API call.
245
471
  class Operation
@@ -447,6 +673,125 @@ module Google
447
673
  end
448
674
  end
449
675
 
676
+ # A sequence of 360 photos along with metadata.
677
+ class PhotoSequence
678
+ include Google::Apis::Core::Hashable
679
+
680
+ # Optional. Absolute time when the photo sequence starts to be captured. If the
681
+ # photo sequence is a video, this is the start time of the video. If this field
682
+ # is populated in input, it overrides the capture time in the video or XDM file.
683
+ # Corresponds to the JSON property `captureTimeOverride`
684
+ # @return [String]
685
+ attr_accessor :capture_time_override
686
+
687
+ # Output only. The computed distance of the photo sequence in meters.
688
+ # Corresponds to the JSON property `distanceMeters`
689
+ # @return [Float]
690
+ attr_accessor :distance_meters
691
+
692
+ # Additional details to accompany the ProcessingFailureReason enum. This message
693
+ # is always expected to be used in conjunction with ProcessingFailureReason, and
694
+ # the oneof value set in this message should match the FailureReason.
695
+ # Corresponds to the JSON property `failureDetails`
696
+ # @return [Google::Apis::StreetviewpublishV1::ProcessingFailureDetails]
697
+ attr_accessor :failure_details
698
+
699
+ # Output only. If this sequence has processing_state = FAILED, this will contain
700
+ # the reason why it failed. If the processing_state is any other value, this
701
+ # field will be unset.
702
+ # Corresponds to the JSON property `failureReason`
703
+ # @return [String]
704
+ attr_accessor :failure_reason
705
+
706
+ # Output only. The filename of the upload. Does not include the directory path.
707
+ # Only available if the sequence was uploaded on a platform that provides the
708
+ # filename.
709
+ # Corresponds to the JSON property `filename`
710
+ # @return [String]
711
+ attr_accessor :filename
712
+
713
+ # Input only. If both raw_gps_timeline and the Camera Motion Metadata Track (
714
+ # CAMM) contain GPS measurements, indicate which takes precedence.
715
+ # Corresponds to the JSON property `gpsSource`
716
+ # @return [String]
717
+ attr_accessor :gps_source
718
+
719
+ # Output only. Unique identifier for the photo sequence. This also acts as a
720
+ # long running operation ID if uploading is performed asynchronously.
721
+ # Corresponds to the JSON property `id`
722
+ # @return [String]
723
+ attr_accessor :id
724
+
725
+ # IMU data from the device sensors.
726
+ # Corresponds to the JSON property `imu`
727
+ # @return [Google::Apis::StreetviewpublishV1::Imu]
728
+ attr_accessor :imu
729
+
730
+ # Output only. Photos with increasing timestamps.
731
+ # Corresponds to the JSON property `photos`
732
+ # @return [Array<Google::Apis::StreetviewpublishV1::Photo>]
733
+ attr_accessor :photos
734
+
735
+ # Output only. The processing state of this sequence.
736
+ # Corresponds to the JSON property `processingState`
737
+ # @return [String]
738
+ attr_accessor :processing_state
739
+
740
+ # Input only. Raw GPS measurements with increasing timestamps from the device
741
+ # that aren't time synced with each photo. These raw measurements will be used
742
+ # to infer the pose of each frame. Required in input when InputType is VIDEO and
743
+ # raw GPS measurements are not in Camera Motion Metadata Track (CAMM). User can
744
+ # indicate which takes precedence using gps_source if raw GPS measurements are
745
+ # provided in both raw_gps_timeline and Camera Motion Metadata Track (CAMM).
746
+ # Corresponds to the JSON property `rawGpsTimeline`
747
+ # @return [Array<Google::Apis::StreetviewpublishV1::Pose>]
748
+ attr_accessor :raw_gps_timeline
749
+
750
+ # A rectangle in geographical coordinates.
751
+ # Corresponds to the JSON property `sequenceBounds`
752
+ # @return [Google::Apis::StreetviewpublishV1::LatLngBounds]
753
+ attr_accessor :sequence_bounds
754
+
755
+ # Upload reference for media files.
756
+ # Corresponds to the JSON property `uploadReference`
757
+ # @return [Google::Apis::StreetviewpublishV1::UploadRef]
758
+ attr_accessor :upload_reference
759
+
760
+ # Output only. The time this photo sequence was created in uSV Store service.
761
+ # Corresponds to the JSON property `uploadTime`
762
+ # @return [String]
763
+ attr_accessor :upload_time
764
+
765
+ # Output only. The total number of views that all the published images in this
766
+ # PhotoSequence have received.
767
+ # Corresponds to the JSON property `viewCount`
768
+ # @return [Fixnum]
769
+ attr_accessor :view_count
770
+
771
+ def initialize(**args)
772
+ update!(**args)
773
+ end
774
+
775
+ # Update properties of this object
776
+ def update!(**args)
777
+ @capture_time_override = args[:capture_time_override] if args.key?(:capture_time_override)
778
+ @distance_meters = args[:distance_meters] if args.key?(:distance_meters)
779
+ @failure_details = args[:failure_details] if args.key?(:failure_details)
780
+ @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
781
+ @filename = args[:filename] if args.key?(:filename)
782
+ @gps_source = args[:gps_source] if args.key?(:gps_source)
783
+ @id = args[:id] if args.key?(:id)
784
+ @imu = args[:imu] if args.key?(:imu)
785
+ @photos = args[:photos] if args.key?(:photos)
786
+ @processing_state = args[:processing_state] if args.key?(:processing_state)
787
+ @raw_gps_timeline = args[:raw_gps_timeline] if args.key?(:raw_gps_timeline)
788
+ @sequence_bounds = args[:sequence_bounds] if args.key?(:sequence_bounds)
789
+ @upload_reference = args[:upload_reference] if args.key?(:upload_reference)
790
+ @upload_time = args[:upload_time] if args.key?(:upload_time)
791
+ @view_count = args[:view_count] if args.key?(:view_count)
792
+ end
793
+ end
794
+
450
795
  # Place metadata for an entity.
451
796
  class Place
452
797
  include Google::Apis::Core::Hashable
@@ -499,6 +844,11 @@ module Google
499
844
  # @return [Float]
500
845
  attr_accessor :altitude
501
846
 
847
+ # Time of the GPS record since UTC epoch.
848
+ # Corresponds to the JSON property `gpsRecordTimestampUnixEpoch`
849
+ # @return [String]
850
+ attr_accessor :gps_record_timestamp_unix_epoch
851
+
502
852
  # The following pose parameters pertain to the center of the photo. They match
503
853
  # https://developers.google.com/streetview/spherical-metadata. Compass heading,
504
854
  # measured at the center of the photo in degrees clockwise from North. Value
@@ -541,6 +891,7 @@ module Google
541
891
  def update!(**args)
542
892
  @accuracy_meters = args[:accuracy_meters] if args.key?(:accuracy_meters)
543
893
  @altitude = args[:altitude] if args.key?(:altitude)
894
+ @gps_record_timestamp_unix_epoch = args[:gps_record_timestamp_unix_epoch] if args.key?(:gps_record_timestamp_unix_epoch)
544
895
  @heading = args[:heading] if args.key?(:heading)
545
896
  @lat_lng_pair = args[:lat_lng_pair] if args.key?(:lat_lng_pair)
546
897
  @level = args[:level] if args.key?(:level)
@@ -549,6 +900,48 @@ module Google
549
900
  end
550
901
  end
551
902
 
903
+ # Additional details to accompany the ProcessingFailureReason enum. This message
904
+ # is always expected to be used in conjunction with ProcessingFailureReason, and
905
+ # the oneof value set in this message should match the FailureReason.
906
+ class ProcessingFailureDetails
907
+ include Google::Apis::Core::Hashable
908
+
909
+ # Details related to ProcessingFailureReason#GPS_DATA_GAP. If there are multiple
910
+ # GPS data gaps, only the one with the largest duration is reported here.
911
+ # Corresponds to the JSON property `gpsDataGapDetails`
912
+ # @return [Google::Apis::StreetviewpublishV1::GpsDataGapFailureDetails]
913
+ attr_accessor :gps_data_gap_details
914
+
915
+ # Details related to ProcessingFailureReason#IMU_DATA_GAP. If there are multiple
916
+ # IMU data gaps, only the one with the largest duration is reported here.
917
+ # Corresponds to the JSON property `imuDataGapDetails`
918
+ # @return [Google::Apis::StreetviewpublishV1::ImuDataGapFailureDetails]
919
+ attr_accessor :imu_data_gap_details
920
+
921
+ # Details related to ProcessingFailureReason#INSUFFICIENT_GPS.
922
+ # Corresponds to the JSON property `insufficientGpsDetails`
923
+ # @return [Google::Apis::StreetviewpublishV1::InsufficientGpsFailureDetails]
924
+ attr_accessor :insufficient_gps_details
925
+
926
+ # Details related to ProcessingFailureReason#NOT_OUTDOORS. If there are multiple
927
+ # indoor frames found, the first frame is recorded here.
928
+ # Corresponds to the JSON property `notOutdoorsDetails`
929
+ # @return [Google::Apis::StreetviewpublishV1::NotOutdoorsFailureDetails]
930
+ attr_accessor :not_outdoors_details
931
+
932
+ def initialize(**args)
933
+ update!(**args)
934
+ end
935
+
936
+ # Update properties of this object
937
+ def update!(**args)
938
+ @gps_data_gap_details = args[:gps_data_gap_details] if args.key?(:gps_data_gap_details)
939
+ @imu_data_gap_details = args[:imu_data_gap_details] if args.key?(:imu_data_gap_details)
940
+ @insufficient_gps_details = args[:insufficient_gps_details] if args.key?(:insufficient_gps_details)
941
+ @not_outdoors_details = args[:not_outdoors_details] if args.key?(:not_outdoors_details)
942
+ end
943
+ end
944
+
552
945
  # The `Status` type defines a logical error model that is suitable for different
553
946
  # programming environments, including REST APIs and RPC APIs. It is used by [
554
947
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module StreetviewpublishV1
18
18
  # Version of the google-apis-streetviewpublish_v1 gem
19
- GEM_VERSION = "0.18.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.7.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220319"
25
+ REVISION = "20220720"
26
26
  end
27
27
  end
28
28
  end
@@ -64,24 +64,72 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class GpsDataGapFailureDetails
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Imu
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ImuDataGapFailureDetails
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class InsufficientGpsFailureDetails
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
67
91
  class LatLng
68
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
93
 
70
94
  include Google::Apis::Core::JsonObjectSupport
71
95
  end
72
96
 
97
+ class LatLngBounds
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
73
103
  class Level
74
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
105
 
76
106
  include Google::Apis::Core::JsonObjectSupport
77
107
  end
78
108
 
109
+ class ListPhotoSequencesResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
79
115
  class ListPhotosResponse
80
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
117
 
82
118
  include Google::Apis::Core::JsonObjectSupport
83
119
  end
84
120
 
121
+ class Measurement3d
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class NotOutdoorsFailureDetails
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
85
133
  class Operation
86
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
135
 
@@ -106,6 +154,12 @@ module Google
106
154
  include Google::Apis::Core::JsonObjectSupport
107
155
  end
108
156
 
157
+ class PhotoSequence
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
109
163
  class Place
110
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
165
 
@@ -118,6 +172,12 @@ module Google
118
172
  include Google::Apis::Core::JsonObjectSupport
119
173
  end
120
174
 
175
+ class ProcessingFailureDetails
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
121
181
  class Status
122
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
183
 
@@ -189,6 +249,41 @@ module Google
189
249
  end
190
250
  end
191
251
 
252
+ class GpsDataGapFailureDetails
253
+ # @private
254
+ class Representation < Google::Apis::Core::JsonRepresentation
255
+ property :gap_duration, as: 'gapDuration'
256
+ property :gap_start_time, as: 'gapStartTime'
257
+ end
258
+ end
259
+
260
+ class Imu
261
+ # @private
262
+ class Representation < Google::Apis::Core::JsonRepresentation
263
+ collection :accel_mpsps, as: 'accelMpsps', class: Google::Apis::StreetviewpublishV1::Measurement3d, decorator: Google::Apis::StreetviewpublishV1::Measurement3d::Representation
264
+
265
+ collection :gyro_rps, as: 'gyroRps', class: Google::Apis::StreetviewpublishV1::Measurement3d, decorator: Google::Apis::StreetviewpublishV1::Measurement3d::Representation
266
+
267
+ collection :mag_ut, as: 'magUt', class: Google::Apis::StreetviewpublishV1::Measurement3d, decorator: Google::Apis::StreetviewpublishV1::Measurement3d::Representation
268
+
269
+ end
270
+ end
271
+
272
+ class ImuDataGapFailureDetails
273
+ # @private
274
+ class Representation < Google::Apis::Core::JsonRepresentation
275
+ property :gap_duration, as: 'gapDuration'
276
+ property :gap_start_time, as: 'gapStartTime'
277
+ end
278
+ end
279
+
280
+ class InsufficientGpsFailureDetails
281
+ # @private
282
+ class Representation < Google::Apis::Core::JsonRepresentation
283
+ property :gps_points_found, as: 'gpsPointsFound'
284
+ end
285
+ end
286
+
192
287
  class LatLng
193
288
  # @private
194
289
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -197,6 +292,16 @@ module Google
197
292
  end
198
293
  end
199
294
 
295
+ class LatLngBounds
296
+ # @private
297
+ class Representation < Google::Apis::Core::JsonRepresentation
298
+ property :northeast, as: 'northeast', class: Google::Apis::StreetviewpublishV1::LatLng, decorator: Google::Apis::StreetviewpublishV1::LatLng::Representation
299
+
300
+ property :southwest, as: 'southwest', class: Google::Apis::StreetviewpublishV1::LatLng, decorator: Google::Apis::StreetviewpublishV1::LatLng::Representation
301
+
302
+ end
303
+ end
304
+
200
305
  class Level
201
306
  # @private
202
307
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -205,6 +310,15 @@ module Google
205
310
  end
206
311
  end
207
312
 
313
+ class ListPhotoSequencesResponse
314
+ # @private
315
+ class Representation < Google::Apis::Core::JsonRepresentation
316
+ property :next_page_token, as: 'nextPageToken'
317
+ collection :photo_sequences, as: 'photoSequences', class: Google::Apis::StreetviewpublishV1::Operation, decorator: Google::Apis::StreetviewpublishV1::Operation::Representation
318
+
319
+ end
320
+ end
321
+
208
322
  class ListPhotosResponse
209
323
  # @private
210
324
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -214,6 +328,23 @@ module Google
214
328
  end
215
329
  end
216
330
 
331
+ class Measurement3d
332
+ # @private
333
+ class Representation < Google::Apis::Core::JsonRepresentation
334
+ property :capture_time, as: 'captureTime'
335
+ property :x, as: 'x'
336
+ property :y, as: 'y'
337
+ property :z, as: 'z'
338
+ end
339
+ end
340
+
341
+ class NotOutdoorsFailureDetails
342
+ # @private
343
+ class Representation < Google::Apis::Core::JsonRepresentation
344
+ property :start_time, as: 'startTime'
345
+ end
346
+ end
347
+
217
348
  class Operation
218
349
  # @private
219
350
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -267,6 +398,33 @@ module Google
267
398
  end
268
399
  end
269
400
 
401
+ class PhotoSequence
402
+ # @private
403
+ class Representation < Google::Apis::Core::JsonRepresentation
404
+ property :capture_time_override, as: 'captureTimeOverride'
405
+ property :distance_meters, as: 'distanceMeters'
406
+ property :failure_details, as: 'failureDetails', class: Google::Apis::StreetviewpublishV1::ProcessingFailureDetails, decorator: Google::Apis::StreetviewpublishV1::ProcessingFailureDetails::Representation
407
+
408
+ property :failure_reason, as: 'failureReason'
409
+ property :filename, as: 'filename'
410
+ property :gps_source, as: 'gpsSource'
411
+ property :id, as: 'id'
412
+ property :imu, as: 'imu', class: Google::Apis::StreetviewpublishV1::Imu, decorator: Google::Apis::StreetviewpublishV1::Imu::Representation
413
+
414
+ collection :photos, as: 'photos', class: Google::Apis::StreetviewpublishV1::Photo, decorator: Google::Apis::StreetviewpublishV1::Photo::Representation
415
+
416
+ property :processing_state, as: 'processingState'
417
+ collection :raw_gps_timeline, as: 'rawGpsTimeline', class: Google::Apis::StreetviewpublishV1::Pose, decorator: Google::Apis::StreetviewpublishV1::Pose::Representation
418
+
419
+ property :sequence_bounds, as: 'sequenceBounds', class: Google::Apis::StreetviewpublishV1::LatLngBounds, decorator: Google::Apis::StreetviewpublishV1::LatLngBounds::Representation
420
+
421
+ property :upload_reference, as: 'uploadReference', class: Google::Apis::StreetviewpublishV1::UploadRef, decorator: Google::Apis::StreetviewpublishV1::UploadRef::Representation
422
+
423
+ property :upload_time, as: 'uploadTime'
424
+ property :view_count, :numeric_string => true, as: 'viewCount'
425
+ end
426
+ end
427
+
270
428
  class Place
271
429
  # @private
272
430
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -281,6 +439,7 @@ module Google
281
439
  class Representation < Google::Apis::Core::JsonRepresentation
282
440
  property :accuracy_meters, as: 'accuracyMeters'
283
441
  property :altitude, as: 'altitude'
442
+ property :gps_record_timestamp_unix_epoch, as: 'gpsRecordTimestampUnixEpoch'
284
443
  property :heading, as: 'heading'
285
444
  property :lat_lng_pair, as: 'latLngPair', class: Google::Apis::StreetviewpublishV1::LatLng, decorator: Google::Apis::StreetviewpublishV1::LatLng::Representation
286
445
 
@@ -291,6 +450,20 @@ module Google
291
450
  end
292
451
  end
293
452
 
453
+ class ProcessingFailureDetails
454
+ # @private
455
+ class Representation < Google::Apis::Core::JsonRepresentation
456
+ property :gps_data_gap_details, as: 'gpsDataGapDetails', class: Google::Apis::StreetviewpublishV1::GpsDataGapFailureDetails, decorator: Google::Apis::StreetviewpublishV1::GpsDataGapFailureDetails::Representation
457
+
458
+ property :imu_data_gap_details, as: 'imuDataGapDetails', class: Google::Apis::StreetviewpublishV1::ImuDataGapFailureDetails, decorator: Google::Apis::StreetviewpublishV1::ImuDataGapFailureDetails::Representation
459
+
460
+ property :insufficient_gps_details, as: 'insufficientGpsDetails', class: Google::Apis::StreetviewpublishV1::InsufficientGpsFailureDetails, decorator: Google::Apis::StreetviewpublishV1::InsufficientGpsFailureDetails::Representation
461
+
462
+ property :not_outdoors_details, as: 'notOutdoorsDetails', class: Google::Apis::StreetviewpublishV1::NotOutdoorsFailureDetails, decorator: Google::Apis::StreetviewpublishV1::NotOutdoorsFailureDetails::Representation
463
+
464
+ end
465
+ end
466
+
294
467
  class Status
295
468
  # @private
296
469
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -261,6 +261,208 @@ module Google
261
261
  execute_or_queue_command(command, &block)
262
262
  end
263
263
 
264
+ # After the client finishes uploading the PhotoSequence with the returned
265
+ # UploadRef, CreatePhotoSequence extracts a sequence of 360 photos from a video
266
+ # or Extensible Device Metadata (XDM, http://www.xdm.org/) to be published to
267
+ # Street View on Google Maps. `CreatePhotoSequence` returns an Operation, with
268
+ # the PhotoSequence Id set in the `Operation.name` field. This method returns
269
+ # the following error codes: * google.rpc.Code.INVALID_ARGUMENT if the request
270
+ # is malformed. * google.rpc.Code.NOT_FOUND if the upload reference does not
271
+ # exist.
272
+ # @param [Google::Apis::StreetviewpublishV1::PhotoSequence] photo_sequence_object
273
+ # @param [String] input_type
274
+ # Required. The input form of PhotoSequence.
275
+ # @param [String] fields
276
+ # Selector specifying which fields to include in a partial response.
277
+ # @param [String] quota_user
278
+ # Available to use for quota purposes for server-side applications. Can be any
279
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
280
+ # @param [Google::Apis::RequestOptions] options
281
+ # Request-specific options
282
+ #
283
+ # @yield [result, err] Result & error if block supplied
284
+ # @yieldparam result [Google::Apis::StreetviewpublishV1::Operation] parsed result object
285
+ # @yieldparam err [StandardError] error object if request failed
286
+ #
287
+ # @return [Google::Apis::StreetviewpublishV1::Operation]
288
+ #
289
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
290
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
291
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
292
+ def create_photo_sequence(photo_sequence_object = nil, input_type: nil, fields: nil, quota_user: nil, options: nil, &block)
293
+ command = make_simple_command(:post, 'v1/photoSequence', options)
294
+ command.request_representation = Google::Apis::StreetviewpublishV1::PhotoSequence::Representation
295
+ command.request_object = photo_sequence_object
296
+ command.response_representation = Google::Apis::StreetviewpublishV1::Operation::Representation
297
+ command.response_class = Google::Apis::StreetviewpublishV1::Operation
298
+ command.query['inputType'] = input_type unless input_type.nil?
299
+ command.query['fields'] = fields unless fields.nil?
300
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
301
+ execute_or_queue_command(command, &block)
302
+ end
303
+
304
+ # Deletes a PhotoSequence and its metadata. This method returns the following
305
+ # error codes: * google.rpc.Code.PERMISSION_DENIED if the requesting user did
306
+ # not create the requested photo sequence. * google.rpc.Code.NOT_FOUND if the
307
+ # photo sequence ID does not exist. * google.rpc.Code.FAILED_PRECONDITION if the
308
+ # photo sequence ID is not yet finished processing.
309
+ # @param [String] sequence_id
310
+ # Required. ID of the PhotoSequence.
311
+ # @param [String] fields
312
+ # Selector specifying which fields to include in a partial response.
313
+ # @param [String] quota_user
314
+ # Available to use for quota purposes for server-side applications. Can be any
315
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
316
+ # @param [Google::Apis::RequestOptions] options
317
+ # Request-specific options
318
+ #
319
+ # @yield [result, err] Result & error if block supplied
320
+ # @yieldparam result [Google::Apis::StreetviewpublishV1::Empty] parsed result object
321
+ # @yieldparam err [StandardError] error object if request failed
322
+ #
323
+ # @return [Google::Apis::StreetviewpublishV1::Empty]
324
+ #
325
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
326
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
327
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
328
+ def delete_photo_sequence(sequence_id, fields: nil, quota_user: nil, options: nil, &block)
329
+ command = make_simple_command(:delete, 'v1/photoSequence/{sequenceId}', options)
330
+ command.response_representation = Google::Apis::StreetviewpublishV1::Empty::Representation
331
+ command.response_class = Google::Apis::StreetviewpublishV1::Empty
332
+ command.params['sequenceId'] = sequence_id unless sequence_id.nil?
333
+ command.query['fields'] = fields unless fields.nil?
334
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
335
+ execute_or_queue_command(command, &block)
336
+ end
337
+
338
+ # Gets the metadata of the specified PhotoSequence via the Operation interface.
339
+ # This method returns the following three types of responses: * `Operation.done`
340
+ # = false, if the processing of PhotoSequence is not finished yet. * `Operation.
341
+ # done` = true and `Operation.error` is populated, if there was an error in
342
+ # processing. * `Operation.done` = true and `Operation.response` is poulated,
343
+ # which contains a PhotoSequence message. This method returns the following
344
+ # error codes: * google.rpc.Code.PERMISSION_DENIED if the requesting user did
345
+ # not create the requested PhotoSequence. * google.rpc.Code.NOT_FOUND if the
346
+ # requested PhotoSequence does not exist.
347
+ # @param [String] sequence_id
348
+ # Required. ID of the photo sequence.
349
+ # @param [String] filter
350
+ # Optional. The filter expression. For example: `published_status=PUBLISHED`.
351
+ # The filters supported are: `published_status`. See https://google.aip.dev/160
352
+ # for more information.
353
+ # @param [String] view
354
+ # Specifies if a download URL for the photo sequence should be returned in `
355
+ # download_url` of individual photos in the PhotoSequence response. > Note:
356
+ # Currently not implemented.
357
+ # @param [String] fields
358
+ # Selector specifying which fields to include in a partial response.
359
+ # @param [String] quota_user
360
+ # Available to use for quota purposes for server-side applications. Can be any
361
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
362
+ # @param [Google::Apis::RequestOptions] options
363
+ # Request-specific options
364
+ #
365
+ # @yield [result, err] Result & error if block supplied
366
+ # @yieldparam result [Google::Apis::StreetviewpublishV1::Operation] parsed result object
367
+ # @yieldparam err [StandardError] error object if request failed
368
+ #
369
+ # @return [Google::Apis::StreetviewpublishV1::Operation]
370
+ #
371
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
372
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
373
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
374
+ def get_photo_sequence(sequence_id, filter: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
375
+ command = make_simple_command(:get, 'v1/photoSequence/{sequenceId}', options)
376
+ command.response_representation = Google::Apis::StreetviewpublishV1::Operation::Representation
377
+ command.response_class = Google::Apis::StreetviewpublishV1::Operation
378
+ command.params['sequenceId'] = sequence_id unless sequence_id.nil?
379
+ command.query['filter'] = filter unless filter.nil?
380
+ command.query['view'] = view unless view.nil?
381
+ command.query['fields'] = fields unless fields.nil?
382
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
383
+ execute_or_queue_command(command, &block)
384
+ end
385
+
386
+ # Creates an upload session to start uploading photo sequence data. The upload
387
+ # URL of the returned UploadRef is used to upload the data for the `
388
+ # photoSequence`. After the upload is complete, the UploadRef is used with
389
+ # CreatePhotoSequence to create the PhotoSequence object entry.
390
+ # @param [Google::Apis::StreetviewpublishV1::Empty] empty_object
391
+ # @param [String] fields
392
+ # Selector specifying which fields to include in a partial response.
393
+ # @param [String] quota_user
394
+ # Available to use for quota purposes for server-side applications. Can be any
395
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
396
+ # @param [Google::Apis::RequestOptions] options
397
+ # Request-specific options
398
+ #
399
+ # @yield [result, err] Result & error if block supplied
400
+ # @yieldparam result [Google::Apis::StreetviewpublishV1::UploadRef] parsed result object
401
+ # @yieldparam err [StandardError] error object if request failed
402
+ #
403
+ # @return [Google::Apis::StreetviewpublishV1::UploadRef]
404
+ #
405
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
406
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
407
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
408
+ def start_photo_sequence_upload(empty_object = nil, fields: nil, quota_user: nil, options: nil, &block)
409
+ command = make_simple_command(:post, 'v1/photoSequence:startUpload', options)
410
+ command.request_representation = Google::Apis::StreetviewpublishV1::Empty::Representation
411
+ command.request_object = empty_object
412
+ command.response_representation = Google::Apis::StreetviewpublishV1::UploadRef::Representation
413
+ command.response_class = Google::Apis::StreetviewpublishV1::UploadRef
414
+ command.query['fields'] = fields unless fields.nil?
415
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
416
+ execute_or_queue_command(command, &block)
417
+ end
418
+
419
+ # Lists all the PhotoSequences that belong to the user, in descending
420
+ # CreatePhotoSequence timestamp order.
421
+ # @param [String] filter
422
+ # Optional. The filter expression. For example: `imagery_type=SPHERICAL`. The
423
+ # filters supported are: `imagery_type`, `processing_state`, `min_latitude`, `
424
+ # max_latitude`, `min_longitude`, `max_longitude`, and `filename_query`. See
425
+ # https://google.aip.dev/160 for more information. Filename queries should sent
426
+ # as a Phrase in order to support multple words and special characters by adding
427
+ # escaped quotes. Ex: filename_query="example of a phrase.mp4"
428
+ # @param [Fixnum] page_size
429
+ # Optional. The maximum number of photo sequences to return. `pageSize` must be
430
+ # non-negative. If `pageSize` is zero or is not provided, the default page size
431
+ # of 100 is used. The number of photo sequences returned in the response may be
432
+ # less than `pageSize` if the number of matches is less than `pageSize`. This is
433
+ # currently unimplemented but is in process.
434
+ # @param [String] page_token
435
+ # Optional. The nextPageToken value returned from a previous ListPhotoSequences
436
+ # request, if any.
437
+ # @param [String] fields
438
+ # Selector specifying which fields to include in a partial response.
439
+ # @param [String] quota_user
440
+ # Available to use for quota purposes for server-side applications. Can be any
441
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
442
+ # @param [Google::Apis::RequestOptions] options
443
+ # Request-specific options
444
+ #
445
+ # @yield [result, err] Result & error if block supplied
446
+ # @yieldparam result [Google::Apis::StreetviewpublishV1::ListPhotoSequencesResponse] parsed result object
447
+ # @yieldparam err [StandardError] error object if request failed
448
+ #
449
+ # @return [Google::Apis::StreetviewpublishV1::ListPhotoSequencesResponse]
450
+ #
451
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
452
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
453
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
454
+ def list_photo_sequences(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
455
+ command = make_simple_command(:get, 'v1/photoSequences', options)
456
+ command.response_representation = Google::Apis::StreetviewpublishV1::ListPhotoSequencesResponse::Representation
457
+ command.response_class = Google::Apis::StreetviewpublishV1::ListPhotoSequencesResponse
458
+ command.query['filter'] = filter unless filter.nil?
459
+ command.query['pageSize'] = page_size unless page_size.nil?
460
+ command.query['pageToken'] = page_token unless page_token.nil?
461
+ command.query['fields'] = fields unless fields.nil?
462
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
463
+ execute_or_queue_command(command, &block)
464
+ end
465
+
264
466
  # Deletes a list of Photos and their metadata. Note that if BatchDeletePhotos
265
467
  # fails, either critical fields are missing or there is an authentication error.
266
468
  # Even if BatchDeletePhotos succeeds, individual photos in the batch may have
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-streetviewpublish_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-20 00:00:00.000000000 Z
11
+ date: 2022-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.6'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.6'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-streetviewpublish_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-streetviewpublish_v1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-streetviewpublish_v1/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-streetviewpublish_v1
63
63
  post_install_message:
64
64
  rdoc_options: []