google-cloud-video_intelligence-v1beta2 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21f02636b8d724f70ed98856e21f70b8cc0dd953d8afa51c75d410e38332e717
|
4
|
+
data.tar.gz: 7b68959a671988dbe77293d06fc1112d412c588c4e2b82b1b63c976d7b5b5506
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2fda5eb223d47fea853bc859dde20374fc5bec2f3dcd420ab2c74cd5acc556fa403dd959ba74ddc4445a8c8c992df8f8f09fd8a379e94c97b4ff662ac5ec3c3
|
7
|
+
data.tar.gz: b17b9086845e549ef59543c201676575b2a6fc37aac43854aa322c982d8c7c502bd36f3731152d22b045289deb300089a4eb5a165884f593dc67166a891487c0
|
@@ -39,13 +39,12 @@ module Google
|
|
39
39
|
# See {::Google::Cloud::VideoIntelligence::V1beta2::VideoIntelligenceService::Client::Configuration}
|
40
40
|
# for a description of the configuration fields.
|
41
41
|
#
|
42
|
-
#
|
42
|
+
# @example
|
43
43
|
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
# end
|
44
|
+
# # Modify the configuration for all VideoIntelligenceService clients
|
45
|
+
# ::Google::Cloud::VideoIntelligence::V1beta2::VideoIntelligenceService::Client.configure do |config|
|
46
|
+
# config.timeout = 10.0
|
47
|
+
# end
|
49
48
|
#
|
50
49
|
# @yield [config] Configure the Client client.
|
51
50
|
# @yieldparam config [Client::Configuration]
|
@@ -97,19 +96,15 @@ module Google
|
|
97
96
|
##
|
98
97
|
# Create a new VideoIntelligenceService client object.
|
99
98
|
#
|
100
|
-
#
|
101
|
-
#
|
102
|
-
# To create a new VideoIntelligenceService client with the default
|
103
|
-
# configuration:
|
99
|
+
# @example
|
104
100
|
#
|
105
|
-
#
|
101
|
+
# # Create a client using the default configuration
|
102
|
+
# client = ::Google::Cloud::VideoIntelligence::V1beta2::VideoIntelligenceService::Client.new
|
106
103
|
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
#
|
110
|
-
#
|
111
|
-
# config.timeout = 10.0
|
112
|
-
# end
|
104
|
+
# # Create a client using a custom configuration
|
105
|
+
# client = ::Google::Cloud::VideoIntelligence::V1beta2::VideoIntelligenceService::Client.new do |config|
|
106
|
+
# config.timeout = 10.0
|
107
|
+
# end
|
113
108
|
#
|
114
109
|
# @yield [config] Configure the VideoIntelligenceService client.
|
115
110
|
# @yieldparam config [Client::Configuration]
|
@@ -129,10 +124,9 @@ module Google
|
|
129
124
|
|
130
125
|
# Create credentials
|
131
126
|
credentials = @config.credentials
|
132
|
-
# Use self-signed JWT if the
|
127
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
133
128
|
# but only if the default endpoint does not have a region prefix.
|
134
|
-
enable_self_signed_jwt = @config.
|
135
|
-
@config.endpoint == Client.configure.endpoint &&
|
129
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
136
130
|
!@config.endpoint.split(".").first.include?("-")
|
137
131
|
credentials ||= Credentials.default scope: @config.scope,
|
138
132
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -247,7 +241,9 @@ module Google
|
|
247
241
|
options.apply_defaults timeout: @config.rpcs.annotate_video.timeout,
|
248
242
|
metadata: metadata,
|
249
243
|
retry_policy: @config.rpcs.annotate_video.retry_policy
|
250
|
-
|
244
|
+
|
245
|
+
options.apply_defaults timeout: @config.timeout,
|
246
|
+
metadata: @config.metadata,
|
251
247
|
retry_policy: @config.retry_policy
|
252
248
|
|
253
249
|
@video_intelligence_service_stub.call_rpc :annotate_video, request, options: options do |response, operation|
|
@@ -272,22 +268,21 @@ module Google
|
|
272
268
|
# Configuration can be applied globally to all clients, or to a single client
|
273
269
|
# on construction.
|
274
270
|
#
|
275
|
-
#
|
276
|
-
#
|
277
|
-
#
|
278
|
-
# to 20 seconds,
|
279
|
-
#
|
280
|
-
#
|
281
|
-
#
|
282
|
-
#
|
283
|
-
#
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
287
|
-
#
|
288
|
-
#
|
289
|
-
#
|
290
|
-
# end
|
271
|
+
# @example
|
272
|
+
#
|
273
|
+
# # Modify the global config, setting the timeout for
|
274
|
+
# # annotate_video to 20 seconds,
|
275
|
+
# # and all remaining timeouts to 10 seconds.
|
276
|
+
# ::Google::Cloud::VideoIntelligence::V1beta2::VideoIntelligenceService::Client.configure do |config|
|
277
|
+
# config.timeout = 10.0
|
278
|
+
# config.rpcs.annotate_video.timeout = 20.0
|
279
|
+
# end
|
280
|
+
#
|
281
|
+
# # Apply the above configuration only to a new client.
|
282
|
+
# client = ::Google::Cloud::VideoIntelligence::V1beta2::VideoIntelligenceService::Client.new do |config|
|
283
|
+
# config.timeout = 10.0
|
284
|
+
# config.rpcs.annotate_video.timeout = 20.0
|
285
|
+
# end
|
291
286
|
#
|
292
287
|
# @!attribute [rw] endpoint
|
293
288
|
# The hostname or hostname:port of the service endpoint.
|
@@ -169,7 +169,9 @@ module Google
|
|
169
169
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
170
170
|
metadata: metadata,
|
171
171
|
retry_policy: @config.rpcs.list_operations.retry_policy
|
172
|
-
|
172
|
+
|
173
|
+
options.apply_defaults timeout: @config.timeout,
|
174
|
+
metadata: @config.metadata,
|
173
175
|
retry_policy: @config.retry_policy
|
174
176
|
|
175
177
|
@operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
|
@@ -239,7 +241,9 @@ module Google
|
|
239
241
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
240
242
|
metadata: metadata,
|
241
243
|
retry_policy: @config.rpcs.get_operation.retry_policy
|
242
|
-
|
244
|
+
|
245
|
+
options.apply_defaults timeout: @config.timeout,
|
246
|
+
metadata: @config.metadata,
|
243
247
|
retry_policy: @config.retry_policy
|
244
248
|
|
245
249
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
@@ -309,7 +313,9 @@ module Google
|
|
309
313
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
310
314
|
metadata: metadata,
|
311
315
|
retry_policy: @config.rpcs.delete_operation.retry_policy
|
312
|
-
|
316
|
+
|
317
|
+
options.apply_defaults timeout: @config.timeout,
|
318
|
+
metadata: @config.metadata,
|
313
319
|
retry_policy: @config.retry_policy
|
314
320
|
|
315
321
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
@@ -384,7 +390,9 @@ module Google
|
|
384
390
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
385
391
|
metadata: metadata,
|
386
392
|
retry_policy: @config.rpcs.cancel_operation.retry_policy
|
387
|
-
|
393
|
+
|
394
|
+
options.apply_defaults timeout: @config.timeout,
|
395
|
+
metadata: @config.metadata,
|
388
396
|
retry_policy: @config.retry_policy
|
389
397
|
|
390
398
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
@@ -456,7 +464,9 @@ module Google
|
|
456
464
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
457
465
|
metadata: metadata,
|
458
466
|
retry_policy: @config.rpcs.wait_operation.retry_policy
|
459
|
-
|
467
|
+
|
468
|
+
options.apply_defaults timeout: @config.timeout,
|
469
|
+
metadata: @config.metadata,
|
460
470
|
retry_policy: @config.retry_policy
|
461
471
|
|
462
472
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
@@ -481,22 +491,21 @@ module Google
|
|
481
491
|
# Configuration can be applied globally to all clients, or to a single client
|
482
492
|
# on construction.
|
483
493
|
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
# to 20 seconds,
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
# end
|
494
|
+
# @example
|
495
|
+
#
|
496
|
+
# # Modify the global config, setting the timeout for
|
497
|
+
# # list_operations to 20 seconds,
|
498
|
+
# # and all remaining timeouts to 10 seconds.
|
499
|
+
# ::Google::Longrunning::Operations::Client.configure do |config|
|
500
|
+
# config.timeout = 10.0
|
501
|
+
# config.rpcs.list_operations.timeout = 20.0
|
502
|
+
# end
|
503
|
+
#
|
504
|
+
# # Apply the above configuration only to a new client.
|
505
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
506
|
+
# config.timeout = 10.0
|
507
|
+
# config.rpcs.list_operations.timeout = 20.0
|
508
|
+
# end
|
500
509
|
#
|
501
510
|
# @!attribute [rw] endpoint
|
502
511
|
# The hostname or hostname:port of the service endpoint.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-video_intelligence-v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
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-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|