google-cloud-gke_hub-v1beta1 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,8 +24,9 @@ module Google
24
24
  # Membership contains information about a member cluster.
25
25
  # @!attribute [r] name
26
26
  # @return [::String]
27
- # Output only. The full, unique name of this Membership resource in the format
28
- # `projects/*/locations/*/memberships/{membership_id}`, set during creation.
27
+ # Output only. The full, unique name of this Membership resource in the
28
+ # format `projects/*/locations/*/memberships/{membership_id}`, set during
29
+ # creation.
29
30
  #
30
31
  # `membership_id` must be a valid RFC 1123 compliant DNS label:
31
32
  #
@@ -64,9 +65,10 @@ module Google
64
65
  # Output only. When the Membership was deleted.
65
66
  # @!attribute [rw] external_id
66
67
  # @return [::String]
67
- # Optional. An externally-generated and managed ID for this Membership. This ID may
68
- # be modified after creation, but this is not recommended. For GKE clusters,
69
- # external_id is managed by the Hub API and updates will be ignored.
68
+ # Optional. An externally-generated and managed ID for this Membership. This
69
+ # ID may be modified after creation, but this is not recommended. For GKE
70
+ # clusters, external_id is managed by the Hub API and updates will be
71
+ # ignored.
70
72
  #
71
73
  # The ID must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.]*`
72
74
  #
@@ -74,18 +76,22 @@ module Google
74
76
  # set to the UID of the `kube-system` namespace object.
75
77
  # @!attribute [r] last_connection_time
76
78
  # @return [::Google::Protobuf::Timestamp]
77
- # Output only. For clusters using Connect, the timestamp of the most recent connection
78
- # established with Google Cloud. This time is updated every several minutes,
79
- # not continuously. For clusters that do not use GKE Connect, or that have
80
- # never connected successfully, this field will be unset.
79
+ # Output only. For clusters using Connect, the timestamp of the most recent
80
+ # connection established with Google Cloud. This time is updated every
81
+ # several minutes, not continuously. For clusters that do not use GKE
82
+ # Connect, or that have never connected successfully, this field will be
83
+ # unset.
81
84
  # @!attribute [r] unique_id
82
85
  # @return [::String]
83
- # Output only. Google-generated UUID for this resource. This is unique across all
84
- # Membership resources. If a Membership resource is deleted and another
86
+ # Output only. Google-generated UUID for this resource. This is unique across
87
+ # all Membership resources. If a Membership resource is deleted and another
85
88
  # resource with the same name is created, it gets a different unique_id.
86
89
  # @!attribute [rw] infrastructure_type
87
90
  # @return [::Google::Cloud::GkeHub::V1beta1::Membership::InfrastructureType]
88
91
  # Optional. The infrastructure type this Membership is running on.
92
+ # @!attribute [rw] monitoring_config
93
+ # @return [::Google::Cloud::GkeHub::V1beta1::MonitoringConfig]
94
+ # Optional. The monitoring config information for this membership.
89
95
  class Membership
90
96
  include ::Google::Protobuf::MessageExts
91
97
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -126,9 +132,9 @@ module Google
126
132
  # Optional. Specific information for a GKE-on-GCP cluster.
127
133
  # @!attribute [rw] on_prem_cluster
128
134
  # @return [::Google::Cloud::GkeHub::V1beta1::OnPremCluster]
129
- # Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster
130
- # who has no resourceLink is not allowed to use this field, it should have
131
- # a nil "type" instead.
135
+ # Optional. Specific information for a GKE On-Prem cluster. An onprem
136
+ # user-cluster who has no resourceLink is not allowed to use this field, it
137
+ # should have a nil "type" instead.
132
138
  # @!attribute [rw] multi_cloud_cluster
133
139
  # @return [::Google::Cloud::GkeHub::V1beta1::MultiCloudCluster]
134
140
  # Optional. Specific information for a GKE Multi-Cloud cluster.
@@ -143,8 +149,8 @@ module Google
143
149
  # Output only. Useful Kubernetes-specific metadata.
144
150
  # @!attribute [rw] kubernetes_resource
