google-apis-vision_v1p2beta1 0.23.0 → 0.24.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: 56e2ab79bd41f27e1d90fdb17705069e5ce476ef7e974c7bcd5b58996a3df822
4
- data.tar.gz: 988604ca35774984c8e550b8cd7a390a78e3281923dd84e5db11576aacd248b0
3
+ metadata.gz: 0b38f68ad7d104a5928ada3bde26d79eacda6f2aa5d97bd8532e2c6d45ca21ac
4
+ data.tar.gz: 6e29d5ee09afa54a87f7bb59adccb62559ee55b7df63d7b3f30dd5232f3fc251
5
5
  SHA512:
6
- metadata.gz: 448fd2779ca78cd99021ebaf0bd8f7e10c141d06ef5e36ed57d2e0b388a20689ec13ea111f4a2cf1a36c5219a52b73fef257f99712414c644321486a5079e6c0
7
- data.tar.gz: fcb12bd2302c3ff8451af358ba1affe9e05f38423d26bc9b922cf10b903f36736c1f3cfec4d4aa7bab14fe9a06a1751f5c22962af021f4862d3a4522a9bea021
6
+ metadata.gz: 3397bcd25e64de5969374542e41d3a66a4aabfd58d4dad88fade2971e10c688130dff0c6502b765e9fc9b4f26eac9a3f0cadde827ff138ceccd2945500cbf318
7
+ data.tar.gz: 9f0bdce8c675ff0ce6aae7db024e14e1a851652d89e0433423524b46807cdca96190e3f374f15da7b0879460e742672b2cccca93ae03bf5cde51da86a9256a3f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-vision_v1p2beta1
2
2
 
3
+ ### v0.24.0 (2023-09-17)
4
+
5
+ * Regenerated from discovery document revision 20230908
6
+
3
7
  ### v0.23.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230804
@@ -2892,6 +2892,15 @@ module Google
2892
2892
  class GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest
2893
2893
  include Google::Apis::Core::Hashable
2894
2894
 
2895
+ # Optional. The labels with user-defined metadata for the request. Label keys
2896
+ # and values can be no longer than 63 characters (Unicode codepoints), can only
2897
+ # contain lowercase letters, numeric characters, underscores and dashes.
2898
+ # International characters are allowed. Label values are optional. Label keys
2899
+ # must start with a letter.
2900
+ # Corresponds to the JSON property `labels`
2901
+ # @return [Hash<String,String>]
2902
+ attr_accessor :labels
2903
+
2895
2904
  # Optional. Target project and location to make a call. Format: `projects/`
2896
2905
  # project-id`/locations/`location-id``. If no parent is specified, a region will
2897
2906
  # be chosen automatically. Supported location-ids: `us`: USA country only, `asia`
@@ -2912,6 +2921,7 @@ module Google
2912
2921
 
2913
2922
  # Update properties of this object
2914
2923
  def update!(**args)
2924
+ @labels = args[:labels] if args.key?(:labels)
2915
2925
  @parent = args[:parent] if args.key?(:parent)
2916
2926
  @requests = args[:requests] if args.key?(:requests)
2917
2927
  end
@@ -2941,6 +2951,15 @@ module Google
2941
2951
  class GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest
2942
2952
  include Google::Apis::Core::Hashable
2943
2953
 
2954
+ # Optional. The labels with user-defined metadata for the request. Label keys
2955
+ # and values can be no longer than 63 characters (Unicode codepoints), can only
2956
+ # contain lowercase letters, numeric characters, underscores and dashes.
2957
+ # International characters are allowed. Label values are optional. Label keys
2958
+ # must start with a letter.
2959
+ # Corresponds to the JSON property `labels`
2960
+ # @return [Hash<String,String>]
2961
+ attr_accessor :labels
2962
+
2944
2963
  # The desired output location and metadata.
2945
2964
  # Corresponds to the JSON property `outputConfig`
2946
2965
  # @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1OutputConfig]
@@ -2966,6 +2985,7 @@ module Google
2966
2985
 
2967
2986
  # Update properties of this object
2968
2987
  def update!(**args)
2988
+ @labels = args[:labels] if args.key?(:labels)
2969
2989
  @output_config = args[:output_config] if args.key?(:output_config)
2970
2990
  @parent = args[:parent] if args.key?(:parent)
2971
2991
  @requests = args[:requests] if args.key?(:requests)
@@ -2976,6 +2996,15 @@ module Google
2976
2996
  class GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest
2977
2997
  include Google::Apis::Core::Hashable
2978
2998
 
