google-apis-streetviewpublish_v1 0.17.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/lib/google/apis/streetviewpublish_v1/classes.rb +387 -0
- data/lib/google/apis/streetviewpublish_v1/gem_version.rb +3 -3
- data/lib/google/apis/streetviewpublish_v1/representations.rb +173 -0
- data/lib/google/apis/streetviewpublish_v1/service.rb +202 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz: '
|
3
|
+
metadata.gz: f7bf716022232ff198ef220b76d41084a51a0d50defd2cbee112bb0d375ecfc9
|
4
|
+
data.tar.gz: '0810304e625e22c45d6281bec6a767692446af399587d08ffeb12eaddf209610'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ecaa6f49f5f759272b0f3e9a5ef8ffe06889f479a81bc753ae73a865c652b2eb3e47115e36afd426f9a190ec92dde4f259e96cab44a129e78641b5ed6622890
|
7
|
+
data.tar.gz: b6333a29bca41bd78e1e74a854b9eb0c345d9b639ec7180084fe85b9fa8264a736ee6381c92478b48ce798d2d4269d71ba2cb1d90ba149442c880082e3bb064c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-streetviewpublish_v1
|
2
2
|
|
3
|
+
### v0.20.0 (2022-07-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220630
|
6
|
+
* Regenerated using generator version 0.8.0
|
7
|
+
|
8
|
+
### v0.19.0 (2022-06-25)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220623
|
11
|
+
|
12
|
+
### v0.18.0 (2022-06-18)
|
13
|
+
|
14
|
+
* Regenerated using generator version 0.7.0
|
15
|
+
|
3
16
|
### v0.17.0 (2022-06-02)
|
4
17
|
|
5
18
|
* Unspecified changes
|
@@ -156,6 +156,109 @@ module Google
|
|
156
156
|
end
|
157
157
|
end
|
158
158
|
|
159
|
+
# Details related to ProcessingFailureReason#GPS_DATA_GAP.
|
160
|
+
class GpsDataGapFailureDetails
|
161
|
+
include Google::Apis::Core::Hashable
|
162
|
+
|
163
|
+
# The duration of the gap in GPS data that was found.
|
164
|
+
# Corresponds to the JSON property `gapDuration`
|
165
|
+
# @return [String]
|
166
|
+
attr_accessor :gap_duration
|
167
|
+
|
168
|
+
# Relative time (from the start of the video stream) when the gap started.
|
169
|
+
# Corresponds to the JSON property `gapTime`
|
170
|
+
# @return [String]
|
171
|
+
attr_accessor :gap_time
|
172
|
+
|
173
|
+
def initialize(**args)
|
174
|
+
update!(**args)
|
175
|
+
end
|
176
|
+
|
177
|
+
# Update properties of this object
|
178
|
+
def update!(**args)
|
179
|
+
@gap_duration = args[:gap_duration] if args.key?(:gap_duration)
|
180
|
+
@gap_time = args[:gap_time] if args.key?(:gap_time)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
# IMU data from the device sensors.
|
185
|
+
class Imu
|
186
|
+
include Google::Apis::Core::Hashable
|
187
|
+
|
188
|
+
# The accelerometer measurements in meters/sec^2 with increasing timestamps from
|
189
|
+
# devices.
|
190
|
+
# Corresponds to the JSON property `accelMpsps`
|
191
|
+
# @return [Array<Google::Apis::StreetviewpublishV1::Measurement3d>]
|
192
|
+
attr_accessor :accel_mpsps
|
193
|
+
|
194
|
+
# The gyroscope measurements in radians/sec with increasing timestamps from
|
195
|
+
# devices.
|
196
|
+
# Corresponds to the JSON property `gyroRps`
|
197
|
+
# @return [Array<Google::Apis::StreetviewpublishV1::Measurement3d>]
|
198
|
+
attr_accessor :gyro_rps
|
199
|
+
|
200
|
+
# The magnetometer measurements of the magnetic field in microtesla (uT) with
|
201
|
+
# increasing timestamps from devices.
|
202
|
+
# Corresponds to the JSON property `magUt`
|
203
|
+
# @return [Array<Google::Apis::StreetviewpublishV1::Measurement3d>]
|
204
|
+
attr_accessor :mag_ut
|
205
|
+
|
206
|
+
def initialize(**args)
|
207
|
+
update!(**args)
|
208
|
+
end
|
209
|
+
|
210
|
+
# Update properties of this object
|
211
|
+
def update!(**args)
|
212
|
+
@accel_mpsps = args[:accel_mpsps] if args.key?(:accel_mpsps)
|
213
|
+
@gyro_rps = args[:gyro_rps] if args.key?(:gyro_rps)
|
214
|
+
@mag_ut = args[:mag_ut] if args.key?(:mag_ut)
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
# Details related to ProcessingFailureReason#IMU_DATA_GAP.
|
219
|
+
class ImuDataGapFailureDetails
|
220
|
+
include Google::Apis::Core::Hashable
|
221
|
+
|
222
|
+
# The duration of the gap in IMU data that was found.
|
223
|
+
# Corresponds to the JSON property `gapDuration`
|
224
|
+
# @return [String]
|
225
|
+
attr_accessor :gap_duration
|
226
|
+
|
227
|
+
# Relative time (from the start of the video stream) when the gap started.
|
228
|
+
# Corresponds to the JSON property `gapTime`
|
229
|
+
# @return [String]
|
230
|
+
attr_accessor :gap_time
|
231
|
+
|
232
|
+
def initialize(**args)
|
233
|
+
update!(**args)
|
234
|
+
end
|
235
|
+
|
236
|
+
# Update properties of this object
|
237
|
+
def update!(**args)
|
238
|
+
@gap_duration = args[:gap_duration] if args.key?(:gap_duration)
|
239
|
+
@gap_time = args[:gap_time] if args.key?(:gap_time)
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
# Details related to ProcessingFailureReason#INSUFFICIENT_GPS.
|
244
|
+
class InsufficientGpsFailureDetails
|
245
|
+
include Google::Apis::Core::Hashable
|
246
|
+
|
247
|
+
# The number of GPS points that were found in the video.
|
248
|
+
# Corresponds to the JSON property `gpsPointsFound`
|
249
|
+
# @return [Fixnum]
|
250
|
+
attr_accessor :gps_points_found
|
251
|
+
|
252
|
+
def initialize(**args)
|
253
|
+
update!(**args)
|
254
|
+
end
|
255
|
+
|
256
|
+
# Update properties of this object
|
257
|
+
def update!(**args)
|
258
|
+
@gps_points_found = args[:gps_points_found] if args.key?(:gps_points_found)
|
259
|
+
end
|
260
|
+
end
|
261
|
+
|
159
262
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
160
263
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
161
264
|
# specified otherwise, this object must conform to the WGS84 standard. Values
|
@@ -184,6 +287,37 @@ module Google
|
|
184
287
|
end
|
185
288
|
end
|
186
289
|
|
290
|
+
# A rectangle in geographical coordinates.
|
291
|
+
class LatLngBounds
|
292
|
+
include Google::Apis::Core::Hashable
|
293
|
+
|
294
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
295
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
296
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
297
|
+
# must be within normalized ranges.
|
298
|
+
# Corresponds to the JSON property `northeast`
|
299
|
+
# @return [Google::Apis::StreetviewpublishV1::LatLng]
|
300
|
+
attr_accessor :northeast
|
301
|
+
|
302
|
+
# An object that represents a latitude/longitude pair. This is expressed as a
|
303
|
+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
304
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
305
|
+
# must be within normalized ranges.
|
306
|
+
# Corresponds to the JSON property `southwest`
|
307
|
+
# @return [Google::Apis::StreetviewpublishV1::LatLng]
|
308
|
+
attr_accessor :southwest
|
309
|
+
|
310
|
+
def initialize(**args)
|
311
|
+
update!(**args)
|
312
|
+
end
|
313
|
+
|
314
|
+
# Update properties of this object
|
315
|
+
def update!(**args)
|
316
|
+
@northeast = args[:northeast] if args.key?(:northeast)
|
317
|
+
@southwest = args[:southwest] if args.key?(:southwest)
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
187
321
|
# Level information containing level number and its corresponding name.
|
188
322
|
class Level
|
189
323
|
include Google::Apis::Core::Hashable
|
@@ -213,6 +347,38 @@ module Google
|
|
213
347
|
end
|
214
348
|
end
|
215
349
|
|
350
|
+
# Response to list all photo sequences that belong to a user.
|
351
|
+
class ListPhotoSequencesResponse
|
352
|
+
include Google::Apis::Core::Hashable
|
353
|
+
|
354
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
355
|
+
# results in the list.
|
356
|
+
# Corresponds to the JSON property `nextPageToken`
|
357
|
+
# @return [String]
|
358
|
+
attr_accessor :next_page_token
|
359
|
+
|
360
|
+
# List of photo sequences via Operation interface. The maximum number of items
|
361
|
+
# returned is based on the pageSize field in the request. Each item in the list
|
362
|
+
# can have three possible states, * `Operation.done` = false, if the processing
|
363
|
+
# of PhotoSequence is not finished yet. * `Operation.done` = true and `Operation.
|
364
|
+
# error` is populated, if there was an error in processing. * `Operation.done` =
|
365
|
+
# true and `Operation.response` contains a PhotoSequence message, In each
|
366
|
+
# sequence, only Id is populated.
|
367
|
+
# Corresponds to the JSON property `photoSequences`
|
368
|
+
# @return [Array<Google::Apis::StreetviewpublishV1::Operation>]
|
369
|
+
attr_accessor :photo_sequences
|
370
|
+
|
371
|
+
def initialize(**args)
|
372
|
+
update!(**args)
|
373
|
+
end
|
374
|
+
|
375
|
+
# Update properties of this object
|
376
|
+
def update!(**args)
|
377
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
378
|
+
@photo_sequences = args[:photo_sequences] if args.key?(:photo_sequences)
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
216
382
|
# Response to list all photos that belong to a user.
|
217
383
|
class ListPhotosResponse
|
218
384
|
include Google::Apis::Core::Hashable
|
@@ -240,6 +406,63 @@ module Google
|
|
240
406
|
end
|
241
407
|
end
|
242
408
|
|
409
|
+
# A Generic 3d measurement sample.
|
410
|
+
class Measurement3d
|
411
|
+
include Google::Apis::Core::Hashable
|
412
|
+
|
413
|
+
# The timestamp of the IMU measurement.
|
414
|
+
# Corresponds to the JSON property `captureTime`
|
415
|
+
# @return [String]
|
416
|
+
attr_accessor :capture_time
|
417
|
+
|
418
|
+
# The sensor measurement in the x axis.
|
419
|
+
# Corresponds to the JSON property `x`
|
420
|
+
# @return [Float]
|
421
|
+
attr_accessor :x
|
422
|
+
|
423
|
+
# The sensor measurement in the y axis.
|
424
|
+
# Corresponds to the JSON property `y`
|
425
|
+
# @return [Float]
|
426
|
+
attr_accessor :y
|
427
|
+
|
428
|
+
# The sensor measurement in the z axis.
|
429
|
+
# Corresponds to the JSON property `z`
|
430
|
+
# @return [Float]
|
431
|
+
attr_accessor :z
|
432
|
+
|
433
|
+
def initialize(**args)
|
434
|
+
update!(**args)
|
435
|
+
end
|
436
|
+
|
437
|
+
# Update properties of this object
|
438
|
+
def update!(**args)
|
439
|
+
@capture_time = args[:capture_time] if args.key?(:capture_time)
|
440
|
+
@x = args[:x] if args.key?(:x)
|
441
|
+
@y = args[:y] if args.key?(:y)
|
442
|
+
@z = args[:z] if args.key?(:z)
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
# Details related to ProcessingFailureReason#NOT_OUTDOORS.
|
447
|
+
class NotOutdoorsFailureDetails
|
448
|
+
include Google::Apis::Core::Hashable
|
449
|
+
|
450
|
+
# Relative time (from the start of the video stream) when an indoor frame was
|
451
|
+
# found.
|
452
|
+
# Corresponds to the JSON property `time`
|
453
|
+
# @return [String]
|
454
|
+
attr_accessor :time
|
455
|
+
|
456
|
+
def initialize(**args)
|
457
|
+
update!(**args)
|
458
|
+
end
|
459
|
+
|
460
|
+
# Update properties of this object
|
461
|
+
def update!(**args)
|
462
|
+
@time = args[:time] if args.key?(:time)
|
463
|
+
end
|
464
|
+
end
|
465
|
+
|
243
466
|
# This resource represents a long-running operation that is the result of a
|
244
467
|
# network API call.
|
245
468
|
class Operation
|
@@ -447,6 +670,125 @@ module Google
|
|
447
670
|
end
|
448
671
|
end
|
449
672
|
|
673
|
+
# A sequence of 360 photos along with metadata.
|
674
|
+
class PhotoSequence
|
675
|
+
include Google::Apis::Core::Hashable
|
676
|
+
|
677
|
+
# Optional. Absolute time when the photo sequence starts to be captured. If the
|
678
|
+
# photo sequence is a video, this is the start time of the video. If this field
|
679
|
+
# is populated in input, it overrides the capture time in the video or XDM file.
|
680
|
+
# Corresponds to the JSON property `captureTimeOverride`
|
681
|
+
# @return [String]
|
682
|
+
attr_accessor :capture_time_override
|
683
|
+
|
684
|
+
# Output only. The computed distance of the photo sequence in meters.
|
685
|
+
# Corresponds to the JSON property `distanceMeters`
|
686
|
+
# @return [Float]
|
687
|
+
attr_accessor :distance_meters
|
688
|
+
|
689
|
+
# Additional details to accompany the ProcessingFailureReason enum. This message
|
690
|
+
# is always expected to be used in conjunction with ProcessingFailureReason, and
|
691
|
+
# the oneof value set in this message should match the FailureReason.
|
692
|
+
# Corresponds to the JSON property `failureDetails`
|
693
|
+
# @return [Google::Apis::StreetviewpublishV1::ProcessingFailureDetails]
|
694
|
+
attr_accessor :failure_details
|
695
|
+
|
696
|
+
# Output only. If this sequence has processing_state = FAILED, this will contain
|
697
|
+
# the reason why it failed. If the processing_state is any other value, this
|
698
|
+
# field will be unset.
|
699
|
+
# Corresponds to the JSON property `failureReason`
|
700
|
+
# @return [String]
|
701
|
+
attr_accessor :failure_reason
|
702
|
+
|
703
|
+
# Output only. The filename of the upload. Does not include the directory path.
|
704
|
+
# Only available if the sequence was uploaded on a platform that provides the
|
705
|
+
# filename.
|
706
|
+
# Corresponds to the JSON property `filename`
|
707
|
+
# @return [String]
|
708
|
+
attr_accessor :filename
|
709
|
+
|
710
|
+
# Input only. If both raw_gps_timeline and the Camera Motion Metadata Track (
|
711
|
+
# CAMM) contain GPS measurements, indicate which takes precedence.
|
712
|
+
# Corresponds to the JSON property `gpsSource`
|
713
|
+
# @return [String]
|
714
|
+
attr_accessor :gps_source
|
715
|
+
|
716
|
+
# Output only. Unique identifier for the photo sequence. This also acts as a
|
717
|
+
# long running operation ID if uploading is performed asynchronously.
|
718
|
+
# Corresponds to the JSON property `id`
|
719
|
+
# @return [String]
|
720
|
+
attr_accessor :id
|
721
|
+
|
722
|
+
# IMU data from the device sensors.
|
723
|
+
# Corresponds to the JSON property `imu`
|
724
|
+
# @return [Google::Apis::StreetviewpublishV1::Imu]
|
725
|
+
attr_accessor :imu
|
726
|
+
|
727
|
+
# Output only. Photos with increasing timestamps.
|
728
|
+
# Corresponds to the JSON property `photos`
|
729
|
+
# @return [Array<Google::Apis::StreetviewpublishV1::Photo>]
|
730
|
+
attr_accessor :photos
|
731
|
+
|
732
|
+
# Output only. The processing state of this sequence.
|
733
|
+
# Corresponds to the JSON property `processingState`
|
734
|
+
# @return [String]
|
735
|
+
attr_accessor :processing_state
|
736
|
+
|
737
|
+
# Input only. Raw GPS measurements with increasing timestamps from the device
|
738
|
+
# that aren't time synced with each photo. These raw measurements will be used
|
739
|
+
# to infer the pose of each frame. Required in input when InputType is VIDEO and
|
740
|
+
# raw GPS measurements are not in Camera Motion Metadata Track (CAMM). User can
|
741
|
+
# indicate which takes precedence using gps_source if raw GPS measurements are
|
742
|
+
# provided in both raw_gps_timeline and Camera Motion Metadata Track (CAMM).
|
743
|
+
# Corresponds to the JSON property `rawGpsTimeline`
|
744
|
+
# @return [Array<Google::Apis::StreetviewpublishV1::Pose>]
|
745
|
+
attr_accessor :raw_gps_timeline
|
746
|
+
|
747
|
+
# A rectangle in geographical coordinates.
|
748
|
+
# Corresponds to the JSON property `sequenceBounds`
|
749
|
+
# @return [Google::Apis::StreetviewpublishV1::LatLngBounds]
|
750
|
+
attr_accessor :sequence_bounds
|
751
|
+
|
752
|
+
# Upload reference for media files.
|
753
|
+
# Corresponds to the JSON property `uploadReference`
|
754
|
+
# @return [Google::Apis::StreetviewpublishV1::UploadRef]
|
755
|
+
attr_accessor :upload_reference
|
756
|
+
|
757
|
+
# Output only. The time this photo sequence was created in uSV Store service.
|
758
|
+
# Corresponds to the JSON property `uploadTime`
|
759
|
+
# @return [String]
|
760
|
+
attr_accessor :upload_time
|
761
|
+
|
762
|
+
# Output only. The total number of views that all the published images in this
|
763
|
+
# PhotoSequence have received.
|
764
|
+
# Corresponds to the JSON property `viewCount`
|
765
|
+
# @return [Fixnum]
|
766
|
+
attr_accessor :view_count
|
767
|
+
|
768
|
+
def initialize(**args)
|
769
|
+
update!(**args)
|
770
|
+
end
|
771
|
+
|
772
|
+
# Update properties of this object
|
773
|
+
def update!(**args)
|
774
|
+
@capture_time_override = args[:capture_time_override] if args.key?(:capture_time_override)
|
775
|
+
@distance_meters = args[:distance_meters] if args.key?(:distance_meters)
|
776
|
+
@failure_details = args[:failure_details] if args.key?(:failure_details)
|
777
|
+
@failure_reason = args[:failure_reason] if args.key?(:failure_reason)
|
778
|
+
@filename = args[:filename] if args.key?(:filename)
|
779
|
+
@gps_source = args[:gps_source] if args.key?(:gps_source)
|
780
|
+
@id = args[:id] if args.key?(:id)
|
781
|
+
@imu = args[:imu] if args.key?(:imu)
|
782
|
+
@photos = args[:photos] if args.key?(:photos)
|
783
|
+
@processing_state = args[:processing_state] if args.key?(:processing_state)
|
784
|
+
@raw_gps_timeline = args[:raw_gps_timeline] if args.key?(:raw_gps_timeline)
|
785
|
+
@sequence_bounds = args[:sequence_bounds] if args.key?(:sequence_bounds)
|
786
|
+
@upload_reference = args[:upload_reference] if args.key?(:upload_reference)
|
787
|
+
@upload_time = args[:upload_time] if args.key?(:upload_time)
|
788
|
+
@view_count = args[:view_count] if args.key?(:view_count)
|
789
|
+
end
|
790
|
+
end
|
791
|
+
|
450
792
|
# Place metadata for an entity.
|
451
793
|
class Place
|
452
794
|
include Google::Apis::Core::Hashable
|
@@ -499,6 +841,11 @@ module Google
|
|
499
841
|
# @return [Float]
|
500
842
|
attr_accessor :altitude
|
501
843
|
|
844
|
+
# Time of the GPS record since UTC epoch.
|
845
|
+
# Corresponds to the JSON property `gpsRecordTimestampUnixEpoch`
|
846
|
+
# @return [String]
|
847
|
+
attr_accessor :gps_record_timestamp_unix_epoch
|
848
|
+
|
502
849
|
# The following pose parameters pertain to the center of the photo. They match
|
503
850
|
# https://developers.google.com/streetview/spherical-metadata. Compass heading,
|
504
851
|
# measured at the center of the photo in degrees clockwise from North. Value
|
@@ -541,6 +888,7 @@ module Google
|
|
541
888
|
def update!(**args)
|
542
889
|
@accuracy_meters = args[:accuracy_meters] if args.key?(:accuracy_meters)
|
543
890
|
@altitude = args[:altitude] if args.key?(:altitude)
|
891
|
+
@gps_record_timestamp_unix_epoch = args[:gps_record_timestamp_unix_epoch] if args.key?(:gps_record_timestamp_unix_epoch)
|
544
892
|
@heading = args[:heading] if args.key?(:heading)
|
545
893
|
@lat_lng_pair = args[:lat_lng_pair] if args.key?(:lat_lng_pair)
|
546
894
|
@level = args[:level] if args.key?(:level)
|
@@ -549,6 +897,45 @@ module Google
|
|
549
897
|
end
|
550
898
|
end
|
551
899
|
|
900
|
+
# Additional details to accompany the ProcessingFailureReason enum. This message
|
901
|
+
# is always expected to be used in conjunction with ProcessingFailureReason, and
|
902
|
+
# the oneof value set in this message should match the FailureReason.
|
903
|
+
class ProcessingFailureDetails
|
904
|
+
include Google::Apis::Core::Hashable
|
905
|
+
|
906
|
+
# Details related to ProcessingFailureReason#GPS_DATA_GAP.
|
907
|
+
# Corresponds to the JSON property `gpsDataGapDetails`
|
908
|
+
# @return [Google::Apis::StreetviewpublishV1::GpsDataGapFailureDetails]
|
909
|
+
attr_accessor :gps_data_gap_details
|
910
|
+
|
911
|
+
# Details related to ProcessingFailureReason#IMU_DATA_GAP.
|
912
|
+
# Corresponds to the JSON property `imuDataGapDetails`
|
913
|
+
# @return [Google::Apis::StreetviewpublishV1::ImuDataGapFailureDetails]
|
914
|
+
attr_accessor :imu_data_gap_details
|
915
|
+
|
916
|
+
# Details related to ProcessingFailureReason#INSUFFICIENT_GPS.
|
917
|
+
# Corresponds to the JSON property `insufficientGpsDetails`
|
918
|
+
# @return [Google::Apis::StreetviewpublishV1::InsufficientGpsFailureDetails]
|
919
|
+
attr_accessor :insufficient_gps_details
|
920
|
+
|
921
|
+
# Details related to ProcessingFailureReason#NOT_OUTDOORS.
|
922
|
+
# Corresponds to the JSON property `notOutdoorsDetails`
|
923
|
+
# @return [Google::Apis::StreetviewpublishV1::NotOutdoorsFailureDetails]
|
924
|
+
attr_accessor :not_outdoors_details
|
925
|
+
|
926
|
+
def initialize(**args)
|
927
|
+
update!(**args)
|
928
|
+
end
|
929
|
+
|
930
|
+
# Update properties of this object
|
931
|
+
def update!(**args)
|
932
|
+
@gps_data_gap_details = args[:gps_data_gap_details] if args.key?(:gps_data_gap_details)
|
933
|
+
@imu_data_gap_details = args[:imu_data_gap_details] if args.key?(:imu_data_gap_details)
|
934
|
+
@insufficient_gps_details = args[:insufficient_gps_details] if args.key?(:insufficient_gps_details)
|
935
|
+
@not_outdoors_details = args[:not_outdoors_details] if args.key?(:not_outdoors_details)
|
936
|
+
end
|
937
|
+
end
|
938
|
+
|
552
939
|
# The `Status` type defines a logical error model that is suitable for different
|
553
940
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
554
941
|
# 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.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.8.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220630"
|
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_time, as: 'gapTime'
|
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_time, as: 'gapTime'
|
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 :time, as: 'time'
|
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.
|
4
|
+
version: 0.20.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-
|
11
|
+
date: 2022-07-04 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.
|
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.
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-streetviewpublish_v1/v0.20.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: []
|