145
151
  # @return [::Google::Cloud::GkeHub::V1beta1::KubernetesResource]
146
- # Optional. The in-cluster Kubernetes Resources that should be applied for a correctly
147
- # registered cluster, in the steady state. These resources:
152
+ # Optional. The in-cluster Kubernetes Resources that should be applied for a
153
+ # correctly registered cluster, in the steady state. These resources:
148
154
  #
149
155
  # * Ensure that the cluster is exclusively registered to one and only one
150
156
  # Hub Membership.
@@ -161,8 +167,8 @@ module Google
161
167
  # UpdateMembership, these resources should be re-applied in the cluster.
162
168
  # @!attribute [rw] membership_cr_manifest
163
169
  # @return [::String]
164
- # Input only. The YAML representation of the Membership CR. This field is ignored for GKE
165
- # clusters where Hub can read the CR directly.
170
+ # Input only. The YAML representation of the Membership CR. This field is
171
+ # ignored for GKE clusters where Hub can read the CR directly.
166
172
  #
167
173
  # Callers should provide the CR that is currently present in the cluster
168
174
  # during CreateMembership or UpdateMembership, or leave this field empty if
@@ -170,8 +176,8 @@ module Google
170
176
  # registered with another Membership.
171
177
  # @!attribute [r] membership_resources
172
178
  # @return [::Array<::Google::Cloud::GkeHub::V1beta1::ResourceManifest>]
173
- # Output only. Additional Kubernetes resources that need to be applied to the cluster
174
- # after Membership creation, and after every update.
179
+ # Output only. Additional Kubernetes resources that need to be applied to the
180
+ # cluster after Membership creation, and after every update.
175
181
  #
176
182
  # This field is only populated in the Membership returned from a successful
177
183
  # long-running operation from CreateMembership or UpdateMembership. It is not
@@ -198,9 +204,9 @@ module Google
198
204
  # ResourceOptions represent options for Kubernetes resource generation.
199
205
  # @!attribute [rw] connect_version
200
206
  # @return [::String]
201
- # Optional. The Connect agent version to use for connect_resources. Defaults to the
202
- # latest GKE Connect version. The version must be a currently supported
203
- # version, obsolete versions will be rejected.
207
+ # Optional. The Connect agent version to use for connect_resources. Defaults
208
+ # to the latest GKE Connect version. The version must be a currently
209
+ # supported version, obsolete versions will be rejected.
204
210
  # @!attribute [rw] v1beta1_crd
205
211
  # @return [::Boolean]
206
212
  # Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
@@ -209,8 +215,8 @@ module Google
209
215
  # <1.16.
210
216
  # @!attribute [rw] k8s_version
211
217
  # @return [::String]
212
- # Optional. Major version of the Kubernetes cluster. This is only used to determine
213
- # which version to use for the CustomResourceDefinition resources,
218
+ # Optional. Major version of the Kubernetes cluster. This is only used to
219
+ # determine which version to use for the CustomResourceDefinition resources,
214
220
  # `apiextensions/v1beta1` or`apiextensions/v1`.
215
221
  class ResourceOptions
216
222
  include ::Google::Protobuf::MessageExts
@@ -244,8 +250,8 @@ module Google
244
250
  # Zonal clusters are also supported.
245
251
  # @!attribute [r] cluster_missing
246
252
  # @return [::Boolean]
247
- # Output only. If cluster_missing is set then it denotes that the GKE cluster no longer
248
- # exists in the GKE Control Plane.
253
+ # Output only. If cluster_missing is set then it denotes that the GKE cluster
254
+ # no longer exists in the GKE Control Plane.
249
255
  class GkeCluster
250
256
  include ::Google::Protobuf::MessageExts
251
257
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -254,7 +260,8 @@ module Google
254
260
  # OnPremCluster contains information specific to GKE On-Prem clusters.
255
261
  # @!attribute [rw] resource_link
256
262
  # @return [::String]
257
- # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example:
263
+ # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
264
+ # example:
258
265
  #
259
266
  # //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster
260
267
  # //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
@@ -295,11 +302,12 @@ module Google
295
302
  # MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
