google-apis-vision_v1 0.24.0 → 0.26.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c381e67403223fc49aeb517ae0491b74aacfa6a2a1daeaccc9592e250a83a88
4
- data.tar.gz: 0a13aa4a370f63facc92f55375b129b6699e4ce8890d28714fdaecc2faf9814e
3
+ metadata.gz: 2de581e5bfdd34856f17502be4dc75a607cd0b31bdc994487d95bb7bbd3bc3f1
4
+ data.tar.gz: 78ec785ce18c4c06e999c0a4b6f2dbb5d215f665c37926e2124fa7c5442f9d78
5
5
  SHA512:
6
- metadata.gz: d46fab7a9bb85f0dd4e207ce8450f01db81fcbf8084250d5f9abac0fe3d09b0596287a52734021e95edc7d22b38688086e567b0ced785003a3ac7a85b41c9a86
7
- data.tar.gz: 7988149c843ba0aa9484ddb6d7433efa5df3f819dc1c8ea838e8c8e134f47795b9a38a05309527cfa75badb8bd50572a2fb6c1082a865ae8ac7918cbf9e126c7
6
+ metadata.gz: 34f7308f12b2ec527e35f566137ad7175b6d895ad48142045ffec66613d90a857675058727546dd16bf5e00ebeee353a5bf4c413e04563ec4c6c3ebb066740d2
7
+ data.tar.gz: e7531760b0a4cabf04fe02eead676354fa7bbf1ae35db81bae728510ffdbdda09be9a8f9b2467cf09383a73d933fd3830bce2fa08c53cab0dd1958584df02a9d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.25.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230804
10
+
3
11
  ### v0.24.0 (2023-06-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20230608
@@ -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
@@ -9208,13 +9248,13 @@ module Google
9208
9248
  # @return [String]
9209
9249
  attr_accessor :name
9210
9250
 
9211
- # The normal response of the operation in case of success. If the original
9212
- # method returns no data on success, such as `Delete`, the response is `google.
9213
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
9214
- # the response should be the resource. For other methods, the response should
9215
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
9216
- # example, if the original method name is `TakeSnapshot()`, the inferred
9217
- # response type is `TakeSnapshotResponse`.
9251
+ # The normal, successful response of the operation. If the original method
9252
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
9253
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
9254
+ # response should be the resource. For other methods, the response should have
9255
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
9256
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
9257
+ # `TakeSnapshotResponse`.
9218
9258
  # Corresponds to the JSON property `response`
9219
9259
  # @return [Hash<String,Object>]
9220
9260
  attr_accessor :response
@@ -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.24.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 = "20230608"
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.24.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-06-18 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.24.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