google-apis-vision_v1 0.25.0 → 0.26.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: 7e5104ce0db5cabb5bdfa5308a831a4cfc4c56c50eb8630902bf37a4633887d2
4
- data.tar.gz: fe456b63fb9b65f5d9d9a785f8e5eccd73a285657237ae9320d2c4a3226e1b76
3
+ metadata.gz: 2de581e5bfdd34856f17502be4dc75a607cd0b31bdc994487d95bb7bbd3bc3f1
4
+ data.tar.gz: 78ec785ce18c4c06e999c0a4b6f2dbb5d215f665c37926e2124fa7c5442f9d78
5
5
  SHA512:
6
- metadata.gz: a1a0bea7d3a15e1f663bf2553f52563e3d1c14a352892e59e237cf50a87346fbb009f4fb3e02516e0999f19cddf96c246621c28244282dab57fd67fc57e5a8dc
7
- data.tar.gz: cbbed67b418b8e46284df083532025f66f31bdb9227d4cf4c4fedb2e6b1c1a48e1ae8f645eb009c87d409981b650732ce1e33a62c51130fa4e4475157f8d6ddf
6
+ metadata.gz: 34f7308f12b2ec527e35f566137ad7175b6d895ad48142045ffec66613d90a857675058727546dd16bf5e00ebeee353a5bf4c413e04563ec4c6c3ebb066740d2
7
+ data.tar.gz: e7531760b0a4cabf04fe02eead676354fa7bbf1ae35db81bae728510ffdbdda09be9a8f9b2467cf09383a73d933fd3830bce2fa08c53cab0dd1958584df02a9d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-vision_v1
2
2
 
3
+ ### v0.26.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230908
6
+
3
7
  ### v0.25.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230804
@@ -331,6 +331,15 @@ module Google
331
331
  class AsyncBatchAnnotateFilesRequest
332
332
  include Google::Apis::Core::Hashable
333
333
 
334
+ # Optional. The labels with user-defined metadata for the request. Label keys
335
+ # and values can be no longer than 63 characters (Unicode codepoints), can only
336
+ # contain lowercase letters, numeric characters, underscores and dashes.
337
+ # International characters are allowed. Label values are optional. Label keys
338
+ # must start with a letter.
339
+ # Corresponds to the JSON property `labels`
340
+ # @return [Hash<String,String>]
341
+ attr_accessor :labels
342
+
334
343
  # Optional. Target project and location to make a call. Format: `projects/`
335
344
  # project-id`/locations/`location-id``. If no parent is specified, a region will
336
345
  # be chosen automatically. Supported location-ids: `us`: USA country only, `asia`
@@ -351,6 +360,7 @@ module Google
351
360
 
352
361
  # Update properties of this object
353
362
  def update!(**args)
363
+ @labels = args[:labels] if args.key?(:labels)
354
364
  @parent = args[:parent] if args.key?(:parent)
355
365
  @requests = args[:requests] if args.key?(:requests)
356
366
  end
@@ -380,6 +390,15 @@ module Google
380
390
  class AsyncBatchAnnotateImagesRequest
381
391
  include Google::Apis::Core::Hashable
382
392
 
393
+ # Optional. The labels with user-defined metadata for the request. Label keys
394
+ # and values can be no longer than 63 characters (Unicode codepoints), can only
395
+ # contain lowercase letters, numeric characters, underscores and dashes.
396
+ # International characters are allowed. Label values are optional. Label keys
397
+ # must start with a letter.
398
+ # Corresponds to the JSON property `labels`
399
+ # @return [Hash<String,String>]
400
+ attr_accessor :labels
401
+
383
402
  # The desired output location and metadata.
384
403
  # Corresponds to the JSON property `outputConfig`
385
404
  # @return [Google::Apis::VisionV1::OutputConfig]
@@ -405,6 +424,7 @@ module Google
405
424
 
406
425
  # Update properties of this object
407
426
  def update!(**args)
427
+ @labels = args[:labels] if args.key?(:labels)
408
428
  @output_config = args[:output_config] if args.key?(:output_config)
409
429
  @parent = args[:parent] if args.key?(:parent)
410
430
  @requests = args[:requests] if args.key?(:requests)
@@ -434,6 +454,15 @@ module Google
434
454
  class BatchAnnotateFilesRequest
435
455
  include Google::Apis::Core::Hashable
436
456
 
