google-apis-speech_v1p1beta1 0.37.0 → 0.39.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: 94598ad2deb8477be4a6636922016b737773e833533c874b19b1c990b0fc1aa0
4
- data.tar.gz: 3a371bd80bbe1be46e1a446081c27ad2b2bfa5b2ac83052d4fdbdf85d02de76e
3
+ metadata.gz: 33b9d7b52ee6074e27fa8b705583a111cb87e10898fa0a7fa105ed82c92e78e1
4
+ data.tar.gz: 8a43c6ad0e65b276c79e28de0e27b7c5dabfc769140fa63d2229dd74b7b1bab2
5
5
  SHA512:
6
- metadata.gz: 4ff0455309f09c6d1c521ea6e71a3261bec7f547ebe181a84fa7bb2cec627966a9d6f7464b87ae843865683a5124a3e741251d7553846a41714b2ab7d01905b3
7
- data.tar.gz: dc7eca07559c3f48498df29bea2517273352952409ce6ad95b8cdcb9c8f17bf51c3416d06f9f9e0bf58960586eb3d8f79802d28c9f09ad637ef5eea395c3b685
6
+ metadata.gz: a45edefab8c1bf2df8374a37a16425115399db8b0c2b33b6c9fc3f0ba9f7ff3f9491505fec7a2fdef4bae7c203e4d7ca96ded232edb1a3c138dd3f25497e4339
7
+ data.tar.gz: 85a4945ee70f41d41de072ef3416e664d3325e9217108b6872c9006b6fc8261fb7382110e4282b76bea2a865d4d4c4d4f090bf3e182d3848c5164e987bae019a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-speech_v1p1beta1
2
2
 
3
+ ### v0.39.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230901
6
+
7
+ ### v0.38.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230804
10
+
3
11
  ### v0.37.0 (2023-04-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230418
@@ -126,12 +126,45 @@ module Google
126
126
  class CustomClass
127
127
  include Google::Apis::Core::Hashable
128
128
 
129
+ # Output only. Allows users to store small amounts of arbitrary data. Both the
130
+ # key and the value must be 63 characters or less each. At most 100 annotations.
131
+ # This field is not used.
132
+ # Corresponds to the JSON property `annotations`
133
+ # @return [Hash<String,String>]
134
+ attr_accessor :annotations
135
+
129
136
  # If this custom class is a resource, the custom_class_id is the resource id of
130
137
  # the CustomClass. Case sensitive.
131
138
  # Corresponds to the JSON property `customClassId`
132
139
  # @return [String]
133
140
  attr_accessor :custom_class_id
134
141
 
142
+ # Output only. The time at which this resource was requested for deletion. This
143
+ # field is not used.
144
+ # Corresponds to the JSON property `deleteTime`
145
+ # @return [String]
146
+ attr_accessor :delete_time
147
+
148
+ # Output only. User-settable, human-readable name for the CustomClass. Must be
149
+ # 63 characters or less. This field is not used.
150
+ # Corresponds to the JSON property `displayName`
151
+ # @return [String]
152
+ attr_accessor :display_name
153
+
154
+ # Output only. This checksum is computed by the server based on the value of
155
+ # other fields. This may be sent on update, undelete, and delete requests to
156
+ # ensure the client has an up-to-date value before proceeding. This field is not
157
+ # used.
158
+ # Corresponds to the JSON property `etag`
159
+ # @return [String]
160
+ attr_accessor :etag
161
+
162
+ # Output only. The time at which this resource will be purged. This field is not
163
+ # used.
164
+ # Corresponds to the JSON property `expireTime`
165
+ # @return [String]
166
+ attr_accessor :expire_time
167
+
135
168
  # A collection of class items.
136
169
  # Corresponds to the JSON property `items`
137
170
  # @return [Array<Google::Apis::SpeechV1p1beta1::ClassItem>]
@@ -159,17 +192,43 @@ module Google
159
192
  # @return [String]
160
193
  attr_accessor :name
161
194
 
