google-cloud-video_intelligence-v1p3beta1 0.4.1 → 0.5.0

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: 839064f959c145d39c02c3f7399a5da689e5340625b8fd3b2afff78ea454ca02
4
- data.tar.gz: 8efdeabcc11b1c305cb1f6cd30357587fe6913b7de7100e944aa045f7101f9cb
3
+ metadata.gz: c3011ced07386290194094975c6e288661df411900ccd11f77c97f236f19adea
4
+ data.tar.gz: 6a19dafb650597686c6c8d22dc7061f27e6f805b6b6d759940ec4a4f231408ac
5
5
  SHA512:
6
- metadata.gz: f54e901c97a0aff5f09a36d25316b61c5a92254591edbfdcb09c3024f8f884de255bd92a50a6e9d99c777139bef67a564ef819bd86a1d5f17fbf3ece3e722988
7
- data.tar.gz: 4fc8a956a8305e626f68aa15c1357fbc13818b05465bda4a0381e4383761ec91caa2b609ddf71789714c07b8ea5419308aa34879303c6d5d385167148e6f0b65
6
+ metadata.gz: c67c9ba6e347e02b6b3aaba571959e50cf71e2960504a8b0adb7cb747e255a18a19635b5790e36d7e644830fd1e7ca230036acd10513f4ad84c4ffa8b92dc2f8
7
+ data.tar.gz: c1817efb6345876b39cb365127dc630234abee8532de739cdebe65c3d6f30354ecdf7786b34b1a7ac1ee0cad11f3e0b33a1df1e627deef6d3fc8a9a1886931e1
@@ -141,7 +141,8 @@ module Google
141
141
  credentials: credentials,
142
142
  endpoint: @config.endpoint,
143
143
  channel_args: @config.channel_args,
144
- interceptors: @config.interceptors
144
+ interceptors: @config.interceptors,
145
+ channel_pool_config: @config.channel_pool
145
146
  )
146
147
  end
147
148
 
@@ -346,6 +347,14 @@ module Google
346
347
  end
347
348
  end
348
349
 
350
+ ##
351
+ # Configuration for the channel pool
352
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
353
+ #
354
+ def channel_pool
355
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
356
+ end
357
+
349
358
  ##
350
359
  # Configuration RPC class for the StreamingVideoIntelligenceService API.
351
360
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VideoIntelligence
23
23
  module V1p3beta1
24
- VERSION = "0.4.1"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -147,7 +147,8 @@ module Google
147
147
  credentials: credentials,
148
148
  endpoint: @config.endpoint,
149
149
  channel_args: @config.channel_args,
150
- interceptors: @config.interceptors
150
+ interceptors: @config.interceptors,
151
+ channel_pool_config: @config.channel_pool
151
152
  )
152
153
  end
153
154
 
@@ -398,6 +399,14 @@ module Google
398
399
  end
399
400
  end
400
401
 
402
+ ##
403
+ # Configuration for the channel pool
404
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
405
+ #
406
+ def channel_pool
407
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
408
+ end
409
+
401
410
  ##
402
411
  # Configuration RPC class for the VideoIntelligenceService API.
403
412
  #
@@ -93,7 +93,8 @@ module Google
93
93
  credentials: credentials,
94
94
  endpoint: @config.endpoint,
95
95
  channel_args: @config.channel_args,
96
- interceptors: @config.interceptors
96
+ interceptors: @config.interceptors,
97
+ channel_pool_config: @config.channel_pool
97
98
  )
98
99
 
99
100
  # Used by an LRO wrapper for some methods of this service
@@ -701,6 +702,14 @@ module Google
701
702
  end
702
703
  end
703
704
 
705
+ ##
706
+ # Configuration for the channel pool
707
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
708
+ #
709
+ def channel_pool
710
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
711
+ end
712
+
704
713
  ##
705
714
  # Configuration RPC class for the Operations API.
706
715
  #
@@ -212,6 +212,29 @@ module Google
212
212
  # @return [::Gapic::Operation]
213
213
  #
214
214
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
215
+ #
216
+ # @example Basic example
217
+ # require "google/cloud/video_intelligence/v1p3beta1"
218
+ #
219
+ # # Create a client object. The client can be reused for multiple calls.
220
+ # client = Google::Cloud::VideoIntelligence::V1p3beta1::VideoIntelligenceService::Rest::Client.new
221
+ #
222
+ # # Create a request. To set request fields, pass in keyword arguments.
223
+ # request = Google::Cloud::VideoIntelligence::V1p3beta1::AnnotateVideoRequest.new
224
+ #
225
+ # # Call the annotate_video method.
226
+ # result = client.annotate_video request
227
+ #
228
+ # # The returned object is of type Gapic::Operation. You can use it to
229
+ # # check the status of an operation, cancel it, or wait for results.
230
+ # # Here is how to wait for a response.
231
+ # result.wait_until_done! timeout: 60
232
+ # if result.response?
233
+ # p result.response
234
+ # else
235
+ # puts "No response received."
236
+ # end
237
+ #
215
238
  def annotate_video request, options = nil