457
+ # Optional. The labels with user-defined metadata for the request. Label keys
458
+ # and values can be no longer than 63 characters (Unicode codepoints), can only
459
+ # contain lowercase letters, numeric characters, underscores and dashes.
460
+ # International characters are allowed. Label values are optional. Label keys
461
+ # must start with a letter.
462
+ # Corresponds to the JSON property `labels`
463
+ # @return [Hash<String,String>]
464
+ attr_accessor :labels
465
+
437
466
  # Optional. Target project and location to make a call. Format: `projects/`
438
467
  # project-id`/locations/`location-id``. If no parent is specified, a region will
439
468
  # be chosen automatically. Supported location-ids: `us`: USA country only, `asia`
@@ -455,6 +484,7 @@ module Google
455
484
 
456
485
  # Update properties of this object
457
486
  def update!(**args)
487
+ @labels = args[:labels] if args.key?(:labels)
458
488
  @parent = args[:parent] if args.key?(:parent)
459
489
  @requests = args[:requests] if args.key?(:requests)
460
490
  end
@@ -484,6 +514,15 @@ module Google
484
514
  class BatchAnnotateImagesRequest
485
515
  include Google::Apis::Core::Hashable
486
516
 
517
+ # Optional. The labels with user-defined metadata for the request. Label keys
518
+ # and values can be no longer than 63 characters (Unicode codepoints), can only
519
+ # contain lowercase letters, numeric characters, underscores and dashes.
520
+ # International characters are allowed. Label values are optional. Label keys
521
+ # must start with a letter.
522
+ # Corresponds to the JSON property `labels`
523
+ # @return [Hash<String,String>]
524
+ attr_accessor :labels
525
+
487
526
  # Optional. Target project and location to make a call. Format: `projects/`
488
527
  # project-id`/locations/`location-id``. If no parent is specified, a region will
489
528
  # be chosen automatically. Supported location-ids: `us`: USA country only, `asia`
@@ -504,6 +543,7 @@ module Google
504
543
 
505
544
  # Update properties of this object
506
545
  def update!(**args)
546
+ @labels = args[:labels] if args.key?(:labels)
507
547
  @parent = args[:parent] if args.key?(:parent)
508
548
  @requests = args[:requests] if args.key?(:requests)
509
549
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module VisionV1
18
18
  # Version of the google-apis-vision_v1 gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230804"
25
+ REVISION = "20230908"
26
26
  end
27
27
  end
28
28
  end
@@ -1812,6 +1812,7 @@ module Google
1812
1812
  class AsyncBatchAnnotateFilesRequest
1813
1813
  # @private
1814
1814
  class Representation < Google::Apis::Core::JsonRepresentation
1815
+ hash :labels, as: 'labels'
1815
1816
  property :parent, as: 'parent'
1816
1817
  collection :requests, as: 'requests', class: Google::Apis::VisionV1::AsyncAnnotateFileRequest, decorator: Google::Apis::VisionV1::AsyncAnnotateFileRequest::Representation
1817
1818
 
@@ -1829,6 +1830,7 @@ module Google
1829
1830
  class AsyncBatchAnnotateImagesRequest
1830
1831
  # @private
1831
1832
  class Representation < Google::Apis::Core::JsonRepresentation
1833
+ hash :labels, as: 'labels'
1832
1834
  property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1::OutputConfig, decorator: Google::Apis::VisionV1::OutputConfig::Representation
1833
1835
 
1834
1836
  property :parent, as: 'parent'
@@ -1848,6 +1850,7 @@ module Google
1848
1850
  class BatchAnnotateFilesRequest
1849
1851
  # @private
1850
1852
  class Representation < Google::Apis::Core::JsonRepresentation
1853
+ hash :labels, as: 'labels'
1851
1854
  property :parent, as: 'parent'
1852
1855
  collection :requests, as: 'requests', class: Google::Apis::VisionV1::AnnotateFileRequest, decorator: Google::Apis::VisionV1::AnnotateFileRequest::Representation
1853
1856
 
@@ -1865,6 +1868,7 @@ module Google
1865
1868
  class BatchAnnotateImagesRequest
1866
1869
  # @private
1867
1870
  class Representation < Google::Apis::Core::JsonRepresentation
1871
+ hash :labels, as: 'labels'
1868
1872
  property :parent, as: 'parent'
1869
1873
  collection :requests, as: 'requests', class: Google::Apis::VisionV1::AnnotateImageRequest, decorator: Google::Apis::VisionV1::AnnotateImageRequest::Representation
1870
1874
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-vision_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.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: 2023-08-13 00:00:00.000000000 Z
11
+ date: 2023-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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-vision_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vision_v1/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vision_v1/v0.26.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vision_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Vision API V1