296
303
  # @!attribute [rw] resource_link
297
304
  # @return [::String]
298
- # Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
299
- # example:
305
+ # Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster.
306
+ # For example:
300
307
  #
301
308
  # //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster
302
309
  # //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster
310
+ # //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
303
311
  # @!attribute [r] cluster_missing
304
312
  # @return [::Boolean]
305
313
  # Output only. If cluster_missing is set then it denotes that
@@ -339,12 +347,13 @@ module Google
339
347
  # representing Kubernetes clusters.
340
348
  # @!attribute [r] kubernetes_api_server_version
341
349
  # @return [::String]
342
- # Output only. Kubernetes API server version string as reported by '/version'.
350
+ # Output only. Kubernetes API server version string as reported by
351
+ # '/version'.
343
352
  # @!attribute [r] node_provider_id
344
353
  # @return [::String]
345
- # Output only. Node providerID as reported by the first node in the list of nodes on
346
- # the Kubernetes endpoint. On Kubernetes platforms that support zero-node
347
- # clusters (like GKE-on-GCP), the node_count will be zero and the
354
+ # Output only. Node providerID as reported by the first node in the list of
355
+ # nodes on the Kubernetes endpoint. On Kubernetes platforms that support
356
+ # zero-node clusters (like GKE-on-GCP), the node_count will be zero and the
348
357
  # node_provider_id will be empty.
349
358
  # @!attribute [r] node_count
350
359
  # @return [::Integer]
@@ -354,13 +363,13 @@ module Google
354
363
  # Output only. vCPU count as reported by Kubernetes nodes resources.
355
364
  # @!attribute [r] memory_mb
356
365
  # @return [::Integer]
357
- # Output only. The total memory capacity as reported by the sum of all Kubernetes nodes
358
- # resources, defined in MB.
366
+ # Output only. The total memory capacity as reported by the sum of all
367
+ # Kubernetes nodes resources, defined in MB.
359
368
  # @!attribute [r] update_time
360
369
  # @return [::Google::Protobuf::Timestamp]
361
- # Output only. The time at which these details were last updated. This update_time is
362
- # different from the Membership-level update_time since EndpointDetails are
363
- # updated internally for API consumers.
370
+ # Output only. The time at which these details were last updated. This
371
+ # update_time is different from the Membership-level update_time since
372
+ # EndpointDetails are updated internally for API consumers.
364
373
  class KubernetesMetadata
365
374
  include ::Google::Protobuf::MessageExts
366
375
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -371,8 +380,8 @@ module Google
371
380
  # https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity
372
381
  # @!attribute [rw] issuer
373
382
  # @return [::String]
374
- # Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and
375
- # be a valid URL with length <2000 characters.
383
+ # Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with
384
+ # `https://` and be a valid URL with length <2000 characters.
376
385
  #
377
386
  # If set, then Google will allow valid OIDC tokens from this issuer to
378
387
  # authenticate within the workload_identity_pool. OIDC discovery will be
@@ -383,8 +392,8 @@ module Google
383
392
  # a new issuer (and re-enabling Workload Identity).
384
393
  # @!attribute [r] workload_identity_pool
385
394
  # @return [::String]
386
- # Output only. The name of the workload identity pool in which `issuer` will be
387
- # recognized.
395
+ # Output only. The name of the workload identity pool in which `issuer` will
396
+ # be recognized.
388
397
  #
389
398
  # There is a single Workload Identity Pool per Hub that is shared
390
399
  # between all Memberships that belong to that Hub. For a Hub hosted in
@@ -392,11 +401,12 @@ module Google
392
401
  # although this is subject to change in newer versions of this API.
393
402
  # @!attribute [r] identity_provider
394
403
  # @return [::String]
395
- # Output only. An identity provider that reflects the `issuer` in the workload identity
396
- # pool.
404
+ # Output only. An identity provider that reflects the `issuer` in the
405
+ # workload identity pool.
397
406
  # @!attribute [rw] oidc_jwks
398
407
  # @return [::String]