195
+ # Output only. Whether or not this CustomClass is in the process of being
196
+ # updated. This field is not used.
197
+ # Corresponds to the JSON property `reconciling`
198
+ # @return [Boolean]
199
+ attr_accessor :reconciling
200
+ alias_method :reconciling?, :reconciling
201
+
202
+ # Output only. The CustomClass lifecycle state. This field is not used.
203
+ # Corresponds to the JSON property `state`
204
+ # @return [String]
205
+ attr_accessor :state
206
+
207
+ # Output only. System-assigned unique identifier for the CustomClass. This field
208
+ # is not used.
209
+ # Corresponds to the JSON property `uid`
210
+ # @return [String]
211
+ attr_accessor :uid
212
+
162
213
  def initialize(**args)
163
214
  update!(**args)
164
215
  end
165
216
 
166
217
  # Update properties of this object
167
218
  def update!(**args)
219
+ @annotations = args[:annotations] if args.key?(:annotations)
168
220
  @custom_class_id = args[:custom_class_id] if args.key?(:custom_class_id)
221
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
222
+ @display_name = args[:display_name] if args.key?(:display_name)
223
+ @etag = args[:etag] if args.key?(:etag)
224
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
169
225
  @items = args[:items] if args.key?(:items)
170
226
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
171
227
  @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
172
228
  @name = args[:name] if args.key?(:name)
229
+ @reconciling = args[:reconciling] if args.key?(:reconciling)
230
+ @state = args[:state] if args.key?(:state)
231
+ @uid = args[:uid] if args.key?(:uid)
173
232
  end
174
233
  end
175
234
 
@@ -477,13 +536,13 @@ module Google
477
536
  # @return [String]
478
537
  attr_accessor :name
479
538
 
480
- # The normal response of the operation in case of success. If the original
481
- # method returns no data on success, such as `Delete`, the response is `google.
482
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
483
- # the response should be the resource. For other methods, the response should
484
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
485
- # example, if the original method name is `TakeSnapshot()`, the inferred
486
- # response type is `TakeSnapshotResponse`.
539
+ # The normal, successful response of the operation. If the original method
540
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
541
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
542
+ # response should be the resource. For other methods, the response should have
543
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
544
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
545
+ # `TakeSnapshotResponse`.
487
546
  # Corresponds to the JSON property `response`
488
547
  # @return [Hash<String,Object>]
489
548
  attr_accessor :response
@@ -559,6 +618,13 @@ module Google
559
618
  class PhraseSet
560
619
  include Google::Apis::Core::Hashable
561
620
 
621
+ # Output only. Allows users to store small amounts of arbitrary data. Both the
622
+ # key and the value must be 63 characters or less each. At most 100 annotations.
623
+ # This field is not used.
624
+ # Corresponds to the JSON property `annotations`
625
+ # @return [Hash<String,String>]
626
+ attr_accessor :annotations
627
+
562
628
  # Hint Boost. Positive value will increase the probability that a specific
563
629
  # phrase will be recognized over other similar sounding phrases. The higher the
564
630
  # boost, the higher the chance of false positive recognition as well. Negative
@@ -572,6 +638,32 @@ module Google
572
638
  # @return [Float]
573
639
  attr_accessor :boost
574
640
 
641
+ # Output only. The time at which this resource was requested for deletion. This
642
+ # field is not used.
643
+ # Corresponds to the JSON property `deleteTime`
644
+ # @return [String]
645
+ attr_accessor :delete_time
646
+
647
+ # Output only. User-settable, human-readable name for the PhraseSet. Must be 63
648
+ # characters or less. This field is not used.
649
+ # Corresponds to the JSON property `displayName`
650
+ # @return [String]
651
+ attr_accessor :display_name
652
+
653
+ # Output only. This checksum is computed by the server based on the value of
654
+ # other fields. This may be sent on update, undelete, and delete requests to
655
+ # ensure the client has an up-to-date value before proceeding. This field is not
656
+ # used.
657
+ # Corresponds to the JSON property `etag`
658
+ # @return [String]
659
+ attr_accessor :etag
660
+
661
+ # Output only. The time at which this resource will be purged. This field is not
662
+ # used.
663
+ # Corresponds to the JSON property `expireTime`
664
+ # @return [String]
665
+ attr_accessor :expire_time
666
+
575
667
  # Output only. The [KMS key name](https://cloud.google.com/kms/docs/resource-
576
668
  # hierarchy#keys) with which the content of the PhraseSet is encrypted. The
577
669
  # expected format is `projects/`project`/locations/`location`/keyRings/`key_ring`
