google-cloud-container-v1 0.6.0 → 0.7.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: 9df3ab42f1c6d227246daf192f08b7a06b6e6ff0c281653c6d32b0b64e7a88df
4
- data.tar.gz: ad333d16ea19aab128fcd6faae0a3fd56f65f0f5c25562fcbd1f8200f952e65b
3
+ metadata.gz: 424fe6d8395f849933559afa2f778d535ea63394f1f39d2359c572f11ca91130
4
+ data.tar.gz: 8ef1f6b9c7710ae21f7c3467c0083f1c3b3d5ea02b22635b27161c89865d0836
5
5
  SHA512:
6
- metadata.gz: fbed4851ec98de76b157e5b013de103179565e0541c2a642b5a35ef47424940c9a1db8f7b00e1fb79c65c41604fbd8b61fe61749856e97f61e2c8815dc591a2d
7
- data.tar.gz: 402d355c51bb4fcd1986651806069e75b89942a9256bb755b2c98e51c2096da751d0bd1116f053ec2583b1a3f681841e59b4cfe6440307b9e0d90300eff9fe3c
6
+ metadata.gz: 9c3c935d5df2485aa77d70f9421f0eda05ea88e05aa8cfe1d288de5af09ce7650945642bb96fb5e40c2938644eac9c056d578f0b23410399e1a064c1d098bea8
7
+ data.tar.gz: 4e21ce72e5204d568e4040813dbc4b963d349a51a7d4582d5860902449b74deb679b9abf9407a8ce4f09c447761ad45b7e305992be5b85773375fb5b41115b9a
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-container-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::Container::V1::ClusterManager::Credentials}):
68
68
 
69
- 1. `CONTAINER_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `CONTAINER_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
69
+ * `CONTAINER_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `CONTAINER_KEYFILE` - Path to JSON file, or JSON contents
71
+ * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
+ * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
+ * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
74
74
 
75
75
  ```ruby
76
76
  require "google/cloud/container/v1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Container::V1::ClusterManager::Client.new
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
85
+ The path to the **Credentials JSON** file can be configured instead of storing
86
+ it in an environment variable. Either on an individual client initialization:
87
87
 
88
88
  ```ruby
89
89
  require "google/cloud/container/v1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Container::V1::ClusterManager::Client.new do |config|
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/container/v1"
data/README.md CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
33
33
  require "google/cloud/container/v1"
34
34
 
35
35
  client = ::Google::Cloud::Container::V1::ClusterManager::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::Container::V1::ListClustersRequest.new # (request fields as keyword arguments...)
37
37
  response = client.list_clusters request
38
38
  ```
39
39
 
@@ -65,18 +65,12 @@ module Google
65
65
 
66
66
  default_config.rpcs.list_clusters.timeout = 20.0
67
67
  default_config.rpcs.list_clusters.retry_policy = {
68
- initial_delay: 0.1,
69
- max_delay: 60.0,
70
- multiplier: 1.3,
71
- retry_codes: [14, 4]
68
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
72
69
  }
73
70
 
74
71
  default_config.rpcs.get_cluster.timeout = 20.0
75
72
  default_config.rpcs.get_cluster.retry_policy = {
76
- initial_delay: 0.1,
77
- max_delay: 60.0,
78
- multiplier: 1.3,
79
- retry_codes: [14, 4]
73
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
80
74
  }
81
75
 
82
76
  default_config.rpcs.create_cluster.timeout = 45.0
@@ -101,62 +95,41 @@ module Google
101
95
 
102
96
  default_config.rpcs.delete_cluster.timeout = 20.0
103
97
  default_config.rpcs.delete_cluster.retry_policy = {
104
- initial_delay: 0.1,
105
- max_delay: 60.0,
106
- multiplier: 1.3,
107
- retry_codes: [14, 4]
98
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
108
99
  }
109
100
 
110
101
  default_config.rpcs.list_operations.timeout = 20.0
111
102
  default_config.rpcs.list_operations.retry_policy = {
112
- initial_delay: 0.1,
113
- max_delay: 60.0,
114
- multiplier: 1.3,
115
- retry_codes: [14, 4]
103
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
116
104
  }
117
105
 
118
106
  default_config.rpcs.get_operation.timeout = 20.0
119
107
  default_config.rpcs.get_operation.retry_policy = {
120
- initial_delay: 0.1,
121
- max_delay: 60.0,
122
- multiplier: 1.3,
123
- retry_codes: [14, 4]
108
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
124
109
  }
125
110
 
126
111
  default_config.rpcs.cancel_operation.timeout = 45.0