216
239
  raise ::ArgumentError, "request must be provided" if request.nil?
217
240
 
@@ -136,6 +136,26 @@ module Google
136
136
  # @return [::Gapic::Operation]
137
137
  #
138
138
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
139
+ #
140
+ # @example Basic example
141
+ # require "google/longrunning"
142
+ #
143
+ # # Create a client object. The client can be reused for multiple calls.
144
+ # client = Google::Longrunning::Operations::Rest::Client.new
145
+ #
146
+ # # Create a request. To set request fields, pass in keyword arguments.
147
+ # request = Google::Longrunning::ListOperationsRequest.new
148
+ #
149
+ # # Call the list_operations method.
150
+ # result = client.list_operations request
151
+ #
152
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
153
+ # # over elements, and API calls will be issued to fetch pages as needed.
154
+ # result.each do |item|
155
+ # # Each element is of type ::Google::Longrunning::Operation.
156
+ # p item
157
+ # end
158
+ #
139
159
  def list_operations request, options = nil
140
160
  raise ::ArgumentError, "request must be provided" if request.nil?
141
161
 
@@ -201,6 +221,29 @@ module Google
201
221
  # @return [::Gapic::Operation]
202
222
  #
203
223
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
224
+ #
225
+ # @example Basic example
226
+ # require "google/longrunning"
227
+ #
228
+ # # Create a client object. The client can be reused for multiple calls.
229
+ # client = Google::Longrunning::Operations::Rest::Client.new
230
+ #
231
+ # # Create a request. To set request fields, pass in keyword arguments.
232
+ # request = Google::Longrunning::GetOperationRequest.new
233
+ #
234
+ # # Call the get_operation method.
235
+ # result = client.get_operation request
236
+ #
237
+ # # The returned object is of type Gapic::Operation. You can use it to
238
+ # # check the status of an operation, cancel it, or wait for results.
239
+ # # Here is how to wait for a response.
240
+ # result.wait_until_done! timeout: 60
241
+ # if result.response?
242
+ # p result.response
243
+ # else
244
+ # puts "No response received."
245
+ # end
246
+ #
204
247
  def get_operation request, options = nil
205
248
  raise ::ArgumentError, "request must be provided" if request.nil?
206
249
 
@@ -267,6 +310,22 @@ module Google
267
310
  # @return [::Google::Protobuf::Empty]
268
311
  #
269
312
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
313
+ #
314
+ # @example Basic example
315
+ # require "google/longrunning"
316
+ #
317
+ # # Create a client object. The client can be reused for multiple calls.
318
+ # client = Google::Longrunning::Operations::Rest::Client.new
319
+ #
320
+ # # Create a request. To set request fields, pass in keyword arguments.
321
+ # request = Google::Longrunning::DeleteOperationRequest.new
322
+ #
323
+ # # Call the delete_operation method.
324
+ # result = client.delete_operation request
325
+ #
326
+ # # The returned object is of type Google::Protobuf::Empty.
327
+ # p result
328
+ #
270
329
  def delete_operation request, options = nil
271
330
  raise ::ArgumentError, "request must be provided" if request.nil?
272
331
 
@@ -338,6 +397,22 @@ module Google
338
397
  # @return [::Google::Protobuf::Empty]
339
398
  #
340
399
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
400
+ #
401
+ # @example Basic example
402
+ # require "google/longrunning"
403
+ #
404
+ # # Create a client object. The client can be reused for multiple calls.
405
+ # client = Google::Longrunning::Operations::Rest::Client.new
406
+ #
407
+ # # Create a request. To set request fields, pass in keyword arguments.
408
+ # request = Google::Longrunning::CancelOperationRequest.new
409
+ #
410
+ # # Call the cancel_operation method.
411
+ # result = client.cancel_operation request
412
+ #
413
+ # # The returned object is of type Google::Protobuf::Empty.
414
+ # p result
415
+ #
341
416
  def cancel_operation request, options = nil
342
417
  raise ::ArgumentError, "request must be provided" if request.nil?
343
418
 
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-video_intelligence-v1p3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.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-06-06 00:00:00.000000000 Z
11
+ date: 2023-09-12 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.1
19
+ version: 0.20.0
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.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  - !ruby/object:Gem::Version
220
220
  version: '0'
221
221
  requirements: []
222
- rubygems_version: 3.4.2
222
+ rubygems_version: 3.4.19
223
223
  signing_key:
224
224
  specification_version: 4
225
225
  summary: Detects objects, explicit content, and scene changes in videos. It also specifies