@@ -599,17 +691,43 @@ module Google
599
691
  # @return [Array<Google::Apis::SpeechV1p1beta1::Phrase>]
600
692
  attr_accessor :phrases
601
693
 
694
+ # Output only. Whether or not this PhraseSet is in the process of being updated.
695
+ # This field is not used.
696
+ # Corresponds to the JSON property `reconciling`
697
+ # @return [Boolean]
698
+ attr_accessor :reconciling
699
+ alias_method :reconciling?, :reconciling
700
+
701
+ # Output only. The CustomClass lifecycle state. This field is not used.
702
+ # Corresponds to the JSON property `state`
703
+ # @return [String]
704
+ attr_accessor :state
705
+
706
+ # Output only. System-assigned unique identifier for the PhraseSet. This field
707
+ # is not used.
708
+ # Corresponds to the JSON property `uid`
709
+ # @return [String]
710
+ attr_accessor :uid
711
+
602
712
  def initialize(**args)
603
713
  update!(**args)
604
714
  end
605
715
 
606
716
  # Update properties of this object
607
717
  def update!(**args)
718
+ @annotations = args[:annotations] if args.key?(:annotations)
608
719
  @boost = args[:boost] if args.key?(:boost)
720
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
721
+ @display_name = args[:display_name] if args.key?(:display_name)
722
+ @etag = args[:etag] if args.key?(:etag)
723
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
609
724
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
610
725
  @kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
611
726
  @name = args[:name] if args.key?(:name)
612
727
  @phrases = args[:phrases] if args.key?(:phrases)
728
+ @reconciling = args[:reconciling] if args.key?(:reconciling)
729
+ @state = args[:state] if args.key?(:state)
730
+ @uid = args[:uid] if args.key?(:uid)
613
731
  end
614
732
  end
615
733
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SpeechV1p1beta1
18
18
  # Version of the google-apis-speech_v1p1beta1 gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.39.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 = "20230418"
25
+ REVISION = "20230901"
26
26
  end
27
27
  end
28
28
  end
@@ -243,12 +243,20 @@ module Google
243
243
  class CustomClass
244
244
  # @private
245
245
  class Representation < Google::Apis::Core::JsonRepresentation
246
+ hash :annotations, as: 'annotations'
246
247
  property :custom_class_id, as: 'customClassId'
248
+ property :delete_time, as: 'deleteTime'
249
+ property :display_name, as: 'displayName'
250
+ property :etag, as: 'etag'
251
+ property :expire_time, as: 'expireTime'
247
252
  collection :items, as: 'items', class: Google::Apis::SpeechV1p1beta1::ClassItem, decorator: Google::Apis::SpeechV1p1beta1::ClassItem::Representation
248
253
 
249
254
  property :kms_key_name, as: 'kmsKeyName'
250
255
  property :kms_key_version_name, as: 'kmsKeyVersionName'
251
256
  property :name, as: 'name'
257
+ property :reconciling, as: 'reconciling'
258
+ property :state, as: 'state'
259
+ property :uid, as: 'uid'
252
260
  end
253
261
  end
254
262
 
@@ -357,12 +365,20 @@ module Google
357
365
  class PhraseSet
358
366
  # @private
359
367
  class Representation < Google::Apis::Core::JsonRepresentation
368
+ hash :annotations, as: 'annotations'
360
369
  property :boost, as: 'boost'
370
+ property :delete_time, as: 'deleteTime'
371
+ property :display_name, as: 'displayName'
372
+ property :etag, as: 'etag'
373
+ property :expire_time, as: 'expireTime'
361
374
  property :kms_key_name, as: 'kmsKeyName'
362
375
  property :kms_key_version_name, as: 'kmsKeyVersionName'
363
376
  property :name, as: 'name'
364
377
  collection :phrases, as: 'phrases', class: Google::Apis::SpeechV1p1beta1::Phrase, decorator: Google::Apis::SpeechV1p1beta1::Phrase::Representation
365
378
 
379
+ property :reconciling, as: 'reconciling'
380
+ property :state, as: 'state'
381
+ property :uid, as: 'uid'
366
382
  end
367
383
  end
368
384
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-speech_v1p1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.39.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-04-23 00:00:00.000000000 Z
11
+ date: 2023-09-10 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_v1p1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1p1beta1/v0.39.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-speech_v1p1beta1
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 Speech-to-Text API V1p1beta1