google-apis-speech_v1 0.35.0 → 0.36.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/speech_v1/classes.rb +118 -0
- data/lib/google/apis/speech_v1/gem_version.rb +2 -2
- data/lib/google/apis/speech_v1/representations.rb +16 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f75950d13605bbaf88b8cee4fbe9ad36e1017f9e811eccbb9bc400156258fc8d
|
4
|
+
data.tar.gz: 48fed50301b8eb3dd55a0191208f40e3fb12c34461c7cffdd797fd7f8407160f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3741222ee4f72917f2e7804f1a27bccb5a85d7f253a0f2bafea5a47c8d22523f4666ffee5b7e6d0a29857bad5086db5c555c4cc7d2b728aad704edf74a158e86
|
7
|
+
data.tar.gz: ec0e2bbb2c16aa47e05e4c7cc93ea0f6868a5b59ba5aab59d6ae19248c4b2cd9136a1f523f9017378353143442d369635f81c3f57bf76354f653b814c75c122b
|
data/CHANGELOG.md
CHANGED
@@ -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::SpeechV1::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
|
|
@@ -521,6 +580,13 @@ module Google
|
|
521
580
|
class PhraseSet
|
522
581
|
include Google::Apis::Core::Hashable
|
523
582
|
|
583
|
+
# Output only. Allows users to store small amounts of arbitrary data. Both the
|
584
|
+
# key and the value must be 63 characters or less each. At most 100 annotations.
|
585
|
+
# This field is not used.
|
586
|
+
# Corresponds to the JSON property `annotations`
|
587
|
+
# @return [Hash<String,String>]
|
588
|
+
attr_accessor :annotations
|
589
|
+
|
524
590
|
# Hint Boost. Positive value will increase the probability that a specific
|
525
591
|
# phrase will be recognized over other similar sounding phrases. The higher the
|
526
592
|
# boost, the higher the chance of false positive recognition as well. Negative
|
@@ -534,6 +600,32 @@ module Google
|
|
534
600
|
# @return [Float]
|
535
601
|
attr_accessor :boost
|
536
602
|
|
603
|
+
# Output only. The time at which this resource was requested for deletion. This
|
604
|
+
# field is not used.
|
605
|
+
# Corresponds to the JSON property `deleteTime`
|
606
|
+
# @return [String]
|
607
|
+
attr_accessor :delete_time
|
608
|
+
|
609
|
+
# Output only. User-settable, human-readable name for the PhraseSet. Must be 63
|
610
|
+
# characters or less. This field is not used.
|
611
|
+
# Corresponds to the JSON property `displayName`
|
612
|
+
# @return [String]
|
613
|
+
attr_accessor :display_name
|
614
|
+
|
615
|
+
# Output only. This checksum is computed by the server based on the value of
|
616
|
+
# other fields. This may be sent on update, undelete, and delete requests to
|
617
|
+
# ensure the client has an up-to-date value before proceeding. This field is not
|
618
|
+
# used.
|
619
|
+
# Corresponds to the JSON property `etag`
|
620
|
+
# @return [String]
|
621
|
+
attr_accessor :etag
|
622
|
+
|
623
|
+
# Output only. The time at which this resource will be purged. This field is not
|
624
|
+
# used.
|
625
|
+
# Corresponds to the JSON property `expireTime`
|
626
|
+
# @return [String]
|
627
|
+
attr_accessor :expire_time
|
628
|
+
|
537
629
|
# Output only. The [KMS key name](https://cloud.google.com/kms/docs/resource-
|
538
630
|
# hierarchy#keys) with which the content of the PhraseSet is encrypted. The
|
539
631
|
# expected format is `projects/`project`/locations/`location`/keyRings/`key_ring`
|
@@ -561,17 +653,43 @@ module Google
|
|
561
653
|
# @return [Array<Google::Apis::SpeechV1::Phrase>]
|
562
654
|
attr_accessor :phrases
|
563
655
|
|
656
|
+
# Output only. Whether or not this PhraseSet is in the process of being updated.
|
657
|
+
# This field is not used.
|
658
|
+
# Corresponds to the JSON property `reconciling`
|
659
|
+
# @return [Boolean]
|
660
|
+
attr_accessor :reconciling
|
661
|
+
alias_method :reconciling?, :reconciling
|
662
|
+
|
663
|
+
# Output only. The CustomClass lifecycle state. This field is not used.
|
664
|
+
# Corresponds to the JSON property `state`
|
665
|
+
# @return [String]
|
666
|
+
attr_accessor :state
|
667
|
+
|
668
|
+
# Output only. System-assigned unique identifier for the PhraseSet. This field
|
669
|
+
# is not used.
|
670
|
+
# Corresponds to the JSON property `uid`
|
671
|
+
# @return [String]
|
672
|
+
attr_accessor :uid
|
673
|
+
|
564
674
|
def initialize(**args)
|
565
675
|
update!(**args)
|
566
676
|
end
|
567
677
|
|
568
678
|
# Update properties of this object
|
569
679
|
def update!(**args)
|
680
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
570
681
|
@boost = args[:boost] if args.key?(:boost)
|
682
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
683
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
684
|
+
@etag = args[:etag] if args.key?(:etag)
|
685
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
571
686
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
572
687
|
@kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
|
573
688
|
@name = args[:name] if args.key?(:name)
|
574
689
|
@phrases = args[:phrases] if args.key?(:phrases)
|
690
|
+
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
691
|
+
@state = args[:state] if args.key?(:state)
|
692
|
+
@uid = args[:uid] if args.key?(:uid)
|
575
693
|
end
|
576
694
|
end
|
577
695
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.36.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 = "
|
25
|
+
REVISION = "20230901"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -231,12 +231,20 @@ module Google
|
|
231
231
|
class CustomClass
|
232
232
|
# @private
|
233
233
|
class Representation < Google::Apis::Core::JsonRepresentation
|
234
|
+
hash :annotations, as: 'annotations'
|
234
235
|
property :custom_class_id, as: 'customClassId'
|
236
|
+
property :delete_time, as: 'deleteTime'
|
237
|
+
property :display_name, as: 'displayName'
|
238
|
+
property :etag, as: 'etag'
|
239
|
+
property :expire_time, as: 'expireTime'
|
235
240
|
collection :items, as: 'items', class: Google::Apis::SpeechV1::ClassItem, decorator: Google::Apis::SpeechV1::ClassItem::Representation
|
236
241
|
|
237
242
|
property :kms_key_name, as: 'kmsKeyName'
|
238
243
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
239
244
|
property :name, as: 'name'
|
245
|
+
property :reconciling, as: 'reconciling'
|
246
|
+
property :state, as: 'state'
|
247
|
+
property :uid, as: 'uid'
|
240
248
|
end
|
241
249
|
end
|
242
250
|
|
@@ -334,12 +342,20 @@ module Google
|
|
334
342
|
class PhraseSet
|
335
343
|
# @private
|
336
344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
345
|
+
hash :annotations, as: 'annotations'
|
337
346
|
property :boost, as: 'boost'
|
347
|
+
property :delete_time, as: 'deleteTime'
|
348
|
+
property :display_name, as: 'displayName'
|
349
|
+
property :etag, as: 'etag'
|
350
|
+
property :expire_time, as: 'expireTime'
|
338
351
|
property :kms_key_name, as: 'kmsKeyName'
|
339
352
|
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
340
353
|
property :name, as: 'name'
|
341
354
|
collection :phrases, as: 'phrases', class: Google::Apis::SpeechV1::Phrase, decorator: Google::Apis::SpeechV1::Phrase::Representation
|
342
355
|
|
356
|
+
property :reconciling, as: 'reconciling'
|
357
|
+
property :state, as: 'state'
|
358
|
+
property :uid, as: 'uid'
|
343
359
|
end
|
344
360
|
end
|
345
361
|
|
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.
|
4
|
+
version: 0.36.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-
|
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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.36.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: []
|
@@ -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.
|
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 V1
|