399
- # Optional. OIDC verification keys for this Membership in JWKS format (RFC 7517).
408
+ # Optional. OIDC verification keys for this Membership in JWKS format (RFC
409
+ # 7517).
400
410
  #
401
411
  # When this field is set, OIDC discovery will NOT be performed on `issuer`,
402
412
  # and instead OIDC tokens will be validated using this field.
@@ -405,6 +415,38 @@ module Google
405
415
  extend ::Google::Protobuf::MessageExts::ClassMethods
406
416
  end
407
417
 
418
+ # This field informs Fleet-based applications/services/UIs with the necessary
419
+ # information for where each underlying Cluster reports its metrics.
420
+ # @!attribute [rw] project_id
421
+ # @return [::String]
422
+ # Immutable. Project used to report Metrics
423
+ # @!attribute [rw] location
424
+ # @return [::String]
425
+ # Immutable. Location used to report Metrics
426
+ # @!attribute [rw] cluster
427
+ # @return [::String]
428
+ # Immutable. Cluster name used to report metrics.
429
+ # For Anthos on VMWare/Baremetal, it would be in format
430
+ # `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in
431
+ # format
432
+ # `{azureClusters, awsClusters}/cluster_name`.
433
+ # @!attribute [rw] kubernetes_metrics_prefix
434
+ # @return [::String]
435
+ # Kubernetes system metrics, if available, are written to this prefix.
436
+ # This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos
437
+ # eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today
438
+ # but will migration to be under kubernetes.io/anthos
439
+ # @!attribute [rw] cluster_hash
440
+ # @return [::String]
441
+ # Immutable. Cluster hash, this is a unique string generated by google code,
442
+ # which does not contain any PII, which we can use to reference the cluster.
443
+ # This is expected to be created by the monitoring stack and persisted into
444
+ # the Cluster object as well as to GKE-Hub.
445
+ class MonitoringConfig
446
+ include ::Google::Protobuf::MessageExts
447
+ extend ::Google::Protobuf::MessageExts::ClassMethods
448
+ end
449
+
408
450
  # State of the Membership resource.
409
451
  # @!attribute [r] code
410
452
  # @return [::Google::Cloud::GkeHub::V1beta1::MembershipState::Code]
@@ -444,13 +486,14 @@ module Google
444
486
  # Request message for `GkeHubMembershipService.ListMemberships` method.
445
487
  # @!attribute [rw] parent
446
488
  # @return [::String]
447
- # Required. The parent (project and location) where the Memberships will be listed.
448
- # Specified in the format `projects/*/locations/*`.
489
+ # Required. The parent (project and location) where the Memberships will be
490
+ # listed. Specified in the format `projects/*/locations/*`.
491
+ # `projects/*/locations/-` list memberships in all the regions.
449
492
  # @!attribute [rw] page_size
450
493
  # @return [::Integer]
451
- # Optional. When requesting a 'page' of resources, `page_size` specifies number of
452
- # resources to return. If unspecified or set to 0, all resources will
453
- # be returned.
494
+ # Optional. When requesting a 'page' of resources, `page_size` specifies
495
+ # number of resources to return. If unspecified or set to 0, all resources
496
+ # will be returned.
454
497
  # @!attribute [rw] page_token
455
498
  # @return [::String]
456
499
  # Optional. Token returned by previous call to `ListMemberships` which
@@ -458,8 +501,8 @@ module Google
458
501
  # resources.
459
502
  # @!attribute [rw] filter
460
503
  # @return [::String]
461
- # Optional. Lists Memberships that match the filter expression, following the syntax
462
- # outlined in https://google.aip.dev/160.
504
+ # Optional. Lists Memberships that match the filter expression, following the
505
+ # syntax outlined in https://google.aip.dev/160.
463
506
  #
464
507
  # Examples:
465
508
  #
@@ -517,12 +560,12 @@ module Google
517
560
  # Request message for the `GkeHubMembershipService.CreateMembership` method.
518
561
  # @!attribute [rw] parent
519
562
  # @return [::String]
