google-cloud-gke_hub-v1beta1 0.6.0 → 0.8.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.
@@ -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.
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
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.6.0
4
+ version: 0.8.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: 2023-03-08 00:00:00.000000000 Z
11
+ date: 2023-06-06 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.18.0
19
+ version: 0.19.1
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.18.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a