google-cloud-container-v1 0.2.0 → 0.2.5

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: 8d5e0035941c567980bb14037a264fa53b5391b4de4a69a314c4fd6f1348c69f
4
- data.tar.gz: 9b2e46273236f9d0c206d303aa78d92f1e4d5586d1318172cbf7ba6820246cfb
3
+ metadata.gz: ea15e5bb50a54cf20bb4a0c24b2439f268ff4bab7a4580b196856e2faefe70e7
4
+ data.tar.gz: 5958f183017655c3ae1cdc987bae9a34a1d9a07e34e81710435d292eb60b4b3c
5
5
  SHA512:
6
- metadata.gz: 21f0443af1b78a3f7e372495ea058ea1b1d730da5ce0f2f456f1326d5a022e6fca1aaa2b26400fedfff221a7a9efd943ba535b99cff52a1d9c58c080ff6eaf0f
7
- data.tar.gz: f42ad3378675a4725baa0ed17bff81644c222a6278540951a8af7c2ce3480657fbdd05a2c12083fd19045f45573fef75c819504c406719335a5b8c1163d5e6ef
6
+ metadata.gz: d6eb0da02f4ef7dc636d4358a14143dc24ef2f17f902a2a3cb7da4852520d674d25d5f7dc4df02735db40a9ee4883bee96aa8aa0618693bf10f922ef5294c361
7
+ data.tar.gz: 8bfea47f60f9bc1c659ea2dc4c1257b0a54dca98c944537c8be340799acd66665957666c3726d293d1445310f3817da019037a62ac05f136bdc4d68a92e2d51a
data/README.md CHANGED
@@ -18,6 +18,7 @@ In order to use this library, you first need to go through the following steps:
18
18
 
19
19
  1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
20
20
  1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
21
+ 1. [Enable the API.](https://console.cloud.google.com/apis/library/container.googleapis.com)
21
22
  1. {file:AUTHENTICATION.md Set up authentication.}
22
23
 
23
24
  ## Quick Start
@@ -33,6 +34,9 @@ response = client.list_clusters request
33
34
  View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-container-v1/latest)
34
35
  for class and method documentation.
35
36
 
37
+ See also the [Product Documentation](https://cloud.google.com/kubernetes-engine)
38
+ for general usage information.
39
+
36
40
  ## Enabling Logging
37
41
 
38
42
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
@@ -68,7 +68,7 @@ module Google
68
68
  initial_delay: 0.1,
69
69
  max_delay: 60.0,
70
70
  multiplier: 1.3,
71
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
71
+ retry_codes: [14, 4]
72
72
  }
73
73
 
74
74
  default_config.rpcs.get_cluster.timeout = 20.0
@@ -76,7 +76,7 @@ module Google
76
76
  initial_delay: 0.1,
77
77
  max_delay: 60.0,
78
78
  multiplier: 1.3,
79
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
79
+ retry_codes: [14, 4]
80
80
  }
81
81
 
82
82
  default_config.rpcs.create_cluster.timeout = 45.0
@@ -104,7 +104,7 @@ module Google
104
104
  initial_delay: 0.1,
105
105
  max_delay: 60.0,
106
106
  multiplier: 1.3,
107
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
107
+ retry_codes: [14, 4]
108
108
  }
109
109
 
110
110
  default_config.rpcs.list_operations.timeout = 20.0
@@ -112,7 +112,7 @@ module Google
112
112
  initial_delay: 0.1,
113
113
  max_delay: 60.0,
114
114
  multiplier: 1.3,
115
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
115
+ retry_codes: [14, 4]
116
116
  }
117
117
 
118
118
  default_config.rpcs.get_operation.timeout = 20.0
@@ -120,7 +120,7 @@ module Google
120
120
  initial_delay: 0.1,
121
121
  max_delay: 60.0,
122
122
  multiplier: 1.3,
123
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
123
+ retry_codes: [14, 4]
124
124
  }
125
125
 
126
126
  default_config.rpcs.cancel_operation.timeout = 45.0
@@ -130,7 +130,7 @@ module Google
130
130
  initial_delay: 0.1,
131
131
  max_delay: 60.0,