520
- # Required. The parent (project and location) where the Memberships will be created.
521
- # Specified in the format `projects/*/locations/*`.
563
+ # Required. The parent (project and location) where the Memberships will be
564
+ # created. Specified in the format `projects/*/locations/*`.
522
565
  # @!attribute [rw] membership_id
523
566
  # @return [::String]
524
- # Required. Client chosen ID for the membership. `membership_id` must be a valid RFC
525
- # 1123 compliant DNS label:
567
+ # Required. Client chosen ID for the membership. `membership_id` must be a
568
+ # valid RFC 1123 compliant DNS label:
526
569
  #
527
570
  # 1. At most 63 characters in length
528
571
  # 2. It must consist of lower case alphanumeric characters or `-`
@@ -573,6 +616,11 @@ module Google
573
616
  #
574
617
  # The request ID must be a valid UUID with the exception that zero UUID is
575
618
  # not supported (00000000-0000-0000-0000-000000000000).
619
+ # @!attribute [rw] force
620
+ # @return [::Boolean]
621
+ # Optional. If set to true, any subresource from this Membership will also be
622
+ # deleted. Otherwise, the request will only work if the Membership has no
623
+ # subresource.
576
624
  class DeleteMembershipRequest
577
625
  include ::Google::Protobuf::MessageExts
578
626
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -585,8 +633,8 @@ module Google
585
633
  # `projects/[project_id]/locations/global/memberships/[membership_id]`
586
634
  # @!attribute [rw] update_mask
587
635
  # @return [::Google::Protobuf::FieldMask]
588
- # Required. Mask of fields to update. At least one field path must be specified in this
589
- # mask.
636
+ # Required. Mask of fields to update. At least one field path must be
637
+ # specified in this mask.
590
638
  # @!attribute [rw] resource
591
639
  # @return [::Google::Cloud::GkeHub::V1beta1::Membership]
592
640
  # Required. Only fields specified in update_mask are updated.
@@ -619,17 +667,17 @@ module Google
619
667
 
620
668
  # Request message for `GkeHubMembershipService.GenerateConnectManifest`
621
669
  # method.
622
- # .
623
670
  # @!attribute [rw] name
624
671
  # @return [::String]
625
- # Required. The Membership resource name the Agent will associate with, in the format
626
- # `projects/*/locations/*/memberships/*`.
672
+ # Required. The Membership resource name the Agent will associate with, in
673
+ # the format `projects/*/locations/*/memberships/*`.
627
674
  # @!attribute [rw] connect_agent
628
675
  # @return [::Google::Cloud::GkeHub::V1beta1::ConnectAgent]
629
676
  # Optional. The connect agent to generate manifest for.
630
677
  # @!attribute [rw] version
631
678
  # @return [::String]
632
- # Optional. The Connect agent version to use. Defaults to the most current version.
679
+ # Optional. The Connect agent version to use. Defaults to the most current
680
+ # version.
633
681
  # @!attribute [rw] is_upgrade
634
682
  # @return [::Boolean]
635
683
  # Optional. If true, generate the resources for upgrade only. Some resources
@@ -689,14 +737,15 @@ module Google
689
737
  # Do not set.
690
738
  # @!attribute [rw] proxy
691
739
  # @return [::String]
692
- # Optional. URI of a proxy if connectivity from the agent to gkeconnect.googleapis.com
693
- # requires the use of a proxy. Format must be in the form
694
- # `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol
740
+ # Optional. URI of a proxy if connectivity from the agent to
741
+ # gkeconnect.googleapis.com requires the use of a proxy. Format must be in
742
+ # the form `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol
695
743
  # supported by the proxy. This will direct the connect agent's outbound
696
744
  # traffic through a HTTP(S) proxy.
697
745
  # @!attribute [rw] namespace
698
746
  # @return [::String]
699
- # Optional. Namespace for GKE Connect agent resources. Defaults to `gke-connect`.
747
+ # Optional. Namespace for GKE Connect agent resources. Defaults to
748
+ # `gke-connect`.
700
749
  #
701
750
  # The Connect Agent is authorized automatically when run in the default
702
751
  # namespace. Otherwise, explicit authorization must be granted with an
@@ -710,16 +759,17 @@ module Google
710
759
  # cluster.
