google-cloud-container-v1 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: 8d5e0035941c567980bb14037a264fa53b5391b4de4a69a314c4fd6f1348c69f
|
4
|
+
data.tar.gz: 9b2e46273236f9d0c206d303aa78d92f1e4d5586d1318172cbf7ba6820246cfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21f0443af1b78a3f7e372495ea058ea1b1d730da5ce0f2f456f1326d5a022e6fca1aaa2b26400fedfff221a7a9efd943ba535b99cff52a1d9c58c080ff6eaf0f
|
7
|
+
data.tar.gz: f42ad3378675a4725baa0ed17bff81644c222a6278540951a8af7c2ce3480657fbdd05a2c12083fd19045f45573fef75c819504c406719335a5b8c1163d5e6ef
|
@@ -242,7 +242,8 @@ module Google
|
|
242
242
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
243
243
|
credentials = Credentials.new credentials, scope: @config.scope
|
244
244
|
end
|
245
|
-
@quota_project_id =
|
245
|
+
@quota_project_id = @config.quota_project
|
246
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
246
247
|
|
247
248
|
@cluster_manager_stub = ::Gapic::ServiceStub.new(
|
248
249
|
::Google::Cloud::Container::V1::ClusterManager::Stub,
|
@@ -2905,24 +2906,28 @@ module Google
|
|
2905
2906
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
2906
2907
|
# trigger a retry.
|
2907
2908
|
# @return [::Hash]
|
2909
|
+
# @!attribute [rw] quota_project
|
2910
|
+
# A separate project against which to charge quota.
|
2911
|
+
# @return [::String]
|
2908
2912
|
#
|
2909
2913
|
class Configuration
|
2910
2914
|
extend ::Gapic::Config
|
2911
2915
|
|
2912
|
-
config_attr :endpoint,
|
2913
|
-
config_attr :credentials,
|
2916
|
+
config_attr :endpoint, "container.googleapis.com", ::String
|
2917
|
+
config_attr :credentials, nil do |value|
|
2914
2918
|
allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2915
2919
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
2916
2920
|
allowed.any? { |klass| klass === value }
|
2917
2921
|
end
|
2918
|
-
config_attr :scope,
|
2919
|
-
config_attr :lib_name,
|
2920
|
-
config_attr :lib_version,
|
2921
|
-
config_attr(:channel_args,
|
2922
|
-
config_attr :interceptors,
|
2923
|
-
config_attr :timeout,
|
2924
|
-
config_attr :metadata,
|
2925
|
-
config_attr :retry_policy,
|
2922
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
2923
|
+
config_attr :lib_name, nil, ::String, nil
|
2924
|
+
config_attr :lib_version, nil, ::String, nil
|
2925
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
2926
|
+
config_attr :interceptors, nil, ::Array, nil
|
2927
|
+
config_attr :timeout, nil, ::Numeric, nil
|
2928
|
+
config_attr :metadata, nil, ::Hash, nil
|
2929
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
2930
|
+
config_attr :quota_project, nil, ::String, nil
|
2926
2931
|
|
2927
2932
|
# @private
|
2928
2933
|
def initialize parent_config = nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-container-v1
|
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
|