google-cloud-video_intelligence-v1p1beta1 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: e43b871873e1c7c9f87cc452f46e96191a30b749ba0cc461c254e8a4df56d31d
4
- data.tar.gz: 0cf18e1690276f2b9d933521c14d0d9c56d964924fd8c97d479bcf0ad83d2232
3
+ metadata.gz: 1db68b2a7fc3e8458e8f3a906575aab63ac2ad93e3aae2aa55b1df263d3f1b5c
4
+ data.tar.gz: ac4afcf380e6d94f34fcc40a8bf8081c01cdc1f8acba52eb89905572fedb6cc5
5
5
  SHA512:
6
- metadata.gz: da3c7dd490045469e59d743c39e82f027e9618e62b35daf0fd43db69dde1cc4251fbb0f7588d699c378ef0bd89a75cc4a81d819a54ac58f86958f9be03285529
7
- data.tar.gz: ad7b90c7f3e539a1003f64be6136103bc1d565a3603d368b8e7868f420822a9bca04e9419fb1aadd3dc3a123f98a188278c934565eb16e39d9d0124c1fa7174c
6
+ metadata.gz: bf2e19ca1196e2725e5504c842578fb18800a99428d59efb6cf8c43415305fbb1230fbee89761199339d1676c2c4b60e1877d8cf401c5a22449cef29b115512c
7
+ data.tar.gz: 34e8c62f8d4ae036fac4f4c85419ac23f3ab5800f72b36bb67c89ca768b1ea95a0d480918f9e42d4fca865ac18c0edb8e49961ec5aa73da659a280db8157fe6d
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VideoIntelligence
23
23
  module V1p1beta1
24
- VERSION = "0.1.1"
24
+ VERSION = "0.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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 = credentials.respond_to?(:quota_project_id) ? credentials.quota_project_id : nil
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, "videointelligence.googleapis.com", String
337
- config_attr :credentials, nil do |value|
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, nil, ::String, ::Array, nil
343
- config_attr :lib_name, nil, ::String, nil
344
- config_attr :lib_version, nil, ::String, nil
345
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
346
- config_attr :interceptors, nil, ::Array, nil
347
- config_attr :timeout, nil, ::Numeric, nil
348
- config_attr :metadata, nil, ::Hash, nil
349
- config_attr :retry_policy, nil, ::Hash, Proc, nil
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, "videointelligence.googleapis.com", String
472
- config_attr :credentials, nil do |value|
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, nil, ::String, ::Array, nil
478
- config_attr :lib_name, nil, ::String, nil
479
- config_attr :lib_version, nil, ::String, nil
480
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
481
- config_attr :interceptors, nil, ::Array, nil
482
- config_attr :timeout, nil, ::Numeric, nil
483
- config_attr :metadata, nil, ::Hash, nil
484
- config_attr :retry_policy, nil, ::Hash, Proc, nil
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-v1p1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
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-05 00:00:00.000000000 Z
11
+ date: 2020-05-20 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.10'
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.10'
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