711
760
  # @!attribute [rw] parent
712
761
  # @return [::String]
713
- # Required. The parent (project and location) where the Memberships will be created.
714
- # Specified in the format `projects/*/locations/*`.
762
+ # Required. The parent (project and location) where the Memberships will be
763
+ # created. Specified in the format `projects/*/locations/*`.
715
764
  # @!attribute [rw] cr_manifest
716
765
  # @return [::String]
717
- # Optional. The YAML of the membership CR in the cluster. Empty if the membership
718
- # CR does not exist.
766
+ # Optional. The YAML of the membership CR in the cluster. Empty if the
767
+ # membership CR does not exist.
719
768
  # @!attribute [rw] intended_membership
720
769
  # @return [::String]
721
- # Required. The intended membership name under the `parent`. This method only does
722
- # validation in anticipation of a CreateMembership call with the same name.
770
+ # Required. The intended membership name under the `parent`. This method only
771
+ # does validation in anticipation of a CreateMembership call with the same
772
+ # name.
723
773
  class ValidateExclusivityRequest
724
774
  include ::Google::Protobuf::MessageExts
725
775
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -793,8 +843,9 @@ module Google
793
843
  # @return [::Boolean]
794
844
  # Output only. Identifies whether the user has requested cancellation
795
845
  # of the operation. Operations that have successfully been cancelled
796
- # have [Operation.error][] value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
797
- # corresponding to `Code.CANCELLED`.
846
+ # have [Operation.error][] value with a
847
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
848
+ # `Code.CANCELLED`.
798
849
  # @!attribute [r] api_version
799
850
  # @return [::String]
800
851
  # Output only. API version used to start the operation.
@@ -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 [google.rpc.Code][google.rpc.Code].
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 by the client.
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-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.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: 2022-07-02 00:00:00.000000000 Z
11
+ date: 2023-04-24 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: '0.10'
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: '0.10'
29
+ version: 0.18.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '0.0'
53
+ version: '0.4'
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
56
  version: 2.a
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: '0.0'
63
+ version: '0.4'
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
@@ -70,7 +70,7 @@ dependencies:
70
70
  requirements:
71
71
  - - ">="
72
72
  - !ruby/object:Gem::Version
73
- version: '0.0'
73
+ version: '0.4'
74
74
  - - "<"
75
75
  - !ruby/object:Gem::Version
76
76
  version: 2.a
@@ -80,7 +80,7 @@ dependencies:
80
80
  requirements:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: '0.0'
83
+ version: '0.4'
84
84
  - - "<"
85
85
  - !ruby/object:Gem::Version
86
86
  version: 2.a
@@ -90,14 +90,14 @@ dependencies:
90
90
  requirements:
91
91
  - - "~>"
92
92
  - !ruby/object:Gem::Version
93
- version: 1.26.1
93
+ version: 1.26.3
94
94
  type: :development
95
95
  prerelease: false
96
96
  version_requirements: !ruby/object:Gem::Requirement
97
97
  requirements:
98
98
  - - "~>"
99
99
  - !ruby/object:Gem::Version
100
- version: 1.26.1
100
+ version: 1.26.3
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: minitest
103
103
  requirement: !ruby/object:Gem::Requirement
@@ -212,21 +212,26 @@ files:
212
212
  - README.md
213
213
  - lib/google-cloud-gke_hub-v1beta1.rb
214
214
  - lib/google/cloud/gke_hub/v1beta1.rb
215
+ - lib/google/cloud/gke_hub/v1beta1/bindings_override.rb
215
216
  - lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service.rb
216
217
  - lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/client.rb
217
218
  - lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/credentials.rb
218
219
  - lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/operations.rb
219
220
  - lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/paths.rb
221
+ - lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/rest.rb
222
+ - lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/rest/client.rb
223
+ - lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/rest/operations.rb
224
+ - lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/rest/service_stub.rb
225
+ - lib/google/cloud/gke_hub/v1beta1/rest.rb
220
226
  - lib/google/cloud/gke_hub/v1beta1/version.rb
