google-cloud-video_intelligence-v1beta2 0.1.1 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a37717426926676b68555a3350a482ba4d8c33040775408f5ef16f570f08538
|
4
|
+
data.tar.gz: 1a58dfca859be526a8ea854b3d468ffe18122b7ea0520f1865659c955b7cf527
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19f0bf5c952a43ffe2664426d5e519408e2a89c1687f7a4dff5a5026cde11a51872af1e8dffaf00984e284175f1fc6190e6208df27f0fd330c58ee7f29ad8eac
|
7
|
+
data.tar.gz: bbb0a8ca4a1fc84262acb4f5015e1049d6d9f15508ea8ff0baaaba9d0161b0be2f071b2a13ecf045088bd6a28aeb8534a6c64cf31102a55bf837cdafcad2dcc7
|
@@ -136,7 +136,8 @@ module Google
|
|
136
136
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
137
137
|
credentials = Credentials.new credentials, scope: @config.scope
|
138
138
|
end
|
139
|
-
@quota_project_id =
|
139
|
+
@quota_project_id = @config.quota_project
|
140
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
140
141
|
|
141
142
|
@operations_client = Operations.new do |config|
|
142
143
|
config.credentials = credentials
|
@@ -329,24 +330,28 @@ module Google
|
|
329
330
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
330
331
|
# trigger a retry.
|
331
332
|
# @return [::Hash]
|
333
|
+
# @!attribute [rw] quota_project
|
334
|
+
# A separate project against which to charge quota.
|
335
|
+
# @return [::String]
|
332
336
|
#
|
333
337
|
class Configuration
|
334
338
|
extend ::Gapic::Config
|
335
339
|
|
336
|
-
config_attr :endpoint,
|
337
|
-
config_attr :credentials,
|
340
|
+
config_attr :endpoint, "videointelligence.googleapis.com", ::String
|
341
|
+
config_attr :credentials, nil do |value|
|
338
342
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
339
343
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
340
344
|
allowed.any? { |klass| klass === value }
|
341
345
|
end
|
342
|
-
config_attr :scope,
|
343
|
-
config_attr :lib_name,
|
344
|
-
config_attr :lib_version,
|
345
|
-
config_attr(:channel_args,
|
346
|
-
config_attr :interceptors,
|
347
|
-
config_attr :timeout,
|
348
|
-
config_attr :metadata,
|
349
|
-
config_attr :retry_policy,
|
346
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
347
|
+
config_attr :lib_name, nil, ::String, nil
|
348
|
+
config_attr :lib_version, nil, ::String, nil
|
349
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
350
|
+
config_attr :interceptors, nil, ::Array, nil
|
351
|
+
config_attr :timeout, nil, ::Numeric, nil
|
352
|
+
config_attr :metadata, nil, ::Hash, nil
|
353
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
354
|
+
config_attr :quota_project, nil, ::String, nil
|
350
355
|
|
351
356
|
# @private
|
352
357
|
def initialize parent_config = nil
|
@@ -464,24 +464,28 @@ module Google
|
|
464
464
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
465
465
|
# trigger a retry.
|
466
466
|
# @return [::Hash]
|
467
|
+
# @!attribute [rw] quota_project
|
468
|
+
# A separate project against which to charge quota.
|
469
|
+
# @return [::String]
|
467
470
|
#
|
468
471
|
class Configuration
|
469
472
|
extend ::Gapic::Config
|
470
473
|
|
471
|
-
config_attr :endpoint,
|
472
|
-
config_attr :credentials,
|
474
|
+
config_attr :endpoint, "videointelligence.googleapis.com", ::String
|
475
|
+
config_attr :credentials, nil do |value|
|
473
476
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
474
477
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
475
478
|
allowed.any? { |klass| klass === value }
|
476
479
|
end
|
477
|
-
config_attr :scope,
|
478
|
-
config_attr :lib_name,
|
479
|
-
config_attr :lib_version,
|
480
|
-
config_attr(:channel_args,
|
481
|
-
config_attr :interceptors,
|
482
|
-
config_attr :timeout,
|
483
|
-
config_attr :metadata,
|
484
|
-
config_attr :retry_policy,
|
480
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
481
|
+
config_attr :lib_name, nil, ::String, nil
|
482
|
+
config_attr :lib_version, nil, ::String, nil
|
483
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
484
|
+
config_attr :interceptors, nil, ::Array, nil
|
485
|
+
config_attr :timeout, nil, ::Numeric, nil
|
486
|
+
config_attr :metadata, nil, ::Hash, nil
|
487
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
488
|
+
config_attr :quota_project, nil, ::String, nil
|
485
489
|
|
486
490
|
# @private
|
487
491
|
def initialize parent_config = nil
|
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
|
+
version: 0.2.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: 2020-05-
|
11
|
+
date: 2020-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -58,14 +58,42 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '5.
|
61
|
+
version: '5.14'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '5.
|
68
|
+
version: '5.14'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: minitest-focus
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.1'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: minitest-rg
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '5.2'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '5.2'
|
69
97
|
- !ruby/object:Gem::Dependency
|
70
98
|
name: rake
|
71
99
|
requirement: !ruby/object:Gem::Requirement
|