2999
+ # Optional. The labels with user-defined metadata for the request. Label keys
3000
+ # and values can be no longer than 63 characters (Unicode codepoints), can only
3001
+ # contain lowercase letters, numeric characters, underscores and dashes.
3002
+ # International characters are allowed. Label values are optional. Label keys
3003
+ # must start with a letter.
3004
+ # Corresponds to the JSON property `labels`
3005
+ # @return [Hash<String,String>]
3006
+ attr_accessor :labels
3007
+
2979
3008
  # Optional. Target project and location to make a call. Format: `projects/`
2980
3009
  # project-id`/locations/`location-id``. If no parent is specified, a region will
2981
3010
  # be chosen automatically. Supported location-ids: `us`: USA country only, `asia`
@@ -2997,6 +3026,7 @@ module Google
2997
3026
 
2998
3027
  # Update properties of this object
2999
3028
  def update!(**args)
3029
+ @labels = args[:labels] if args.key?(:labels)
3000
3030
  @parent = args[:parent] if args.key?(:parent)
3001
3031
  @requests = args[:requests] if args.key?(:requests)
3002
3032
  end
@@ -3026,6 +3056,15 @@ module Google
3026
3056
  class GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest
3027
3057
  include Google::Apis::Core::Hashable
3028
3058
 
3059
+ # Optional. The labels with user-defined metadata for the request. Label keys
3060
+ # and values can be no longer than 63 characters (Unicode codepoints), can only
3061
+ # contain lowercase letters, numeric characters, underscores and dashes.
3062
+ # International characters are allowed. Label values are optional. Label keys
3063
+ # must start with a letter.
3064
+ # Corresponds to the JSON property `labels`
3065
+ # @return [Hash<String,String>]
3066
+ attr_accessor :labels
3067
+
3029
3068
  # Optional. Target project and location to make a call. Format: `projects/`
3030
3069
  # project-id`/locations/`location-id``. If no parent is specified, a region will
3031
3070
  # be chosen automatically. Supported location-ids: `us`: USA country only, `asia`
@@ -3046,6 +3085,7 @@ module Google
3046
3085
 
3047
3086
  # Update properties of this object
3048
3087
  def update!(**args)
3088
+ @labels = args[:labels] if args.key?(:labels)
3049
3089
  @parent = args[:parent] if args.key?(:parent)
3050
3090
  @requests = args[:requests] if args.key?(:requests)
3051
3091
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module VisionV1p2beta1
18
18
  # Version of the google-apis-vision_v1p2beta1 gem
19
- GEM_VERSION = "0.23.0"
19
+ GEM_VERSION = "0.24.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
@@ -2453,6 +2453,7 @@ module Google
2453
2453
  class GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesRequest
2454
2454
  # @private
2455
2455
  class Representation < Google::Apis::Core::JsonRepresentation
2456
+ hash :labels, as: 'labels'
2456
2457
  property :parent, as: 'parent'
2457
2458
  collection :requests, as: 'requests', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1AsyncAnnotateFileRequest, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1AsyncAnnotateFileRequest::Representation
2458
2459
 
@@ -2470,6 +2471,7 @@ module Google
2470
2471
  class GoogleCloudVisionV1p2beta1AsyncBatchAnnotateImagesRequest
2471
2472
  # @private
2472
2473
  class Representation < Google::Apis::Core::JsonRepresentation
2474
+ hash :labels, as: 'labels'
2473
2475
  property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1OutputConfig, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1OutputConfig::Representation
2474
2476
 
2475
2477
  property :parent, as: 'parent'
@@ -2481,6 +2483,7 @@ module Google
2481
2483
  class GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest
2482
2484
  # @private
2483
2485
  class Representation < Google::Apis::Core::JsonRepresentation
2486
+ hash :labels, as: 'labels'
2484
2487
  property :parent, as: 'parent'
2485
2488
  collection :requests, as: 'requests', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1AnnotateFileRequest, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1AnnotateFileRequest::Representation
2486
2489
 
@@ -2498,6 +2501,7 @@ module Google
2498
2501
  class GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest
2499
2502
  # @private
2500
2503
  class Representation < Google::Apis::Core::JsonRepresentation
2504
+ hash :labels, as: 'labels'
2501
2505
  property :parent, as: 'parent'
2502
2506
  collection :requests, as: 'requests', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1AnnotateImageRequest, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1AnnotateImageRequest::Representation
2503
2507
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-vision_v1p2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.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_v1p2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-vision_v1p2beta1/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vision_v1p2beta1/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vision_v1p2beta1
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 V1p2beta1