google-apis-streetviewpublish_v1 0.8.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/streetviewpublish_v1/classes.rb +23 -15
- data/lib/google/apis/streetviewpublish_v1/gem_version.rb +2 -2
- data/lib/google/apis/streetviewpublish_v1/representations.rb +1 -0
- data/lib/google/apis/streetviewpublish_v1/service.rb +16 -14
- 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: c2e476765ca82406aea1959dbb3c97097dc00a0d4a3a144cdff385f94ddde7f2
|
4
|
+
data.tar.gz: a78764eefbc52c6ff0be8c581ef4dc3adf998ffad7438cc937a1155291a94d78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78dad56201c92c511bdbe607ab96a00914a45e8e6c435e59d28bb444f78f065bc660a36c810657d7f59a38703bb78abbd148834a16316c64c4dc999d53a536f3
|
7
|
+
data.tar.gz: 2d7ef5a1b0746b9836168068024bf99a930dd0cae285cde3f6128d8db3b7d962f996afcbbbdb228e9c855b6442c5eeb6e7be3618b22786db382e5023799ebe5c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-streetviewpublish_v1
|
2
2
|
|
3
|
+
### v0.12.0 (2021-11-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211101
|
6
|
+
|
7
|
+
### v0.11.0 (2021-10-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211018
|
10
|
+
|
11
|
+
### v0.10.0 (2021-10-09)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211007
|
14
|
+
|
15
|
+
### v0.9.0 (2021-09-14)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210910
|
18
|
+
|
3
19
|
### v0.8.0 (2021-09-10)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210908
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Streetviewpublish service in particular.)
|
67
67
|
|
@@ -196,9 +196,9 @@ module Google
|
|
196
196
|
# @return [String]
|
197
197
|
attr_accessor :name
|
198
198
|
|
199
|
-
# Floor number, used for ordering. 0 indicates the ground level, 1
|
200
|
-
# first level above ground level, -1 indicates the first level
|
201
|
-
# level. Non-integer values are OK.
|
199
|
+
# Optional. Floor number, used for ordering. 0 indicates the ground level, 1
|
200
|
+
# indicates the first level above ground level, -1 indicates the first level
|
201
|
+
# under ground level. Non-integer values are OK.
|
202
202
|
# Corresponds to the JSON property `number`
|
203
203
|
# @return [Float]
|
204
204
|
attr_accessor :number
|
@@ -307,14 +307,14 @@ module Google
|
|
307
307
|
class Photo
|
308
308
|
include Google::Apis::Core::Hashable
|
309
309
|
|
310
|
-
# Absolute time when the photo was captured. When the photo has no
|
311
|
-
# timestamp, this is used to set a timestamp in the photo metadata.
|
310
|
+
# Optional. Absolute time when the photo was captured. When the photo has no
|
311
|
+
# exif timestamp, this is used to set a timestamp in the photo metadata.
|
312
312
|
# Corresponds to the JSON property `captureTime`
|
313
313
|
# @return [String]
|
314
314
|
attr_accessor :capture_time
|
315
315
|
|
316
|
-
# Connections to other photos. A connection represents the link from
|
317
|
-
# to another photo.
|
316
|
+
# Optional. Connections to other photos. A connection represents the link from
|
317
|
+
# this photo to another photo.
|
318
318
|
# Corresponds to the JSON property `connections`
|
319
319
|
# @return [Array<Google::Apis::StreetviewpublishV1::Connection>]
|
320
320
|
attr_accessor :connections
|
@@ -326,7 +326,7 @@ module Google
|
|
326
326
|
attr_accessor :download_url
|
327
327
|
|
328
328
|
# Output only. Status in Google Maps, whether this photo was published or
|
329
|
-
# rejected.
|
329
|
+
# rejected.
|
330
330
|
# Corresponds to the JSON property `mapsPublishStatus`
|
331
331
|
# @return [String]
|
332
332
|
attr_accessor :maps_publish_status
|
@@ -336,7 +336,7 @@ module Google
|
|
336
336
|
# @return [Google::Apis::StreetviewpublishV1::PhotoId]
|
337
337
|
attr_accessor :photo_id
|
338
338
|
|
339
|
-
# Places where this photo belongs.
|
339
|
+
# Optional. Places where this photo belongs.
|
340
340
|
# Corresponds to the JSON property `places`
|
341
341
|
# @return [Array<Google::Apis::StreetviewpublishV1::Place>]
|
342
342
|
attr_accessor :places
|
@@ -366,6 +366,11 @@ module Google
|
|
366
366
|
# @return [Google::Apis::StreetviewpublishV1::UploadRef]
|
367
367
|
attr_accessor :upload_reference
|
368
368
|
|
369
|
+
# Output only. Time when the image was uploaded.
|
370
|
+
# Corresponds to the JSON property `uploadTime`
|
371
|
+
# @return [String]
|
372
|
+
attr_accessor :upload_time
|
373
|
+
|
369
374
|
# Output only. View count of the photo.
|
370
375
|
# Corresponds to the JSON property `viewCount`
|
371
376
|
# @return [Fixnum]
|
@@ -388,6 +393,7 @@ module Google
|
|
388
393
|
@thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url)
|
389
394
|
@transfer_status = args[:transfer_status] if args.key?(:transfer_status)
|
390
395
|
@upload_reference = args[:upload_reference] if args.key?(:upload_reference)
|
396
|
+
@upload_time = args[:upload_time] if args.key?(:upload_time)
|
391
397
|
@view_count = args[:view_count] if args.key?(:view_count)
|
392
398
|
end
|
393
399
|
end
|
@@ -396,7 +402,7 @@ module Google
|
|
396
402
|
class PhotoId
|
397
403
|
include Google::Apis::Core::Hashable
|
398
404
|
|
399
|
-
#
|
405
|
+
# A unique identifier for a photo.
|
400
406
|
# Corresponds to the JSON property `id`
|
401
407
|
# @return [String]
|
402
408
|
attr_accessor :id
|
@@ -446,13 +452,13 @@ module Google
|
|
446
452
|
class Place
|
447
453
|
include Google::Apis::Core::Hashable
|
448
454
|
|
449
|
-
# Output
|
455
|
+
# Output only. The language_code that the name is localized with. This should be
|
450
456
|
# the language_code specified in the request, but may be a fallback.
|
451
457
|
# Corresponds to the JSON property `languageCode`
|
452
458
|
# @return [String]
|
453
459
|
attr_accessor :language_code
|
454
460
|
|
455
|
-
# Output
|
461
|
+
# Output only. The name of the place, localized to the language_code.
|
456
462
|
# Corresponds to the JSON property `name`
|
457
463
|
# @return [String]
|
458
464
|
attr_accessor :name
|
@@ -494,8 +500,10 @@ module Google
|
|
494
500
|
# @return [Float]
|
495
501
|
attr_accessor :altitude
|
496
502
|
|
497
|
-
#
|
498
|
-
#
|
503
|
+
# The following pose parameters pertain to the center of the photo. They match
|
504
|
+
# https://developers.google.com/streetview/spherical-metadata. Compass heading,
|
505
|
+
# measured at the center of the photo in degrees clockwise from North. Value
|
506
|
+
# must be >=0 and <360. NaN indicates an unmeasured quantity.
|
499
507
|
# Corresponds to the JSON property `heading`
|
500
508
|
# @return [Float]
|
501
509
|
attr_accessor :heading
|
@@ -596,7 +604,7 @@ module Google
|
|
596
604
|
# metadata in this request. The update fails if invalid fields are specified.
|
597
605
|
# Multiple fields can be specified in a comma-delimited list. The following
|
598
606
|
# fields are valid: * `pose.heading` * `pose.latLngPair` * `pose.pitch` * `pose.
|
599
|
-
# roll` * `pose.level` * `pose.altitude` * `connections` * `places`
|
607
|
+
# roll` * `pose.level` * `pose.altitude` * `connections` * `places` > Note: When
|
600
608
|
# updateMask contains repeated fields, the entire set of repeated values get
|
601
609
|
# replaced with the new contents. For example, if updateMask contains `
|
602
610
|
# connections` and `UpdatePhotoRequest.photo.connections` is empty, all
|
@@ -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.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211101"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -245,6 +245,7 @@ module Google
|
|
245
245
|
property :transfer_status, as: 'transferStatus'
|
246
246
|
property :upload_reference, as: 'uploadReference', class: Google::Apis::StreetviewpublishV1::UploadRef, decorator: Google::Apis::StreetviewpublishV1::UploadRef::Representation
|
247
247
|
|
248
|
+
property :upload_time, as: 'uploadTime'
|
248
249
|
property :view_count, :numeric_string => true, as: 'viewCount'
|
249
250
|
end
|
250
251
|
end
|
@@ -218,7 +218,7 @@ module Google
|
|
218
218
|
# exist. * google.rpc.Code.UNAVAILABLE if the requested Photo is still being
|
219
219
|
# indexed.
|
220
220
|
# @param [String] id
|
221
|
-
#
|
221
|
+
# A unique identifier for a photo.
|
222
222
|
# @param [Google::Apis::StreetviewpublishV1::Photo] photo_object
|
223
223
|
# @param [String] update_mask
|
224
224
|
# Required. Mask that identifies fields on the photo metadata to update. If not
|
@@ -226,7 +226,7 @@ module Google
|
|
226
226
|
# metadata in this request. The update fails if invalid fields are specified.
|
227
227
|
# Multiple fields can be specified in a comma-delimited list. The following
|
228
228
|
# fields are valid: * `pose.heading` * `pose.latLngPair` * `pose.pitch` * `pose.
|
229
|
-
# roll` * `pose.level` * `pose.altitude` * `connections` * `places`
|
229
|
+
# roll` * `pose.level` * `pose.altitude` * `connections` * `places` > Note: When
|
230
230
|
# updateMask contains repeated fields, the entire set of repeated values get
|
231
231
|
# replaced with the new contents. For example, if updateMask contains `
|
232
232
|
# connections` and `UpdatePhotoRequest.photo.connections` is empty, all
|
@@ -351,7 +351,7 @@ module Google
|
|
351
351
|
# specific failures that can occur per photo. Only the fields specified in
|
352
352
|
# updateMask field are used. If `updateMask` is not present, the update applies
|
353
353
|
# to all fields. The number of UpdatePhotoRequest messages in a
|
354
|
-
# BatchUpdatePhotosRequest must not exceed 20.
|
354
|
+
# BatchUpdatePhotosRequest must not exceed 20. > Note: To update Pose.altitude,
|
355
355
|
# Pose.latLngPair has to be filled as well. Otherwise, the request will fail.
|
356
356
|
# @param [Google::Apis::StreetviewpublishV1::BatchUpdatePhotosRequest] batch_update_photos_request_object
|
357
357
|
# @param [String] fields
|
@@ -382,24 +382,26 @@ module Google
|
|
382
382
|
execute_or_queue_command(command, &block)
|
383
383
|
end
|
384
384
|
|
385
|
-
# Lists all the Photos that belong to the user.
|
385
|
+
# Lists all the Photos that belong to the user. > Note: Recently created photos
|
386
386
|
# that are still being indexed are not returned in the response.
|
387
387
|
# @param [String] filter
|
388
388
|
# Optional. The filter expression. For example: `placeId=
|
389
|
-
# ChIJj61dQgK6j4AR4GeTYWZsKWw`. The
|
389
|
+
# ChIJj61dQgK6j4AR4GeTYWZsKWw`. The filters supported at the moment are: `
|
390
390
|
# placeId`.
|
391
391
|
# @param [String] language_code
|
392
|
-
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
|
393
|
-
# see http://www.unicode.org/reports/tr35/#
|
394
|
-
# language_code is unspecified, the user's
|
395
|
-
# services is used.
|
392
|
+
# Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
|
393
|
+
# information, see http://www.unicode.org/reports/tr35/#
|
394
|
+
# Unicode_locale_identifier. If language_code is unspecified, the user's
|
395
|
+
# language preference for Google services is used.
|
396
396
|
# @param [Fixnum] page_size
|
397
|
-
# The maximum number of photos to return. `pageSize` must be non-
|
398
|
-
# pageSize` is zero or is not provided, the default page size of
|
399
|
-
# The number of photos returned in the response may be less than `
|
400
|
-
# the number of photos that belong to the user is less than `
|
397
|
+
# Optional. The maximum number of photos to return. `pageSize` must be non-
|
398
|
+
# negative. If `pageSize` is zero or is not provided, the default page size of
|
399
|
+
# 100 is used. The number of photos returned in the response may be less than `
|
400
|
+
# pageSize` if the number of photos that belong to the user is less than `
|
401
|
+
# pageSize`.
|
401
402
|
# @param [String] page_token
|
402
|
-
# The nextPageToken value returned from a previous ListPhotos request,
|
403
|
+
# Optional. The nextPageToken value returned from a previous ListPhotos request,
|
404
|
+
# if any.
|
403
405
|
# @param [String] view
|
404
406
|
# Required. Specifies if a download URL for the photos bytes should be returned
|
405
407
|
# in the Photos response.
|
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.12.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: 2021-
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-streetviewpublish_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.12.0
|
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: []
|
65
65
|
require_paths:
|