google-cloud-container-v1beta1 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: 79b2e5504dc2fd6a329f87aca752b6ca14a72889360af99226ae78a2c0b21042
4
- data.tar.gz: 7b804e3863e7d6a28d241381b3cbce091033751c0ce81463267e6cc4e6a40986
3
+ metadata.gz: 1382949331b7f3faf14beb1b25d0b374a6456e63a5586d82ffb86d6b0814066f
4
+ data.tar.gz: 5eb9e13259ae9b536aadd7cc9130d6bf19b61fce0a6abbe0f5f9f9df4484c368
5
5
  SHA512:
6
- metadata.gz: ee485eec86cbe606d4b5e11e24a245221383ca8d4847ed3ddd06734e6096b93f173f062b83dfcd3e5de5bb7704d18f6508d2335037d7510e5d098ec665aa43f6
7
- data.tar.gz: 87a21fcdd310e3b7dd88a551b41830a2b88576f6699d6f930b888fb07419c449fd21472f4545c843df5b3c0cb41d8650ab8d140e3ddba5efbe73ccf0642e8b38
6
+ metadata.gz: 60c1869dc0a92f731607e6a7810384d28c02b4034c5470549144dd10f7e8c6d3f665d17ecd1a7f99bf0ed244410e4db6c390cf7f62558b90eab9cfe56256dcd8
7
+ data.tar.gz: 6ef0afe2bdde9099b18f6648939248b7a49df6b2c29955b35e7bfb28110a8a58a863c528244e1b8da5bac48d9fcc6c1174bfdaa5b68a7024658d4222b41376a8
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-v1beta1/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
@@ -182,7 +182,7 @@ module Google
182
182
  initial_delay: 0.1,
183
183
  max_delay: 60.0,
184
184
  multiplier: 1.3,
185
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
185
+ retry_codes: [14, 4]
186
186
  }
187
187
 
188
188
  default_config.rpcs.list_locations.timeout = 20.0
@@ -190,7 +190,7 @@ module Google
190
190
  initial_delay: 0.1,
191
191
  max_delay: 60.0,
192
192
  multiplier: 1.3,
193
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
193
+ retry_codes: [14, 4]
194
194
  }
195
195
 
196
196
  default_config
@@ -2998,7 +2998,7 @@ module Google
2998
2998
 
2999
2999
  config_attr :endpoint, "container.googleapis.com", ::String
3000
3000
  config_attr :credentials, nil do |value|
3001
- allowed = [::String, ::Hash, ::Proc, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3001
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3002
3002
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
3003
3003
  allowed.any? { |klass| klass === value }
3004
3004
  end
@@ -3026,7 +3026,7 @@ module Google
3026
3026
  def rpcs
3027
3027
  @rpcs ||= begin
3028
3028
  parent_rpcs = nil
3029
- parent_rpcs = @parent_config.rpcs if @parent_config&.respond_to? :rpcs
3029
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
3030
3030
  Rpcs.new parent_rpcs
3031
3031
  end
3032
3032
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1beta1
24
- VERSION = "0.2.0"
24
+ VERSION = "0.2.5"
25
25
  end
26
26
  end
27
27
  end
@@ -655,7 +655,7 @@ module Google
655
655
  # @!attribute [rw] initial_node_count
656
656
  # @return [::Integer]
657
657
  # The number of nodes to create in this cluster. You must ensure that your
658
- # Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
658
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
659
659
  # is sufficient for this number of instances. You must also have available
660
660
  # firewall and routes quota.
661
661
  # For requests, this field should only be used in lieu of a
@@ -1907,7 +1907,7 @@ module Google
1907
1907
  # @!attribute [rw] initial_node_count
1908
1908
  # @return [::Integer]
1909
1909
  # The initial node count for the pool. You must ensure that your
1910
- # Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
1910
+ # Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
1911
1911
  # is sufficient for this number of instances. You must also have available
1912
1912
  # firewall and routes quota.
1913
1913
  # @!attribute [rw] self_link
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.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-v1beta1.rb
165
- - lib/google/cloud/common_resources_pb.rb
166
165
  - lib/google/cloud/container/v1beta1.rb
167
166
  - lib/google/cloud/container/v1beta1/cluster_manager.rb
168
167
  - lib/google/cloud/container/v1beta1/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 V1beta1 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