221
227
  - lib/google/cloud/gkehub/v1beta1/membership_pb.rb
222
228
  - lib/google/cloud/gkehub/v1beta1/membership_services_pb.rb
223
229
  - proto_docs/README.md
230
+ - proto_docs/google/api/client.rb
224
231
  - proto_docs/google/api/field_behavior.rb
232
+ - proto_docs/google/api/launch_stage.rb
225
233
  - proto_docs/google/api/resource.rb
226
234
  - proto_docs/google/cloud/gkehub/v1beta1/membership.rb
227
- - proto_docs/google/iam/v1/iam_policy.rb
228
- - proto_docs/google/iam/v1/options.rb
229
- - proto_docs/google/iam/v1/policy.rb
230
235
  - proto_docs/google/longrunning/operations.rb
231
236
  - proto_docs/google/protobuf/any.rb
232
237
  - proto_docs/google/protobuf/duration.rb
@@ -254,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
254
259
  - !ruby/object:Gem::Version
255
260
  version: '0'
256
261
  requirements: []
257
- rubygems_version: 3.3.14
262
+ rubygems_version: 3.4.2
258
263
  signing_key:
259
264
  specification_version: 4
260
265
  summary: API Client library for the GKE Hub V1beta1 API
@@ -1,87 +0,0 @@
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 Iam
22
- module V1
23
- # Request message for `SetIamPolicy` method.
24
- # @!attribute [rw] resource
25
- # @return [::String]
26
- # REQUIRED: The resource for which the policy is being specified.
27
- # See the operation documentation for the appropriate value for this field.
28
- # @!attribute [rw] policy
29
- # @return [::Google::Iam::V1::Policy]
30
- # REQUIRED: The complete policy to be applied to the `resource`. The size of
31
- # the policy is limited to a few 10s of KB. An empty policy is a
32
- # valid policy but certain Cloud Platform services (such as Projects)
33
- # might reject them.
34
- # @!attribute [rw] update_mask
35
- # @return [::Google::Protobuf::FieldMask]
36
- # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
37
- # the fields in the mask will be modified. If no mask is provided, the
38
- # following default mask is used:
39
- #
40
- # `paths: "bindings, etag"`
41
- class SetIamPolicyRequest
42
- include ::Google::Protobuf::MessageExts
43
- extend ::Google::Protobuf::MessageExts::ClassMethods
44
- end
45
-
46
- # Request message for `GetIamPolicy` method.
47
- # @!attribute [rw] resource
48
- # @return [::String]
49
- # REQUIRED: The resource for which the policy is being requested.
50
- # See the operation documentation for the appropriate value for this field.
51
- # @!attribute [rw] options
52
- # @return [::Google::Iam::V1::GetPolicyOptions]
53
- # OPTIONAL: A `GetPolicyOptions` object for specifying options to
54
- # `GetIamPolicy`.
55
- class GetIamPolicyRequest
56
- include ::Google::Protobuf::MessageExts
57
- extend ::Google::Protobuf::MessageExts::ClassMethods
58
- end
59
-
60
- # Request message for `TestIamPermissions` method.
61
- # @!attribute [rw] resource
62
- # @return [::String]
63
- # REQUIRED: The resource for which the policy detail is being requested.
64
- # See the operation documentation for the appropriate value for this field.
65
- # @!attribute [rw] permissions
66
- # @return [::Array<::String>]
67
- # The set of permissions to check for the `resource`. Permissions with
68
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
69
- # information see
70
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
71
- class TestIamPermissionsRequest
72
- include ::Google::Protobuf::MessageExts
73
- extend ::Google::Protobuf::MessageExts::ClassMethods
74
- end
75
-
76
- # Response message for `TestIamPermissions` method.
77
- # @!attribute [rw] permissions
78
- # @return [::Array<::String>]
79
- # A subset of `TestPermissionsRequest.permissions` that the caller is
80
- # allowed.
81
- class TestIamPermissionsResponse
82
- include ::Google::Protobuf::MessageExts
83
- extend ::Google::Protobuf::MessageExts::ClassMethods
84
- end
85
- end
86
- end
87
- end