google-cloud-gke_hub-v1 0.3.0 → 0.5.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 +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +2 -2
- data/lib/google/cloud/gke_hub/v1/gke_hub/client.rb +64 -58
- data/lib/google/cloud/gke_hub/v1/gke_hub/operations.rb +14 -16
- data/lib/google/cloud/gke_hub/v1/gke_hub/rest/client.rb +1312 -0
- data/lib/google/cloud/gke_hub/v1/gke_hub/rest/operations.rb +793 -0
- data/lib/google/cloud/gke_hub/v1/gke_hub/rest/service_stub.rb +701 -0
- data/lib/google/cloud/gke_hub/v1/gke_hub/rest.rb +69 -0
- data/lib/google/cloud/gke_hub/v1/gke_hub.rb +11 -2
- data/lib/google/cloud/gke_hub/v1/rest.rb +37 -0
- data/lib/google/cloud/gke_hub/v1/version.rb +1 -1
- data/lib/google/cloud/gke_hub/v1.rb +7 -2
- data/lib/google/cloud/gkehub/v1/membership_pb.rb +11 -0
- data/lib/google/cloud/gkehub/v1/service_pb.rb +2 -0
- data/lib/google/cloud/gkehub/v1/service_services_pb.rb +4 -1
- data/proto_docs/google/api/client.rb +372 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/gkehub/v1/membership.rb +87 -39
- data/proto_docs/google/cloud/gkehub/v1/service.rb +26 -18
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +14 -7
@@ -0,0 +1,71 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Api
|
22
|
+
# The launch stage as defined by [Google Cloud Platform
|
23
|
+
# Launch Stages](https://cloud.google.com/terms/launch-stages).
|
24
|
+
module LaunchStage
|
25
|
+
# Do not use this default value.
|
26
|
+
LAUNCH_STAGE_UNSPECIFIED = 0
|
27
|
+
|
28
|
+
# The feature is not yet implemented. Users can not use it.
|
29
|
+
UNIMPLEMENTED = 6
|
30
|
+
|
31
|
+
# Prelaunch features are hidden from users and are only visible internally.
|
32
|
+
PRELAUNCH = 7
|
33
|
+
|
34
|
+
# Early Access features are limited to a closed group of testers. To use
|
35
|
+
# these features, you must sign up in advance and sign a Trusted Tester
|
36
|
+
# agreement (which includes confidentiality provisions). These features may
|
37
|
+
# be unstable, changed in backward-incompatible ways, and are not
|
38
|
+
# guaranteed to be released.
|
39
|
+
EARLY_ACCESS = 1
|
40
|
+
|
41
|
+
# Alpha is a limited availability test for releases before they are cleared
|
42
|
+
# for widespread use. By Alpha, all significant design issues are resolved
|
43
|
+
# and we are in the process of verifying functionality. Alpha customers
|
44
|
+
# need to apply for access, agree to applicable terms, and have their
|
45
|
+
# projects allowlisted. Alpha releases don't have to be feature complete,
|
46
|
+
# no SLAs are provided, and there are no technical support obligations, but
|
47
|
+
# they will be far enough along that customers can actually use them in
|
48
|
+
# test environments or for limited-use tests -- just like they would in
|
49
|
+
# normal production cases.
|
50
|
+
ALPHA = 2
|
51
|
+
|
52
|
+
# Beta is the point at which we are ready to open a release for any
|
53
|
+
# customer to use. There are no SLA or technical support obligations in a
|
54
|
+
# Beta release. Products will be complete from a feature perspective, but
|
55
|
+
# may have some open outstanding issues. Beta releases are suitable for
|
56
|
+
# limited production use cases.
|
57
|
+
BETA = 3
|
58
|
+
|
59
|
+
# GA features are open to all developers and are considered stable and
|
60
|
+
# fully qualified for production use.
|
61
|
+
GA = 4
|
62
|
+
|
63
|
+
# Deprecated features are scheduled to be shut down and removed. For more
|
64
|
+
# information, see the "Deprecation Policy" section of our [Terms of
|
65
|
+
# Service](https://cloud.google.com/terms/)
|
66
|
+
# and the [Google Cloud Platform Subject to the Deprecation
|
67
|
+
# Policy](https://cloud.google.com/terms/deprecation) documentation.
|
68
|
+
DEPRECATED = 5
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -27,8 +27,9 @@ module Google
|
|
27
27
|
# Optional. Endpoint information to reach this member.
|
28
28
|
# @!attribute [r] name
|
29
29
|
# @return [::String]
|
30
|
-
# Output only. The full, unique name of this Membership resource in the
|
31
|
-
# `projects/*/locations/*/memberships/{membership_id}`, set during
|
30
|
+
# Output only. The full, unique name of this Membership resource in the
|
31
|
+
# format `projects/*/locations/*/memberships/{membership_id}`, set during
|
32
|
+
# creation.
|
32
33
|
#
|
33
34
|
# `membership_id` must be a valid RFC 1123 compliant DNS label:
|
34
35
|
#
|
@@ -40,7 +41,7 @@ module Google
|
|
40
41
|
# with a maximum length of 63 characters.
|
41
42
|
# @!attribute [rw] labels
|
42
43
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
43
|
-
# Optional.
|
44
|
+
# Optional. Labels for this membership.
|
44
45
|
# @!attribute [r] description
|
45
46
|
# @return [::String]
|
46
47
|
# Output only. Description of this membership, limited to 63 characters.
|
@@ -61,8 +62,8 @@ module Google
|
|
61
62
|
# Output only. When the Membership was deleted.
|
62
63
|
# @!attribute [rw] external_id
|
63
64
|
# @return [::String]
|
64
|
-
# Optional. An externally-generated and managed ID for this Membership. This
|
65
|
-
# be modified after creation, but this is not recommended.
|
65
|
+
# Optional. An externally-generated and managed ID for this Membership. This
|
66
|
+
# ID may be modified after creation, but this is not recommended.
|
66
67
|
#
|
67
68
|
# The ID must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.]*`
|
68
69
|
#
|
@@ -70,20 +71,24 @@ module Google
|
|
70
71
|
# set to the UID of the `kube-system` namespace object.
|
71
72
|
# @!attribute [r] last_connection_time
|
72
73
|
# @return [::Google::Protobuf::Timestamp]
|
73
|
-
# Output only. For clusters using Connect, the timestamp of the most recent
|
74
|
-
# established with Google Cloud. This time is updated every
|
75
|
-
# not continuously. For clusters that do not use GKE
|
76
|
-
# never connected successfully, this field will be
|
74
|
+
# Output only. For clusters using Connect, the timestamp of the most recent
|
75
|
+
# connection established with Google Cloud. This time is updated every
|
76
|
+
# several minutes, not continuously. For clusters that do not use GKE
|
77
|
+
# Connect, or that have never connected successfully, this field will be
|
78
|
+
# unset.
|
77
79
|
# @!attribute [r] unique_id
|
78
80
|
# @return [::String]
|
79
|
-
# Output only. Google-generated UUID for this resource. This is unique across
|
80
|
-
# Membership resources. If a Membership resource is deleted and another
|
81
|
+
# Output only. Google-generated UUID for this resource. This is unique across
|
82
|
+
# all Membership resources. If a Membership resource is deleted and another
|
81
83
|
# resource with the same name is created, it gets a different unique_id.
|
82
84
|
# @!attribute [rw] authority
|
83
85
|
# @return [::Google::Cloud::GkeHub::V1::Authority]
|
84
86
|
# Optional. How to identify workloads from this Membership.
|
85
87
|
# See the documentation on Workload Identity for more details:
|
86
88
|
# https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
|
89
|
+
# @!attribute [rw] monitoring_config
|
90
|
+
# @return [::Google::Cloud::GkeHub::V1::MonitoringConfig]
|
91
|
+
# Optional. The monitoring config information for this membership.
|
87
92
|
class Membership
|
88
93
|
include ::Google::Protobuf::MessageExts
|
89
94
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -108,14 +113,18 @@ module Google
|
|
108
113
|
# Output only. Useful Kubernetes-specific metadata.
|
109
114
|
# @!attribute [rw] kubernetes_resource
|
110
115
|
# @return [::Google::Cloud::GkeHub::V1::KubernetesResource]
|
111
|
-
# Optional. The in-cluster Kubernetes Resources that should be applied for a
|
112
|
-
# registered cluster, in the steady state. These resources:
|
116
|
+
# Optional. The in-cluster Kubernetes Resources that should be applied for a
|
117
|
+
# correctly registered cluster, in the steady state. These resources:
|
113
118
|
#
|
114
119
|
# * Ensure that the cluster is exclusively registered to one and only one
|
115
120
|
# Hub Membership.
|
116
121
|
# * Propagate Workload Pool Information available in the Membership
|
117
122
|
# Authority field.
|
118
123
|
# * Ensure proper initial configuration of default Hub Features.
|
124
|
+
# @!attribute [r] google_managed
|
125
|
+
# @return [::Boolean]
|
126
|
+
# Output only. Whether the lifecycle of this membership is managed by a
|
127
|
+
# google cluster platform service.
|
119
128
|
class MembershipEndpoint
|
120
129
|
include ::Google::Protobuf::MessageExts
|
121
130
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -126,8 +135,8 @@ module Google
|
|
126
135
|
# UpdateMembership, these resources should be re-applied in the cluster.
|
127
136
|
# @!attribute [rw] membership_cr_manifest
|
128
137
|
# @return [::String]
|
129
|
-
# Input only. The YAML representation of the Membership CR. This field is
|
130
|
-
# clusters where Hub can read the CR directly.
|
138
|
+
# Input only. The YAML representation of the Membership CR. This field is
|
139
|
+
# ignored for GKE clusters where Hub can read the CR directly.
|
131
140
|
#
|
132
141
|
# Callers should provide the CR that is currently present in the cluster
|
133
142
|
# during CreateMembership or UpdateMembership, or leave this field empty if
|
@@ -135,8 +144,8 @@ module Google
|
|
135
144
|
# registered with another Membership.
|
136
145
|
# @!attribute [r] membership_resources
|
137
146
|
# @return [::Array<::Google::Cloud::GkeHub::V1::ResourceManifest>]
|
138
|
-
# Output only. Additional Kubernetes resources that need to be applied to the
|
139
|
-
# after Membership creation, and after every update.
|
147
|
+
# Output only. Additional Kubernetes resources that need to be applied to the
|
148
|
+
# cluster after Membership creation, and after every update.
|
140
149
|
#
|
141
150
|
# This field is only populated in the Membership returned from a successful
|
142
151
|
# long-running operation from CreateMembership or UpdateMembership. It is not
|
@@ -163,9 +172,9 @@ module Google
|
|
163
172
|
# ResourceOptions represent options for Kubernetes resource generation.
|
164
173
|
# @!attribute [rw] connect_version
|
165
174
|
# @return [::String]
|
166
|
-
# Optional. The Connect agent version to use for connect_resources. Defaults
|
167
|
-
# latest GKE Connect version. The version must be a currently
|
168
|
-
# version, obsolete versions will be rejected.
|
175
|
+
# Optional. The Connect agent version to use for connect_resources. Defaults
|
176
|
+
# to the latest GKE Connect version. The version must be a currently
|
177
|
+
# supported version, obsolete versions will be rejected.
|
169
178
|
# @!attribute [rw] v1beta1_crd
|
170
179
|
# @return [::Boolean]
|
171
180
|
# Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
|
@@ -174,8 +183,8 @@ module Google
|
|
174
183
|
# <1.16.
|
175
184
|
# @!attribute [rw] k8s_version
|
176
185
|
# @return [::String]
|
177
|
-
# Optional. Major version of the Kubernetes cluster. This is only used to
|
178
|
-
# which version to use for the CustomResourceDefinition resources,
|
186
|
+
# Optional. Major version of the Kubernetes cluster. This is only used to
|
187
|
+
# determine which version to use for the CustomResourceDefinition resources,
|
179
188
|
# `apiextensions/v1beta1` or`apiextensions/v1`.
|
180
189
|
class ResourceOptions
|
181
190
|
include ::Google::Protobuf::MessageExts
|
@@ -202,11 +211,16 @@ module Google
|
|
202
211
|
# GkeCluster contains information specific to GKE clusters.
|
203
212
|
# @!attribute [rw] resource_link
|
204
213
|
# @return [::String]
|
205
|
-
# Immutable. Self-link of the
|
214
|
+
# Immutable. Self-link of the Google Cloud resource for the GKE cluster. For
|
215
|
+
# example:
|
206
216
|
#
|
207
217
|
# //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster
|
208
218
|
#
|
209
219
|
# Zonal clusters are also supported.
|
220
|
+
# @!attribute [r] cluster_missing
|
221
|
+
# @return [::Boolean]
|
222
|
+
# Output only. If cluster_missing is set then it denotes that the GKE cluster
|
223
|
+
# no longer exists in the GKE Control Plane.
|
210
224
|
class GkeCluster
|
211
225
|
include ::Google::Protobuf::MessageExts
|
212
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -216,12 +230,13 @@ module Google
|
|
216
230
|
# representing Kubernetes clusters.
|
217
231
|
# @!attribute [r] kubernetes_api_server_version
|
218
232
|
# @return [::String]
|
219
|
-
# Output only. Kubernetes API server version string as reported by
|
233
|
+
# Output only. Kubernetes API server version string as reported by
|
234
|
+
# `/version`.
|
220
235
|
# @!attribute [r] node_provider_id
|
221
236
|
# @return [::String]
|
222
|
-
# Output only. Node providerID as reported by the first node in the list of
|
223
|
-
# the Kubernetes endpoint. On Kubernetes platforms that support
|
224
|
-
# clusters (like GKE-on-GCP), the node_count will be zero and the
|
237
|
+
# Output only. Node providerID as reported by the first node in the list of
|
238
|
+
# nodes on the Kubernetes endpoint. On Kubernetes platforms that support
|
239
|
+
# zero-node clusters (like GKE-on-GCP), the node_count will be zero and the
|
225
240
|
# node_provider_id will be empty.
|
226
241
|
# @!attribute [r] node_count
|
227
242
|
# @return [::Integer]
|
@@ -231,18 +246,50 @@ module Google
|
|
231
246
|
# Output only. vCPU count as reported by Kubernetes nodes resources.
|
232
247
|
# @!attribute [r] memory_mb
|
233
248
|
# @return [::Integer]
|
234
|
-
# Output only. The total memory capacity as reported by the sum of all
|
235
|
-
# resources, defined in MB.
|
249
|
+
# Output only. The total memory capacity as reported by the sum of all
|
250
|
+
# Kubernetes nodes resources, defined in MB.
|
236
251
|
# @!attribute [r] update_time
|
237
252
|
# @return [::Google::Protobuf::Timestamp]
|
238
|
-
# Output only. The time at which these details were last updated. This
|
239
|
-
# different from the Membership-level update_time since
|
240
|
-
# updated internally for API consumers.
|
253
|
+
# Output only. The time at which these details were last updated. This
|
254
|
+
# update_time is different from the Membership-level update_time since
|
255
|
+
# EndpointDetails are updated internally for API consumers.
|
241
256
|
class KubernetesMetadata
|
242
257
|
include ::Google::Protobuf::MessageExts
|
243
258
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
244
259
|
end
|
245
260
|
|
261
|
+
# This field informs Fleet-based applications/services/UIs with the necessary
|
262
|
+
# information for where each underlying Cluster reports its metrics.
|
263
|
+
# @!attribute [rw] project_id
|
264
|
+
# @return [::String]
|
265
|
+
# Immutable. Project used to report Metrics
|
266
|
+
# @!attribute [rw] location
|
267
|
+
# @return [::String]
|
268
|
+
# Immutable. Location used to report Metrics
|
269
|
+
# @!attribute [rw] cluster
|
270
|
+
# @return [::String]
|
271
|
+
# Immutable. Cluster name used to report metrics.
|
272
|
+
# For Anthos on VMWare/Baremetal, it would be in format
|
273
|
+
# `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in
|
274
|
+
# format
|
275
|
+
# `{azureClusters, awsClusters}/cluster_name`.
|
276
|
+
# @!attribute [rw] kubernetes_metrics_prefix
|
277
|
+
# @return [::String]
|
278
|
+
# Kubernetes system metrics, if available, are written to this prefix.
|
279
|
+
# This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos
|
280
|
+
# eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today
|
281
|
+
# but will migration to be under kubernetes.io/anthos
|
282
|
+
# @!attribute [rw] cluster_hash
|
283
|
+
# @return [::String]
|
284
|
+
# Immutable. Cluster hash, this is a unique string generated by google code,
|
285
|
+
# which does not contain any PII, which we can use to reference the cluster.
|
286
|
+
# This is expected to be created by the monitoring stack and persisted into
|
287
|
+
# the Cluster object as well as to GKE-Hub.
|
288
|
+
class MonitoringConfig
|
289
|
+
include ::Google::Protobuf::MessageExts
|
290
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
291
|
+
end
|
292
|
+
|
246
293
|
# MembershipState describes the state of a Membership resource.
|
247
294
|
# @!attribute [r] code
|
248
295
|
# @return [::Google::Cloud::GkeHub::V1::MembershipState::Code]
|
@@ -278,8 +325,8 @@ module Google
|
|
278
325
|
# https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
|
279
326
|
# @!attribute [rw] issuer
|
280
327
|
# @return [::String]
|
281
|
-
# Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with
|
282
|
-
# be a valid URL with length <2000 characters.
|
328
|
+
# Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with
|
329
|
+
# `https://` and be a valid URL with length <2000 characters.
|
283
330
|
#
|
284
331
|
# If set, then Google will allow valid OIDC tokens from this issuer to
|
285
332
|
# authenticate within the workload_identity_pool. OIDC discovery will be
|
@@ -290,8 +337,8 @@ module Google
|
|
290
337
|
# a new issuer (and re-enabling Workload Identity).
|
291
338
|
# @!attribute [r] workload_identity_pool
|
292
339
|
# @return [::String]
|
293
|
-
# Output only. The name of the workload identity pool in which `issuer` will
|
294
|
-
# recognized.
|
340
|
+
# Output only. The name of the workload identity pool in which `issuer` will
|
341
|
+
# be recognized.
|
295
342
|
#
|
296
343
|
# There is a single Workload Identity Pool per Hub that is shared
|
297
344
|
# between all Memberships that belong to that Hub. For a Hub hosted in
|
@@ -299,11 +346,12 @@ module Google
|
|
299
346
|
# although this is subject to change in newer versions of this API.
|
300
347
|
# @!attribute [r] identity_provider
|
301
348
|
# @return [::String]
|
302
|
-
# Output only. An identity provider that reflects the `issuer` in the
|
303
|
-
# pool.
|
349
|
+
# Output only. An identity provider that reflects the `issuer` in the
|
350
|
+
# workload identity pool.
|
304
351
|
# @!attribute [rw] oidc_jwks
|
305
352
|
# @return [::String]
|
306
|
-
# Optional. OIDC verification keys for this Membership in JWKS format (RFC
|
353
|
+
# Optional. OIDC verification keys for this Membership in JWKS format (RFC
|
354
|
+
# 7517).
|
307
355
|
#
|
308
356
|
# When this field is set, OIDC discovery will NOT be performed on `issuer`,
|
309
357
|
# and instead OIDC tokens will be validated using this field.
|
@@ -24,13 +24,14 @@ module Google
|
|
24
24
|
# Request message for `GkeHub.ListMemberships` method.
|
25
25
|
# @!attribute [rw] parent
|
26
26
|
# @return [::String]
|
27
|
-
# Required. The parent (project and location) where the Memberships will be
|
28
|
-
# Specified in the format `projects/*/locations/*`.
|
27
|
+
# Required. The parent (project and location) where the Memberships will be
|
28
|
+
# listed. Specified in the format `projects/*/locations/*`.
|
29
|
+
# `projects/*/locations/-` list memberships in all the regions.
|
29
30
|
# @!attribute [rw] page_size
|
30
31
|
# @return [::Integer]
|
31
|
-
# Optional. When requesting a 'page' of resources, `page_size` specifies
|
32
|
-
# resources to return. If unspecified or set to 0, all resources
|
33
|
-
# be returned.
|
32
|
+
# Optional. When requesting a 'page' of resources, `page_size` specifies
|
33
|
+
# number of resources to return. If unspecified or set to 0, all resources
|
34
|
+
# will be returned.
|
34
35
|
# @!attribute [rw] page_token
|
35
36
|
# @return [::String]
|
36
37
|
# Optional. Token returned by previous call to `ListMemberships` which
|
@@ -38,8 +39,8 @@ module Google
|
|
38
39
|
# resources.
|
39
40
|
# @!attribute [rw] filter
|
40
41
|
# @return [::String]
|
41
|
-
# Optional. Lists Memberships that match the filter expression, following the
|
42
|
-
# outlined in https://google.aip.dev/160.
|
42
|
+
# Optional. Lists Memberships that match the filter expression, following the
|
43
|
+
# syntax outlined in https://google.aip.dev/160.
|
43
44
|
#
|
44
45
|
# Examples:
|
45
46
|
#
|
@@ -97,12 +98,12 @@ module Google
|
|
97
98
|
# Request message for the `GkeHub.CreateMembership` method.
|
98
99
|
# @!attribute [rw] parent
|
99
100
|
# @return [::String]
|
100
|
-
# Required. The parent (project and location) where the Memberships will be
|
101
|
-
# Specified in the format `projects/*/locations/*`.
|
101
|
+
# Required. The parent (project and location) where the Memberships will be
|
102
|
+
# created. Specified in the format `projects/*/locations/*`.
|
102
103
|
# @!attribute [rw] membership_id
|
103
104
|
# @return [::String]
|
104
|
-
# Required. Client chosen ID for the membership. `membership_id` must be a
|
105
|
-
# 1123 compliant DNS label:
|
105
|
+
# Required. Client chosen ID for the membership. `membership_id` must be a
|
106
|
+
# valid RFC 1123 compliant DNS label:
|
106
107
|
#
|
107
108
|
# 1. At most 63 characters in length
|
108
109
|
# 2. It must consist of lower case alphanumeric characters or `-`
|
@@ -153,6 +154,11 @@ module Google
|
|
153
154
|
#
|
154
155
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
155
156
|
# not supported (00000000-0000-0000-0000-000000000000).
|
157
|
+
# @!attribute [rw] force
|
158
|
+
# @return [::Boolean]
|
159
|
+
# Optional. If set to true, any subresource from this Membership will also be
|
160
|
+
# deleted. Otherwise, the request will only work if the Membership has no
|
161
|
+
# subresource.
|
156
162
|
class DeleteMembershipRequest
|
157
163
|
include ::Google::Protobuf::MessageExts
|
158
164
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -201,25 +207,27 @@ module Google
|
|
201
207
|
# .
|
202
208
|
# @!attribute [rw] name
|
203
209
|
# @return [::String]
|
204
|
-
# Required. The Membership resource name the Agent will associate with, in
|
205
|
-
# `projects/*/locations/*/memberships/*`.
|
210
|
+
# Required. The Membership resource name the Agent will associate with, in
|
211
|
+
# the format `projects/*/locations/*/memberships/*`.
|
206
212
|
# @!attribute [rw] namespace
|
207
213
|
# @return [::String]
|
208
|
-
# Optional. Namespace for GKE Connect agent resources. Defaults to
|
214
|
+
# Optional. Namespace for GKE Connect agent resources. Defaults to
|
215
|
+
# `gke-connect`.
|
209
216
|
#
|
210
217
|
# The Connect Agent is authorized automatically when run in the default
|
211
218
|
# namespace. Otherwise, explicit authorization must be granted with an
|
212
219
|
# additional IAM binding.
|
213
220
|
# @!attribute [rw] proxy
|
214
221
|
# @return [::String]
|
215
|
-
# Optional. URI of a proxy if connectivity from the agent to
|
216
|
-
# requires the use of a proxy. Format must be in
|
217
|
-
# `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol
|
222
|
+
# Optional. URI of a proxy if connectivity from the agent to
|
223
|
+
# gkeconnect.googleapis.com requires the use of a proxy. Format must be in
|
224
|
+
# the form `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol
|
218
225
|
# supported by the proxy. This will direct the connect agent's outbound
|
219
226
|
# traffic through a HTTP(S) proxy.
|
220
227
|
# @!attribute [rw] version
|
221
228
|
# @return [::String]
|
222
|
-
# Optional. The Connect agent version to use. Defaults to the most current
|
229
|
+
# Optional. The Connect agent version to use. Defaults to the most current
|
230
|
+
# version.
|
223
231
|
# @!attribute [rw] is_upgrade
|
224
232
|
# @return [::Boolean]
|
225
233
|
# Optional. If true, generate the resources for upgrade only. Some resources
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -28,12 +28,14 @@ module Google
|
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
30
|
# @return [::Integer]
|
31
|
-
# The status code, which should be an enum value of
|
31
|
+
# The status code, which should be an enum value of
|
32
|
+
# [google.rpc.Code][google.rpc.Code].
|
32
33
|
# @!attribute [rw] message
|
33
34
|
# @return [::String]
|
34
35
|
# A developer-facing error message, which should be in English. Any
|
35
36
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
37
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
38
|
+
# by the client.
|
37
39
|
# @!attribute [rw] details
|
38
40
|
# @return [::Array<::Google::Protobuf::Any>]
|
39
41
|
# A list of messages that carry the error details. There is a common set of
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-gke_hub-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.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:
|
11
|
+
date: 2023-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.18.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.
|
53
|
+
version: 1.26.3
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.
|
60
|
+
version: 1.26.3
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: minitest
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -177,6 +177,11 @@ files:
|
|
177
177
|
- lib/google/cloud/gke_hub/v1/gke_hub/credentials.rb
|
178
178
|
- lib/google/cloud/gke_hub/v1/gke_hub/operations.rb
|
179
179
|
- lib/google/cloud/gke_hub/v1/gke_hub/paths.rb
|
180
|
+
- lib/google/cloud/gke_hub/v1/gke_hub/rest.rb
|
181
|
+
- lib/google/cloud/gke_hub/v1/gke_hub/rest/client.rb
|
182
|
+
- lib/google/cloud/gke_hub/v1/gke_hub/rest/operations.rb
|
183
|
+
- lib/google/cloud/gke_hub/v1/gke_hub/rest/service_stub.rb
|
184
|
+
- lib/google/cloud/gke_hub/v1/rest.rb
|
180
185
|
- lib/google/cloud/gke_hub/v1/version.rb
|
181
186
|
- lib/google/cloud/gkehub/v1/configmanagement/configmanagement_pb.rb
|
182
187
|
- lib/google/cloud/gkehub/v1/feature_pb.rb
|
@@ -185,7 +190,9 @@ files:
|
|
185
190
|
- lib/google/cloud/gkehub/v1/service_pb.rb
|
186
191
|
- lib/google/cloud/gkehub/v1/service_services_pb.rb
|
187
192
|
- proto_docs/README.md
|
193
|
+
- proto_docs/google/api/client.rb
|
188
194
|
- proto_docs/google/api/field_behavior.rb
|
195
|
+
- proto_docs/google/api/launch_stage.rb
|
189
196
|
- proto_docs/google/api/resource.rb
|
190
197
|
- proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb
|
191
198
|
- proto_docs/google/cloud/gkehub/v1/feature.rb
|
@@ -218,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
225
|
- !ruby/object:Gem::Version
|
219
226
|
version: '0'
|
220
227
|
requirements: []
|
221
|
-
rubygems_version: 3.
|
228
|
+
rubygems_version: 3.4.2
|
222
229
|
signing_key:
|
223
230
|
specification_version: 4
|
224
231
|
summary: API Client library for the GKE Hub V1 API
|