google-apis-speech_v1 0.32.0 → 0.34.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: 5f3f356632c70fc88818420b756ee57a4d3c7b702801431c15252c73ff1ff3dc
4
- data.tar.gz: '0193391b9fb054cf411e0e4859da0a084e17b73a142b72a0e4ea16daa7e665ed'
3
+ metadata.gz: d76fcd6056fe51ad021bf6004dfc8bbfaaa4b9b35c47a4a03f6bb8cdc65dbb4a
4
+ data.tar.gz: 3980532ac66d720bff504e348775f3e58cd0741c1675e00e0f5ea072e004083c
5
5
  SHA512:
6
- metadata.gz: fa991d2ef551f59ebfdcf04b54a7f5ffc9c4b7ebc999588fb663d9855b60293cbeb98127a4a97d6dd13b53be1cbef7ba7c69f6c1a09344203b6a0e6b13493392
7
- data.tar.gz: eb09968c83a16dc8158bb6f55f8ec46a636518c9ae93f6f502c2de5485ce745ce8753437f7f46df381ba5fd9a7da9cf6fefe2f5b57aa26915734509c7cd835a1
6
+ metadata.gz: e03c523b6a54e07d1a7bf6046fff8eec8033788b871fd8c9f22a971bcc44a636ed2dfae1e3f116e682e4055006ce09abe56c0dc788d41f356f6581f2b579f317
7
+ data.tar.gz: a1a6f73999dd0910e20397141d87c834d275996458480551375a16dbc2c16e51a49c1f61d50115b3bbb473b566bcb19ba3c5b4e06682aa5a42cedc070f865000
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-speech_v1
2
2
 
3
+ ### v0.34.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230418
6
+
7
+ ### v0.33.0 (2023-04-02)
8
+
9
+ * Regenerated from discovery document revision 20230323
10
+
3
11
  ### v0.32.0 (2023-03-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20230313
@@ -137,6 +137,23 @@ module Google
137
137
  # @return [Array<Google::Apis::SpeechV1::ClassItem>]
138
138
  attr_accessor :items
139
139
 
140
+ # Output only. The [KMS key name](https://cloud.google.com/kms/docs/resource-
141
+ # hierarchy#keys) with which the content of the ClassItem is encrypted. The
142
+ # expected format is `projects/`project`/locations/`location`/keyRings/`key_ring`
143
+ # /cryptoKeys/`crypto_key``.
144
+ # Corresponds to the JSON property `kmsKeyName`
145
+ # @return [String]
146
+ attr_accessor :kms_key_name
147
+
148
+ # Output only. The [KMS key version name](https://cloud.google.com/kms/docs/
149
+ # resource-hierarchy#key_versions) with which content of the ClassItem is
150
+ # encrypted. The expected format is `projects/`project`/locations/`location`/
151
+ # keyRings/`key_ring`/cryptoKeys/`crypto_key`/cryptoKeyVersions/`
152
+ # crypto_key_version``.
153
+ # Corresponds to the JSON property `kmsKeyVersionName`
154
+ # @return [String]
155
+ attr_accessor :kms_key_version_name
156
+
140
157
  # The resource name of the custom class.
141
158
  # Corresponds to the JSON property `name`
142
159
  # @return [String]
@@ -150,6 +167,8 @@ module Google
150
167
  def update!(**args)
151
168
  @custom_class_id = args[:custom_class_id] if args.key?(:custom_class_id)
152
169
  @items = args[:items] if args.key?(:items)
170
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
171
+ @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
153
172
  @name = args[:name] if args.key?(:name)
154
173
  end
155
174
  end
@@ -515,6 +534,23 @@ module Google
515
534
  # @return [Float]
516
535
  attr_accessor :boost
517
536
 
