google-cloud-video_intelligence-v1 0.6.2 → 0.6.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: 3cc6230dc007650414fdbc445650e75a9467b6f3e5e4cd746fff7cab613649f2
4
- data.tar.gz: '0649043aff846bca19d273d04e32222926ce44156b9c8a7f77864b79d22b8e3b'
3
+ metadata.gz: a9de96ea1e0a51350eb5e7b72b4a717a0b3d8c9ffdab95452d63e622c603a822
4
+ data.tar.gz: 8f81279a50b6bb1ef08d5893ad19da00c1fc4b6e64746b279829dc60a0236489
5
5
  SHA512:
6
- metadata.gz: e6ee1697e37f663ec4490d699b8228ad3f9718f78c8faed9cc02ecec306c57507fb5a9601b5835b96dd635ca963a6c8356b01b10731039f25952601a36d6f314
7
- data.tar.gz: b149163bcdb09994e7ef1cb6ca4aa750cce28622af1217fd81e857a245ac2a046261a5063f95311ec9e1cae4033540c0afadd76f508b4d6424041a40b0f07d0b
6
+ metadata.gz: 8d8487cdcd4ba807725c62c73fbfbe9088b18514a84a6fe757f98822ec13daeb7b831838f47d54eb296e5c5a188a322c31a5e7f3b9050fbf8bff5197c7c24547
7
+ data.tar.gz: 7b0e079f35bf5324600b769cf2c834d8bba2eeb62fbbcc7050c03a0f81645fca86815499b6549ab252d8e043c3828483ef5a2055690fc00f951032549ab26e77
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VideoIntelligence
23
23
  module V1
24
- VERSION = "0.6.2"
24
+ VERSION = "0.6.3"
25
25
  end
26
26
  end
27
27
  end
@@ -39,13 +39,12 @@ module Google
39
39
  # See {::Google::Cloud::VideoIntelligence::V1::VideoIntelligenceService::Client::Configuration}
40
40
  # for a description of the configuration fields.
41
41
  #
42
- # ## Example
42
+ # @example
43
43
  #
44
- # To modify the configuration for all VideoIntelligenceService clients:
45
- #
46
- # ::Google::Cloud::VideoIntelligence::V1::VideoIntelligenceService::Client.configure do |config|
47
- # config.timeout = 10.0
48
- # end
44
+ # # Modify the configuration for all VideoIntelligenceService clients
45
+ # ::Google::Cloud::VideoIntelligence::V1::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
- # ## Examples
101
- #
102
- # To create a new VideoIntelligenceService client with the default
103
- # configuration:
99
+ # @example
104
100
  #
105
- # client = ::Google::Cloud::VideoIntelligence::V1::VideoIntelligenceService::Client.new
101
+ # # Create a client using the default configuration
102
+ # client = ::Google::Cloud::VideoIntelligence::V1::VideoIntelligenceService::Client.new
106
103
  #
107
- # To create a new VideoIntelligenceService client with a custom
108
- # configuration:
109
- #
110
- # client = ::Google::Cloud::VideoIntelligence::V1::VideoIntelligenceService::Client.new do |config|
111
- # config.timeout = 10.0
112
- # end
104
+ # # Create a client using a custom configuration
105
+ # client = ::Google::Cloud::VideoIntelligence::V1::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 scope and endpoint are unchanged from default,
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.scope == Client.configure.scope &&
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
@@ -248,7 +242,9 @@ module Google
248
242
  options.apply_defaults timeout: @config.rpcs.annotate_video.timeout,
249
243
  metadata: metadata,
250
244
  retry_policy: @config.rpcs.annotate_video.retry_policy
251
- options.apply_defaults metadata: @config.metadata,
245
+
246
+ options.apply_defaults timeout: @config.timeout,
247
+ metadata: @config.metadata,
252
248
  retry_policy: @config.retry_policy
253
249
 
254
250
  @video_intelligence_service_stub.call_rpc :annotate_video, request, options: options do |response, operation|
@@ -273,22 +269,21 @@ module Google
273
269
  # Configuration can be applied globally to all clients, or to a single client
274
270
  # on construction.
275
271
  #
276
- # # Examples
277
- #
278
- # To modify the global config, setting the timeout for annotate_video
279
- # to 20 seconds, and all remaining timeouts to 10 seconds:
280
- #
281
- # ::Google::Cloud::VideoIntelligence::V1::VideoIntelligenceService::Client.configure do |config|
282
- # config.timeout = 10.0
283
- # config.rpcs.annotate_video.timeout = 20.0
284
- # end
285
- #
286
- # To apply the above configuration only to a new client:
287
- #
288
- # client = ::Google::Cloud::VideoIntelligence::V1::VideoIntelligenceService::Client.new do |config|
289
- # config.timeout = 10.0
290
- # config.rpcs.annotate_video.timeout = 20.0
291
- # end
272
+ # @example
273
+ #
274
+ # # Modify the global config, setting the timeout for
275
+ # # annotate_video to 20 seconds,
276
+ # # and all remaining timeouts to 10 seconds.
277
+ # ::Google::Cloud::VideoIntelligence::V1::VideoIntelligenceService::Client.configure do |config|
278
+ # config.timeout = 10.0
279
+ # config.rpcs.annotate_video.timeout = 20.0
280
+ # end
281
+ #
282
+ # # Apply the above configuration only to a new client.
283
+ # client = ::Google::Cloud::VideoIntelligence::V1::VideoIntelligenceService::Client.new do |config|
284
+ # config.timeout = 10.0
285
+ # config.rpcs.annotate_video.timeout = 20.0
286
+ # end
292
287
  #
293
288
  # @!attribute [rw] endpoint
294
289
  # 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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- # # Examples
485
- #
486
- # To modify the global config, setting the timeout for list_operations
487
- # to 20 seconds, and all remaining timeouts to 10 seconds:
488
- #
489
- # ::Google::Longrunning::Operations::Client.configure do |config|
490
- # config.timeout = 10.0
491
- # config.rpcs.list_operations.timeout = 20.0
492
- # end
493
- #
494
- # To apply the above configuration only to a new client:
495
- #
496
- # client = ::Google::Longrunning::Operations::Client.new do |config|
497
- # config.timeout = 10.0
498
- # config.rpcs.list_operations.timeout = 20.0
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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.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-07-12 00:00:00.000000000 Z
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.5'
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.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a