google-cloud-video_intelligence-v1p2beta1 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: 96671ce2460e3d8493793d59acfef935182fcfaf264fb3e67977636fd9429597
|
4
|
+
data.tar.gz: c75dddacf07f787a7039f8315af6bf369acf8fbbc853305fa617fc4c83fc3c4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acd69655b9eb08d95fccc7cba6263fcf1a013cf1793a520a3d8ef24a04c23ecedfbaa568d7bc4f08106e53d8cb8aa50130ab61974884b9db0e79d8cc9307af16
|
7
|
+
data.tar.gz: 9076fb6f6cc014683264945c848cf1a51688b2f81e3aea2bf80b1ff99e2c784b19d010ebb39e3fa44896e0c46adb71c1bc34573886b3cb207543e6dcd0b4fbc7
|
@@ -39,13 +39,12 @@ module Google
|
|
39
39
|
# See {::Google::Cloud::VideoIntelligence::V1p2beta1::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::V1p2beta1::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::V1p2beta1::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::V1p2beta1::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
|
@@ -245,7 +239,9 @@ module Google
|
|
245
239
|
options.apply_defaults timeout: @config.rpcs.annotate_video.timeout,
|
246
240
|
metadata: metadata,
|
247
241
|
retry_policy: @config.rpcs.annotate_video.retry_policy
|
248
|
-
|
242
|
+
|
243
|
+
options.apply_defaults timeout: @config.timeout,
|
244
|
+
metadata: @config.metadata,
|
249
245
|
retry_policy: @config.retry_policy
|
250
246
|
|
251
247
|
@video_intelligence_service_stub.call_rpc :annotate_video, request, options: options do |response, operation|
|
@@ -270,22 +266,21 @@ module Google
|
|
270
266
|
# Configuration can be applied globally to all clients, or to a single client
|
271
267
|
# on construction.
|
272
268
|
#
|
273
|
-
#
|
274
|
-
#
|
275
|
-
#
|
276
|
-
# to 20 seconds,
|
277
|
-
#
|
278
|
-
#
|
279
|
-
#
|
280
|
-
#
|
281
|
-
#
|
282
|
-
#
|
283
|
-
#
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
287
|
-
#
|
288
|
-
# end
|
269
|
+
# @example
|
270
|
+
#
|
271
|
+
# # Modify the global config, setting the timeout for
|
272
|
+
# # annotate_video to 20 seconds,
|
273
|
+
# # and all remaining timeouts to 10 seconds.
|
274
|
+
# ::Google::Cloud::VideoIntelligence::V1p2beta1::VideoIntelligenceService::Client.configure do |config|
|
275
|
+
# config.timeout = 10.0
|
276
|
+
# config.rpcs.annotate_video.timeout = 20.0
|
277
|
+
# end
|
278
|
+
#
|
279
|
+
# # Apply the above configuration only to a new client.
|
280
|
+
# client = ::Google::Cloud::VideoIntelligence::V1p2beta1::VideoIntelligenceService::Client.new do |config|
|
281
|
+
# config.timeout = 10.0
|
282
|
+
# config.rpcs.annotate_video.timeout = 20.0
|
283
|
+
# end
|
289
284
|
#
|
290
285
|
# @!attribute [rw] endpoint
|
291
286
|
# 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-v1p2beta1
|
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
|