132
132
  multiplier: 1.3,
133
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
133
+ retry_codes: [14, 4]
134
134
  }
135
135
 
136
136
  default_config.rpcs.list_node_pools.timeout = 20.0
@@ -138,7 +138,7 @@ module Google
138
138
  initial_delay: 0.1,
139
139
  max_delay: 60.0,
140
140
  multiplier: 1.3,
141
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
141
+ retry_codes: [14, 4]
142
142
  }
143
143
 
144
144
  default_config.rpcs.get_node_pool.timeout = 20.0
@@ -146,7 +146,7 @@ module Google
146
146
  initial_delay: 0.1,
147
147
  max_delay: 60.0,
148
148
  multiplier: 1.3,
149
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
149
+ retry_codes: [14, 4]
150
150
  }
151
151
 
152
152
  default_config.rpcs.create_node_pool.timeout = 45.0
@@ -156,7 +156,7 @@ module Google
156
156
  initial_delay: 0.1,
157
157
  max_delay: 60.0,
158
158
  multiplier: 1.3,
159
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
159
+ retry_codes: [14, 4]
160
160
  }
161
161
 
162
162
  default_config.rpcs.rollback_node_pool_upgrade.timeout = 45.0
@@ -2915,7 +2915,7 @@ module Google
2915
2915
 
2916
2916
  config_attr :endpoint, "container.googleapis.com", ::String
2917
2917
  config_attr :credentials, nil do |value|
2918
- allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2918
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2919
2919
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
2920
2920
  allowed.any? { |klass| klass === value }
2921
2921
  end
@@ -2943,7 +2943,7 @@ module Google
2943
2943
  def rpcs
2944
2944
  @rpcs ||= begin
2945
2945
  parent_rpcs = nil
2946
- parent_rpcs = @parent_config.rpcs if @parent_config&.respond_to? :rpcs
2946
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
2947
2947
  Rpcs.new parent_rpcs
2948
2948
  end
2949
2949
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1
24
- VERSION = "0.2.0"
24
+ VERSION = "0.2.5"
25
25
  end
26
26
  end
27
27
  end
@@ -601,7 +601,7 @@ module Google
601
601
  # @!attribute [rw] initial_node_count
602
602
  # @return [::Integer]
603
603
  # The number of nodes to create in this cluster. You must ensure that your
604
- # Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
604
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
605
605
  # is sufficient for this number of instances. You must also have available
606
606
  # firewall and routes quota.
607
607
  # For requests, this field should only be used in lieu of a
@@ -1787,7 +1787,7 @@ module Google
1787
1787
  # @!attribute [rw] initial_node_count
1788
1788
  # @return [::Integer]
1789
1789
  # The initial node count for the pool. You must ensure that your
1790
- # Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
1790
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
1791
1791
  # is sufficient for this number of instances. You must also have available
1792
1792
  # firewall and routes quota.
1793
1793
  # @!attribute [rw] self_link
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.2.0
4
+ version: 0.2.5
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-20 00:00:00.000000000 Z
11
+ date: 2020-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.2'
19
+ version: '0.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.2'
26
+ version: '0.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-errors
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -162,7 +162,6 @@ files:
162
162
  - LICENSE.md
163
163
  - README.md
164
164
  - lib/google-cloud-container-v1.rb
165
- - lib/google/cloud/common_resources_pb.rb
166
165
  - lib/google/cloud/container/v1.rb
167
166
  - lib/google/cloud/container/v1/cluster_manager.rb
168
167
  - lib/google/cloud/container/v1/cluster_manager/client.rb
@@ -195,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
194
  - !ruby/object:Gem::Version
196
195
  version: '0'
197
196
  requirements: []
198
- rubygems_version: 3.0.6
197
+ rubygems_version: 3.1.3
199
198
  signing_key:
200
199
  specification_version: 4
201
200
  summary: API Client library for the Kubernetes Engine V1 API
@@ -1,15 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: google/cloud/common_resources.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'google/api/resource_pb'
7
- Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_file("google/cloud/common_resources.proto", :syntax => :proto3) do
9
- end
10
- end
11
-
12
- module Google
13
- module Cloud
14
- end
15
- end