537
+ # Output only. The [KMS key name](https://cloud.google.com/kms/docs/resource-
538
+ # hierarchy#keys) with which the content of the PhraseSet is encrypted. The
539
+ # expected format is `projects/`project`/locations/`location`/keyRings/`key_ring`
540
+ # /cryptoKeys/`crypto_key``.
541
+ # Corresponds to the JSON property `kmsKeyName`
542
+ # @return [String]
543
+ attr_accessor :kms_key_name
544
+
545
+ # Output only. The [KMS key version name](https://cloud.google.com/kms/docs/
546
+ # resource-hierarchy#key_versions) with which content of the PhraseSet is
547
+ # encrypted. The expected format is `projects/`project`/locations/`location`/
548
+ # keyRings/`key_ring`/cryptoKeys/`crypto_key`/cryptoKeyVersions/`
549
+ # crypto_key_version``.
550
+ # Corresponds to the JSON property `kmsKeyVersionName`
551
+ # @return [String]
552
+ attr_accessor :kms_key_version_name
553
+
518
554
  # The resource name of the phrase set.
519
555
  # Corresponds to the JSON property `name`
520
556
  # @return [String]
@@ -532,6 +568,8 @@ module Google
532
568
  # Update properties of this object
533
569
  def update!(**args)
534
570
  @boost = args[:boost] if args.key?(:boost)
571
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
572
+ @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
535
573
  @name = args[:name] if args.key?(:name)
536
574
  @phrases = args[:phrases] if args.key?(:phrases)
537
575
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SpeechV1
18
18
  # Version of the google-apis-speech_v1 gem
19
- GEM_VERSION = "0.32.0"
19
+ GEM_VERSION = "0.34.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 = "20230313"
25
+ REVISION = "20230418"
26
26
  end
27
27
  end
28
28
  end
@@ -234,6 +234,8 @@ module Google
234
234
  property :custom_class_id, as: 'customClassId'
235
235
  collection :items, as: 'items', class: Google::Apis::SpeechV1::ClassItem, decorator: Google::Apis::SpeechV1::ClassItem::Representation
236
236
 
237
+ property :kms_key_name, as: 'kmsKeyName'
238
+ property :kms_key_version_name, as: 'kmsKeyVersionName'
237
239
  property :name, as: 'name'
238
240
  end
239
241
  end
@@ -333,6 +335,8 @@ module Google
333
335
  # @private
334
336
  class Representation < Google::Apis::Core::JsonRepresentation
335
337
  property :boost, as: 'boost'
338
+ property :kms_key_name, as: 'kmsKeyName'
339
+ property :kms_key_version_name, as: 'kmsKeyVersionName'
336
340
  property :name, as: 'name'
337
341
  collection :phrases, as: 'phrases', class: Google::Apis::SpeechV1::Phrase, decorator: Google::Apis::SpeechV1::Phrase::Representation
338
342
 
@@ -310,11 +310,11 @@ module Google
310
310
  # model when you send a call that includes the PhraseSet.
311
311
  # @param [String] parent
312
312
  # Required. The parent resource where this phrase set will be created. Format: `
313
- # projects/`project`/locations/`location`/phraseSets` Speech-to-Text supports
314
- # three locations: `global`, `us` (US North America), and `eu` (Europe). If you
315
- # are calling the `speech.googleapis.com` endpoint, use the `global` location.
316
- # To specify a region, use a [regional endpoint](https://cloud.google.com/speech-
317
- # to-text/docs/endpoints) with matching `us` or `eu` location value.
313
+ # projects/`project`/locations/`location`` Speech-to-Text supports three
314
+ # locations: `global`, `us` (US North America), and `eu` (Europe). If you are
315
+ # calling the `speech.googleapis.com` endpoint, use the `global` location. To
316
+ # specify a region, use a [regional endpoint](https://cloud.google.com/speech-to-
317
+ # text/docs/endpoints) with matching `us` or `eu` location value.
318
318
  # @param [Google::Apis::SpeechV1::CreatePhraseSetRequest] create_phrase_set_request_object
319
319
  # @param [String] fields
320
320
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-speech_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.34.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-03-19 00:00:00.000000000 Z
11
+ date: 2023-04-23 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-speech_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-speech_v1
63
63
  post_install_message:
64
64
  rdoc_options: []