google-cloud-container-v1beta1 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79b2e5504dc2fd6a329f87aca752b6ca14a72889360af99226ae78a2c0b21042
|
4
|
+
data.tar.gz: 7b804e3863e7d6a28d241381b3cbce091033751c0ce81463267e6cc4e6a40986
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee485eec86cbe606d4b5e11e24a245221383ca8d4847ed3ddd06734e6096b93f173f062b83dfcd3e5de5bb7704d18f6508d2335037d7510e5d098ec665aa43f6
|
7
|
+
data.tar.gz: 87a21fcdd310e3b7dd88a551b41830a2b88576f6699d6f930b888fb07419c449fd21472f4545c843df5b3c0cb41d8650ab8d140e3ddba5efbe73ccf0642e8b38
|
@@ -258,7 +258,8 @@ module Google
|
|
258
258
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
259
259
|
credentials = Credentials.new credentials, scope: @config.scope
|
260
260
|
end
|
261
|
-
@quota_project_id =
|
261
|
+
@quota_project_id = @config.quota_project
|
262
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
262
263
|
|
263
264
|
@cluster_manager_stub = ::Gapic::ServiceStub.new(
|
264
265
|
::Google::Cloud::Container::V1beta1::ClusterManager::Stub,
|
@@ -2988,24 +2989,28 @@ module Google
|
|
2988
2989
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
2989
2990
|
# trigger a retry.
|
2990
2991
|
# @return [::Hash]
|
2992
|
+
# @!attribute [rw] quota_project
|
2993
|
+
# A separate project against which to charge quota.
|
2994
|
+
# @return [::String]
|
2991
2995
|
#
|
2992
2996
|
class Configuration
|
2993
2997
|
extend ::Gapic::Config
|
2994
2998
|
|
2995
|
-
config_attr :endpoint,
|
2996
|
-
config_attr :credentials,
|
2999
|
+
config_attr :endpoint, "container.googleapis.com", ::String
|
3000
|
+
config_attr :credentials, nil do |value|
|
2997
3001
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2998
3002
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
2999
3003
|
allowed.any? { |klass| klass === value }
|
3000
3004
|
end
|
3001
|
-
config_attr :scope,
|
3002
|
-
config_attr :lib_name,
|
3003
|
-
config_attr :lib_version,
|
3004
|
-
config_attr(:channel_args,
|
3005
|
-
config_attr :interceptors,
|
3006
|
-
config_attr :timeout,
|
3007
|
-
config_attr :metadata,
|
3008
|
-
config_attr :retry_policy,
|
3005
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
3006
|
+
config_attr :lib_name, nil, ::String, nil
|
3007
|
+
config_attr :lib_version, nil, ::String, nil
|
3008
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
3009
|
+
config_attr :interceptors, nil, ::Array, nil
|
3010
|
+
config_attr :timeout, nil, ::Numeric, nil
|
3011
|
+
config_attr :metadata, nil, ::Hash, nil
|
3012
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
3013
|
+
config_attr :quota_project, nil, ::String, nil
|
3009
3014
|
|
3010
3015
|
# @private
|
3011
3016
|
def initialize parent_config = nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-container-v1beta1
|
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-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.
|
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
|