google-cloud-language-v1beta2 0.4.0 → 0.4.4
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/AUTHENTICATION.md +8 -8
- data/README.md +1 -1
- data/lib/google/cloud/language/v1beta2/language_service/client.rb +144 -67
- data/lib/google/cloud/language/v1beta2/language_service_pb.rb +2 -2
- data/lib/google/cloud/language/v1beta2/language_service_services_pb.rb +1 -1
- data/lib/google/cloud/language/v1beta2/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +7 -1
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9bed2375baece2b05f28490d372af501819f44e5083e36d3fca388f9ec1c687
|
4
|
+
data.tar.gz: 89d25beb14bca36ac4f9794620e83cf9bac2e8aa40ff7d44304578f8a4edd752
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e55a9b5ea21e4bfc4b95ca3459068a26970800c3a777a53a0b02ce5a68d09ba4ff4dbf61454b0f56df521affcf2798f8156326440f8922bf1a7c755bfedd3b9
|
7
|
+
data.tar.gz: 666ca9335f7d5ac81d943f36d146c6bcc7094daec968efa7ee88486ab753868b41d87643bf2bc2256f916cd23ff6adc66aad99b4c9bc4502f6ba213fb6d585ae
|
data/AUTHENTICATION.md
CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-language-v1beta2
|
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
67
|
{::Google::Cloud::Language::V1beta2::LanguageService::Credentials}):
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
69
|
+
* `LANGUAGE_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
|
+
* `LANGUAGE_KEYFILE` - Path to JSON file, or JSON contents
|
71
|
+
* `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
|
72
|
+
* `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
|
73
|
+
* `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
|
74
74
|
|
75
75
|
```ruby
|
76
76
|
require "google/cloud/language/v1beta2"
|
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Language::V1beta2::LanguageService::Client.new
|
|
82
82
|
|
83
83
|
### Configuration
|
84
84
|
|
85
|
-
The **Credentials JSON** can be configured instead of
|
86
|
-
environment
|
85
|
+
The path to the **Credentials JSON** file can be configured instead of storing
|
86
|
+
it in an environment variable. Either on an individual client initialization:
|
87
87
|
|
88
88
|
```ruby
|
89
89
|
require "google/cloud/language/v1beta2"
|
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Language::V1beta2::LanguageService::Client.new do |con
|
|
93
93
|
end
|
94
94
|
```
|
95
95
|
|
96
|
-
Or
|
96
|
+
Or globally for all clients:
|
97
97
|
|
98
98
|
```ruby
|
99
99
|
require "google/cloud/language/v1beta2"
|
data/README.md
CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
|
|
33
33
|
require "google/cloud/language/v1beta2"
|
34
34
|
|
35
35
|
client = ::Google::Cloud::Language::V1beta2::LanguageService::Client.new
|
36
|
-
request =
|
36
|
+
request = ::Google::Cloud::Language::V1beta2::AnalyzeSentimentRequest.new # (request fields as keyword arguments...)
|
37
37
|
response = client.analyze_sentiment request
|
38
38
|
```
|
39
39
|
|
@@ -40,13 +40,12 @@ module Google
|
|
40
40
|
# See {::Google::Cloud::Language::V1beta2::LanguageService::Client::Configuration}
|
41
41
|
# for a description of the configuration fields.
|
42
42
|
#
|
43
|
-
#
|
43
|
+
# @example
|
44
44
|
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
# end
|
45
|
+
# # Modify the configuration for all LanguageService clients
|
46
|
+
# ::Google::Cloud::Language::V1beta2::LanguageService::Client.configure do |config|
|
47
|
+
# config.timeout = 10.0
|
48
|
+
# end
|
50
49
|
#
|
51
50
|
# @yield [config] Configure the Client client.
|
52
51
|
# @yieldparam config [Client::Configuration]
|
@@ -66,50 +65,32 @@ module Google
|
|
66
65
|
|
67
66
|
default_config.rpcs.analyze_sentiment.timeout = 600.0
|
68
67
|
default_config.rpcs.analyze_sentiment.retry_policy = {
|
69
|
-
initial_delay: 0.1,
|
70
|
-
max_delay: 60.0,
|
71
|
-
multiplier: 1.3,
|
72
|
-
retry_codes: [14, 4]
|
68
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
73
69
|
}
|
74
70
|
|
75
71
|
default_config.rpcs.analyze_entities.timeout = 600.0
|
76
72
|
default_config.rpcs.analyze_entities.retry_policy = {
|
77
|
-
initial_delay: 0.1,
|
78
|
-
max_delay: 60.0,
|
79
|
-
multiplier: 1.3,
|
80
|
-
retry_codes: [14, 4]
|
73
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
81
74
|
}
|
82
75
|
|
83
76
|
default_config.rpcs.analyze_entity_sentiment.timeout = 600.0
|
84
77
|
default_config.rpcs.analyze_entity_sentiment.retry_policy = {
|
85
|
-
initial_delay: 0.1,
|
86
|
-
max_delay: 60.0,
|
87
|
-
multiplier: 1.3,
|
88
|
-
retry_codes: [14, 4]
|
78
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
89
79
|
}
|
90
80
|
|
91
81
|
default_config.rpcs.analyze_syntax.timeout = 600.0
|
92
82
|
default_config.rpcs.analyze_syntax.retry_policy = {
|
93
|
-
initial_delay: 0.1,
|
94
|
-
max_delay: 60.0,
|
95
|
-
multiplier: 1.3,
|
96
|
-
retry_codes: [14, 4]
|
83
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
97
84
|
}
|
98
85
|
|
99
86
|
default_config.rpcs.classify_text.timeout = 600.0
|
100
87
|
default_config.rpcs.classify_text.retry_policy = {
|
101
|
-
initial_delay: 0.1,
|
102
|
-
max_delay: 60.0,
|
103
|
-
multiplier: 1.3,
|
104
|
-
retry_codes: [14, 4]
|
88
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
105
89
|
}
|
106
90
|
|
107
91
|
default_config.rpcs.annotate_text.timeout = 600.0
|
108
92
|
default_config.rpcs.annotate_text.retry_policy = {
|
109
|
-
initial_delay: 0.1,
|
110
|
-
max_delay: 60.0,
|
111
|
-
multiplier: 1.3,
|
112
|
-
retry_codes: [14, 4]
|
93
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
113
94
|
}
|
114
95
|
|
115
96
|
default_config
|
@@ -141,19 +122,15 @@ module Google
|
|
141
122
|
##
|
142
123
|
# Create a new LanguageService client object.
|
143
124
|
#
|
144
|
-
#
|
145
|
-
#
|
146
|
-
# To create a new LanguageService client with the default
|
147
|
-
# configuration:
|
148
|
-
#
|
149
|
-
# client = ::Google::Cloud::Language::V1beta2::LanguageService::Client.new
|
125
|
+
# @example
|
150
126
|
#
|
151
|
-
#
|
152
|
-
#
|
127
|
+
# # Create a client using the default configuration
|
128
|
+
# client = ::Google::Cloud::Language::V1beta2::LanguageService::Client.new
|
153
129
|
#
|
154
|
-
#
|
155
|
-
#
|
156
|
-
#
|
130
|
+
# # Create a client using a custom configuration
|
131
|
+
# client = ::Google::Cloud::Language::V1beta2::LanguageService::Client.new do |config|
|
132
|
+
# config.timeout = 10.0
|
133
|
+
# end
|
157
134
|
#
|
158
135
|
# @yield [config] Configure the LanguageService client.
|
159
136
|
# @yieldparam config [Client::Configuration]
|
@@ -173,14 +150,13 @@ module Google
|
|
173
150
|
|
174
151
|
# Create credentials
|
175
152
|
credentials = @config.credentials
|
176
|
-
# Use self-signed JWT if the
|
153
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
177
154
|
# but only if the default endpoint does not have a region prefix.
|
178
|
-
enable_self_signed_jwt = @config.
|
179
|
-
@config.endpoint == Client.configure.endpoint &&
|
155
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
180
156
|
!@config.endpoint.split(".").first.include?("-")
|
181
157
|
credentials ||= Credentials.default scope: @config.scope,
|
182
158
|
enable_self_signed_jwt: enable_self_signed_jwt
|
183
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
159
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
184
160
|
credentials = Credentials.new credentials, scope: @config.scope
|
185
161
|
end
|
186
162
|
@quota_project_id = @config.quota_project
|
@@ -229,6 +205,21 @@ module Google
|
|
229
205
|
#
|
230
206
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
231
207
|
#
|
208
|
+
# @example Basic example
|
209
|
+
# require "google/cloud/language/v1beta2"
|
210
|
+
#
|
211
|
+
# # Create a client object. The client can be reused for multiple calls.
|
212
|
+
# client = Google::Cloud::Language::V1beta2::LanguageService::Client.new
|
213
|
+
#
|
214
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
215
|
+
# request = Google::Cloud::Language::V1beta2::AnalyzeSentimentRequest.new
|
216
|
+
#
|
217
|
+
# # Call the analyze_sentiment method.
|
218
|
+
# result = client.analyze_sentiment request
|
219
|
+
#
|
220
|
+
# # The returned object is of type Google::Cloud::Language::V1beta2::AnalyzeSentimentResponse.
|
221
|
+
# p result
|
222
|
+
#
|
232
223
|
def analyze_sentiment request, options = nil
|
233
224
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
234
225
|
|
@@ -249,7 +240,9 @@ module Google
|
|
249
240
|
options.apply_defaults timeout: @config.rpcs.analyze_sentiment.timeout,
|
250
241
|
metadata: metadata,
|
251
242
|
retry_policy: @config.rpcs.analyze_sentiment.retry_policy
|
252
|
-
|
243
|
+
|
244
|
+
options.apply_defaults timeout: @config.timeout,
|
245
|
+
metadata: @config.metadata,
|
253
246
|
retry_policy: @config.retry_policy
|
254
247
|
|
255
248
|
@language_service_stub.call_rpc :analyze_sentiment, request, options: options do |response, operation|
|
@@ -293,6 +286,21 @@ module Google
|
|
293
286
|
#
|
294
287
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
295
288
|
#
|
289
|
+
# @example Basic example
|
290
|
+
# require "google/cloud/language/v1beta2"
|
291
|
+
#
|
292
|
+
# # Create a client object. The client can be reused for multiple calls.
|
293
|
+
# client = Google::Cloud::Language::V1beta2::LanguageService::Client.new
|
294
|
+
#
|
295
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
296
|
+
# request = Google::Cloud::Language::V1beta2::AnalyzeEntitiesRequest.new
|
297
|
+
#
|
298
|
+
# # Call the analyze_entities method.
|
299
|
+
# result = client.analyze_entities request
|
300
|
+
#
|
301
|
+
# # The returned object is of type Google::Cloud::Language::V1beta2::AnalyzeEntitiesResponse.
|
302
|
+
# p result
|
303
|
+
#
|
296
304
|
def analyze_entities request, options = nil
|
297
305
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
298
306
|
|
@@ -313,7 +321,9 @@ module Google
|
|
313
321
|
options.apply_defaults timeout: @config.rpcs.analyze_entities.timeout,
|
314
322
|
metadata: metadata,
|
315
323
|
retry_policy: @config.rpcs.analyze_entities.retry_policy
|
316
|
-
|
324
|
+
|
325
|
+
options.apply_defaults timeout: @config.timeout,
|
326
|
+
metadata: @config.metadata,
|
317
327
|
retry_policy: @config.retry_policy
|
318
328
|
|
319
329
|
@language_service_stub.call_rpc :analyze_entities, request, options: options do |response, operation|
|
@@ -356,6 +366,21 @@ module Google
|
|
356
366
|
#
|
357
367
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
358
368
|
#
|
369
|
+
# @example Basic example
|
370
|
+
# require "google/cloud/language/v1beta2"
|
371
|
+
#
|
372
|
+
# # Create a client object. The client can be reused for multiple calls.
|
373
|
+
# client = Google::Cloud::Language::V1beta2::LanguageService::Client.new
|
374
|
+
#
|
375
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
376
|
+
# request = Google::Cloud::Language::V1beta2::AnalyzeEntitySentimentRequest.new
|
377
|
+
#
|
378
|
+
# # Call the analyze_entity_sentiment method.
|
379
|
+
# result = client.analyze_entity_sentiment request
|
380
|
+
#
|
381
|
+
# # The returned object is of type Google::Cloud::Language::V1beta2::AnalyzeEntitySentimentResponse.
|
382
|
+
# p result
|
383
|
+
#
|
359
384
|
def analyze_entity_sentiment request, options = nil
|
360
385
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
361
386
|
|
@@ -376,7 +401,9 @@ module Google
|
|
376
401
|
options.apply_defaults timeout: @config.rpcs.analyze_entity_sentiment.timeout,
|
377
402
|
metadata: metadata,
|
378
403
|
retry_policy: @config.rpcs.analyze_entity_sentiment.retry_policy
|
379
|
-
|
404
|
+
|
405
|
+
options.apply_defaults timeout: @config.timeout,
|
406
|
+
metadata: @config.metadata,
|
380
407
|
retry_policy: @config.retry_policy
|
381
408
|
|
382
409
|
@language_service_stub.call_rpc :analyze_entity_sentiment, request, options: options do |response, operation|
|
@@ -420,6 +447,21 @@ module Google
|
|
420
447
|
#
|
421
448
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
422
449
|
#
|
450
|
+
# @example Basic example
|
451
|
+
# require "google/cloud/language/v1beta2"
|
452
|
+
#
|
453
|
+
# # Create a client object. The client can be reused for multiple calls.
|
454
|
+
# client = Google::Cloud::Language::V1beta2::LanguageService::Client.new
|
455
|
+
#
|
456
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
457
|
+
# request = Google::Cloud::Language::V1beta2::AnalyzeSyntaxRequest.new
|
458
|
+
#
|
459
|
+
# # Call the analyze_syntax method.
|
460
|
+
# result = client.analyze_syntax request
|
461
|
+
#
|
462
|
+
# # The returned object is of type Google::Cloud::Language::V1beta2::AnalyzeSyntaxResponse.
|
463
|
+
# p result
|
464
|
+
#
|
423
465
|
def analyze_syntax request, options = nil
|
424
466
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
425
467
|
|
@@ -440,7 +482,9 @@ module Google
|
|
440
482
|
options.apply_defaults timeout: @config.rpcs.analyze_syntax.timeout,
|
441
483
|
metadata: metadata,
|
442
484
|
retry_policy: @config.rpcs.analyze_syntax.retry_policy
|
443
|
-
|
485
|
+
|
486
|
+
options.apply_defaults timeout: @config.timeout,
|
487
|
+
metadata: @config.metadata,
|
444
488
|
retry_policy: @config.retry_policy
|
445
489
|
|
446
490
|
@language_service_stub.call_rpc :analyze_syntax, request, options: options do |response, operation|
|
@@ -480,6 +524,21 @@ module Google
|
|
480
524
|
#
|
481
525
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
482
526
|
#
|
527
|
+
# @example Basic example
|
528
|
+
# require "google/cloud/language/v1beta2"
|
529
|
+
#
|
530
|
+
# # Create a client object. The client can be reused for multiple calls.
|
531
|
+
# client = Google::Cloud::Language::V1beta2::LanguageService::Client.new
|
532
|
+
#
|
533
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
534
|
+
# request = Google::Cloud::Language::V1beta2::ClassifyTextRequest.new
|
535
|
+
#
|
536
|
+
# # Call the classify_text method.
|
537
|
+
# result = client.classify_text request
|
538
|
+
#
|
539
|
+
# # The returned object is of type Google::Cloud::Language::V1beta2::ClassifyTextResponse.
|
540
|
+
# p result
|
541
|
+
#
|
483
542
|
def classify_text request, options = nil
|
484
543
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
485
544
|
|
@@ -500,7 +559,9 @@ module Google
|
|
500
559
|
options.apply_defaults timeout: @config.rpcs.classify_text.timeout,
|
501
560
|
metadata: metadata,
|
502
561
|
retry_policy: @config.rpcs.classify_text.retry_policy
|
503
|
-
|
562
|
+
|
563
|
+
options.apply_defaults timeout: @config.timeout,
|
564
|
+
metadata: @config.metadata,
|
504
565
|
retry_policy: @config.retry_policy
|
505
566
|
|
506
567
|
@language_service_stub.call_rpc :classify_text, request, options: options do |response, operation|
|
@@ -545,6 +606,21 @@ module Google
|
|
545
606
|
#
|
546
607
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
547
608
|
#
|
609
|
+
# @example Basic example
|
610
|
+
# require "google/cloud/language/v1beta2"
|
611
|
+
#
|
612
|
+
# # Create a client object. The client can be reused for multiple calls.
|
613
|
+
# client = Google::Cloud::Language::V1beta2::LanguageService::Client.new
|
614
|
+
#
|
615
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
616
|
+
# request = Google::Cloud::Language::V1beta2::AnnotateTextRequest.new
|
617
|
+
#
|
618
|
+
# # Call the annotate_text method.
|
619
|
+
# result = client.annotate_text request
|
620
|
+
#
|
621
|
+
# # The returned object is of type Google::Cloud::Language::V1beta2::AnnotateTextResponse.
|
622
|
+
# p result
|
623
|
+
#
|
548
624
|
def annotate_text request, options = nil
|
549
625
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
550
626
|
|
@@ -565,7 +641,9 @@ module Google
|
|
565
641
|
options.apply_defaults timeout: @config.rpcs.annotate_text.timeout,
|
566
642
|
metadata: metadata,
|
567
643
|
retry_policy: @config.rpcs.annotate_text.retry_policy
|
568
|
-
|
644
|
+
|
645
|
+
options.apply_defaults timeout: @config.timeout,
|
646
|
+
metadata: @config.metadata,
|
569
647
|
retry_policy: @config.retry_policy
|
570
648
|
|
571
649
|
@language_service_stub.call_rpc :annotate_text, request, options: options do |response, operation|
|
@@ -589,22 +667,21 @@ module Google
|
|
589
667
|
# Configuration can be applied globally to all clients, or to a single client
|
590
668
|
# on construction.
|
591
669
|
#
|
592
|
-
#
|
593
|
-
#
|
594
|
-
#
|
595
|
-
# to 20 seconds,
|
596
|
-
#
|
597
|
-
#
|
598
|
-
#
|
599
|
-
#
|
600
|
-
#
|
601
|
-
#
|
602
|
-
#
|
603
|
-
#
|
604
|
-
#
|
605
|
-
#
|
606
|
-
#
|
607
|
-
# end
|
670
|
+
# @example
|
671
|
+
#
|
672
|
+
# # Modify the global config, setting the timeout for
|
673
|
+
# # analyze_sentiment to 20 seconds,
|
674
|
+
# # and all remaining timeouts to 10 seconds.
|
675
|
+
# ::Google::Cloud::Language::V1beta2::LanguageService::Client.configure do |config|
|
676
|
+
# config.timeout = 10.0
|
677
|
+
# config.rpcs.analyze_sentiment.timeout = 20.0
|
678
|
+
# end
|
679
|
+
#
|
680
|
+
# # Apply the above configuration only to a new client.
|
681
|
+
# client = ::Google::Cloud::Language::V1beta2::LanguageService::Client.new do |config|
|
682
|
+
# config.timeout = 10.0
|
683
|
+
# config.rpcs.analyze_sentiment.timeout = 20.0
|
684
|
+
# end
|
608
685
|
#
|
609
686
|
# @!attribute [rw] endpoint
|
610
687
|
# The hostname or hostname:port of the service endpoint.
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/language/v1beta2/language_service.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
9
7
|
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'google/protobuf'
|
9
|
+
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
11
|
add_file("google/cloud/language/v1beta2/language_service.proto", :syntax => :proto3) do
|
12
12
|
add_message "google.cloud.language.v1beta2.Document" do
|
@@ -57,9 +57,15 @@ module Google
|
|
57
57
|
|
58
58
|
# Denotes that a (repeated) field is an unordered list.
|
59
59
|
# This indicates that the service may provide the elements of the list
|
60
|
-
# in any arbitrary
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
61
|
# provided. Additionally, the list's order may or may not be stable.
|
62
62
|
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-language-v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.7'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.7'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: google-cloud-errors
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -196,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
202
|
- !ruby/object:Gem::Version
|
197
203
|
version: '0'
|
198
204
|
requirements: []
|
199
|
-
rubygems_version: 3.2.
|
205
|
+
rubygems_version: 3.2.17
|
200
206
|
signing_key:
|
201
207
|
specification_version: 4
|
202
208
|
summary: API Client library for the Natural Language V1beta2 API
|