127
112
 
128
113
  default_config.rpcs.get_server_config.timeout = 20.0
129
114
  default_config.rpcs.get_server_config.retry_policy = {
130
- initial_delay: 0.1,
131
- max_delay: 60.0,
132
- multiplier: 1.3,
133
- retry_codes: [14, 4]
115
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
134
116
  }
135
117
 
136
118
  default_config.rpcs.list_node_pools.timeout = 20.0
137
119
  default_config.rpcs.list_node_pools.retry_policy = {
138
- initial_delay: 0.1,
139
- max_delay: 60.0,
140
- multiplier: 1.3,
141
- retry_codes: [14, 4]
120
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
142
121
  }
143
122
 
144
123
  default_config.rpcs.get_node_pool.timeout = 20.0
145
124
  default_config.rpcs.get_node_pool.retry_policy = {
146
- initial_delay: 0.1,
147
- max_delay: 60.0,
148
- multiplier: 1.3,
149
- retry_codes: [14, 4]
125
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
150
126
  }
151
127
 
152
128
  default_config.rpcs.create_node_pool.timeout = 45.0
153
129
 
154
130
  default_config.rpcs.delete_node_pool.timeout = 20.0
155
131
  default_config.rpcs.delete_node_pool.retry_policy = {
156
- initial_delay: 0.1,
157
- max_delay: 60.0,
158
- multiplier: 1.3,
159
- retry_codes: [14, 4]
132
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
160
133
  }
161
134
 
162
135
  default_config.rpcs.rollback_node_pool_upgrade.timeout = 45.0
@@ -245,7 +218,7 @@ module Google
245
218
  !@config.endpoint.split(".").first.include?("-")
246
219
  credentials ||= Credentials.default scope: @config.scope,
247
220
  enable_self_signed_jwt: enable_self_signed_jwt
248
- if credentials.is_a?(String) || credentials.is_a?(Hash)
221
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
249
222
  credentials = Credentials.new credentials, scope: @config.scope
250
223
  end
251
224
  @quota_project_id = @config.quota_project
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Container
23
23
  module V1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.7.0"
25
25
  end
26
26
  end
27
27
  end
@@ -248,6 +248,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
248
248
  optional :desired_intra_node_visibility_config, :message, 26, "google.container.v1.IntraNodeVisibilityConfig"
249
249
  optional :desired_default_snat_status, :message, 28, "google.container.v1.DefaultSnatStatus"
250
250
  optional :desired_release_channel, :message, 31, "google.container.v1.ReleaseChannel"
251
+ optional :desired_authenticator_groups_config, :message, 63, "google.container.v1.AuthenticatorGroupsConfig"
251
252
  optional :desired_master_version, :string, 100
252
253
  end
253
254
  add_message "google.container.v1.Operation" do
@@ -27,7 +27,7 @@ module Google
27
27
  # Google Kubernetes Engine Cluster Manager v1
28
28
  class Service
29
29
 
30
- include ::GRPC::GenericService
30
+ include GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -57,9 +57,15 @@ module Google
57
57
 
58
58
  # Denotes that a (repeated) field is an unordered list.
59
59
  # This indicates that the service may provide the elements of the list
60
- # in any arbitrary order, rather than the order the user originally
60
+ # in any arbitrary order, rather than the order the user originally
61
61
  # provided. Additionally, the list's order may or may not be stable.
62
62
  UNORDERED_LIST = 6
63
+
64
+ # Denotes that this field returns a non-empty default value if not set.
65
+ # This indicates that if the user provides the empty value in a request,
66
+ # a non-empty value will be returned. The user will not be aware of what
67
+ # non-empty value to expect.
68
+ NON_EMPTY_DEFAULT = 7
63
69
  end
64
70
  end
65
71
  end
@@ -1167,6 +1167,9 @@ module Google
1167
1167
  # @!attribute [rw] desired_release_channel
1168
1168
  # @return [::Google::Cloud::Container::V1::ReleaseChannel]
1169
1169
  # The desired release channel configuration.
1170
+ # @!attribute [rw] desired_authenticator_groups_config
1171
+ # @return [::Google::Cloud::Container::V1::AuthenticatorGroupsConfig]
1172
+ # The desired authenticator groups config for the cluster.
1170
1173
  # @!attribute [rw] desired_master_version
1171
1174
  # @return [::String]
1172
1175
  # The Kubernetes version to change the master to.
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.6.0
4
+ version: 0.7.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: 2021-06-17 00:00:00.000000000 Z
11
+ date: 2021-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common