google-apis-gkehub_v1alpha2 0.32.0 → 0.34.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: b83f602271d2e1ca2be4c28fdf021e9f37a76392037aecfa6efdf515ede22263
4
- data.tar.gz: '07819757ed397e1db26242c46ad4aeac5eb14c2e9a8a2b9075945a96ba5475bd'
3
+ metadata.gz: 7794f39cfbb40a8c615648bc9520e72362213b5fb85dc19bf23e2dddf5167a08
4
+ data.tar.gz: 5bbfaf74de987c77752a6c24830341e051eaa53184290f9d5b81c1b7ae81ee00
5
5
  SHA512:
6
- metadata.gz: b35260c463ab381dfd29936b4d96e3489057ae1ca3cf0098408a4d65a3c03cd9d4a858ee94ebe865ceeaf35e276528f47038bd2e283de8f6e091ea9393107779
7
- data.tar.gz: 1c48db587e59cad681ca02d1d56e0dc22832ef52e8549a81227d5ffea6378a3e5cc958644a899ea96fba524173995514c16e47a0052c2b1c66db669be1fa733a
6
+ metadata.gz: fd45f359cbea235345c22d7c966ae171f77ad0e7b17a3a0330a7799a09768c3edf48621381da0c62b7d3a30138b49346bbe30b02107d1c95251720b1662770e9
7
+ data.tar.gz: a8a88ad8772f520192c0f390125d62dc9ee516bccf9c97ac914f0162d11a8c6f0b9f1c5e504eab1cc03903f872e7407d1ddb2c8a166117a300d89a02af572870
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1alpha2
2
2
 
3
+ ### v0.34.0 (2023-04-30)
4
+
5
+ * Regenerated from discovery document revision 20230424
6
+
7
+ ### v0.33.0 (2023-04-16)
8
+
9
+ * Regenerated from discovery document revision 20230407
10
+
3
11
  ### v0.32.0 (2023-03-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20230310
@@ -26,9 +26,9 @@ module Google
26
26
  class ApplianceCluster
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # Immutable. Self-link of the GCP resource for the Appliance Cluster. For
30
- # example: //transferappliance.googleapis.com/projects/my-project/locations/us-
31
- # west1-a/appliances/my-appliance
29
+ # Immutable. Self-link of the Google Cloud resource for the Appliance Cluster.
30
+ # For example: //transferappliance.googleapis.com/projects/my-project/locations/
31
+ # us-west1-a/appliances/my-appliance
32
32
  # Corresponds to the JSON property `resourceLink`
33
33
  # @return [String]
34
34
  attr_accessor :resource_link
@@ -288,9 +288,9 @@ module Google
288
288
  class EdgeCluster
289
289
  include Google::Apis::Core::Hashable
290
290
 
291
- # Immutable. Self-link of the GCP resource for the Edge Cluster. For example: //
292
- # edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/
293
- # my-cluster
291
+ # Immutable. Self-link of the Google Cloud resource for the Edge Cluster. For
292
+ # example: //edgecontainer.googleapis.com/projects/my-project/locations/us-west1-
293
+ # a/clusters/my-cluster
294
294
  # Corresponds to the JSON property `resourceLink`
295
295
  # @return [String]
296
296
  attr_accessor :resource_link
@@ -407,9 +407,9 @@ module Google
407
407
  attr_accessor :cluster_missing
408
408
  alias_method :cluster_missing?, :cluster_missing
409
409
 
410
- # Immutable. Self-link of the GCP resource for the GKE cluster. For example: //
411
- # container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-
412
- # cluster Zonal clusters are also supported.
410
+ # Immutable. Self-link of the Google Cloud resource for the GKE cluster. For
411
+ # example: //container.googleapis.com/projects/my-project/locations/us-west1-a/
412
+ # clusters/my-cluster Zonal clusters are also supported.
413
413
  # Corresponds to the JSON property `resourceLink`
414
414
  # @return [String]
415
415
  attr_accessor :resource_link
@@ -699,7 +699,7 @@ module Google
699
699
  end
700
700
  end
701
701
 
702
- # A resource that represents Google Cloud Platform location.
702
+ # A resource that represents a Google Cloud location.
703
703
  class Location
704
704
  include Google::Apis::Core::Hashable
705
705
 
@@ -794,7 +794,7 @@ module Google
794
794
  # @return [String]
795
795
  attr_accessor :infrastructure_type
796
796
 
797
- # Optional. GCP labels for this membership.
797
+ # Optional. Labels for this membership.
798
798
  # Corresponds to the JSON property `labels`
799
799
  # @return [Hash<String,String>]
800
800
  attr_accessor :labels
@@ -807,6 +807,12 @@ module Google
807
807
  # @return [String]
808
808
  attr_accessor :last_connection_time
809
809
 
810
+ # This field informs Fleet-based applications/services/UIs with the necessary
811
+ # information for where each underlying Cluster reports its metrics.
812
+ # Corresponds to the JSON property `monitoringConfig`
813
+ # @return [Google::Apis::GkehubV1alpha2::MonitoringConfig]
814
+ attr_accessor :monitoring_config
815
+
810
816
  # Output only. The full, unique name of this Membership resource in the format `
811
817
  # projects/*/locations/*/memberships/`membership_id``, set during creation. `
812
818
  # membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63
@@ -850,6 +856,7 @@ module Google
850
856
  @infrastructure_type = args[:infrastructure_type] if args.key?(:infrastructure_type)
851
857
  @labels = args[:labels] if args.key?(:labels)
852
858
  @last_connection_time = args[:last_connection_time] if args.key?(:last_connection_time)
859
+ @monitoring_config = args[:monitoring_config] if args.key?(:monitoring_config)
853
860
  @name = args[:name] if args.key?(:name)
854
861
  @state = args[:state] if args.key?(:state)
855
862
  @unique_id = args[:unique_id] if args.key?(:unique_id)
@@ -936,6 +943,58 @@ module Google
936
943
  end
937
944
  end
938
945
 
946
+ # This field informs Fleet-based applications/services/UIs with the necessary
947
+ # information for where each underlying Cluster reports its metrics.
948
+ class MonitoringConfig
949
+ include Google::Apis::Core::Hashable
950
+
951
+ # Immutable. Cluster name used to report metrics. For Anthos on VMWare/Baremetal,
952
+ # it would be in format `memberClusters/cluster_name`; And for Anthos on
953
+ # MultiCloud, it would be in format ``azureClusters, awsClusters`/cluster_name`.
954
+ # Corresponds to the JSON property `cluster`
955
+ # @return [String]
956
+ attr_accessor :cluster
957
+
958
+ # Immutable. Cluster hash, this is a unique string generated by google code,
959
+ # which does not contain any PII, which we can use to reference the cluster.
960
+ # This is expected to be created by the monitoring stack and persisted into the
961
+ # Cluster object as well as to GKE-Hub.
962
+ # Corresponds to the JSON property `clusterHash`
963
+ # @return [String]
964
+ attr_accessor :cluster_hash
965
+
966
+ # Kubernetes system metrics, if available, are written to this prefix. This
967
+ # defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos
968
+ # eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today but
969
+ # will migration to be under kubernetes.io/anthos
970
+ # Corresponds to the JSON property `kubernetesMetricsPrefix`
971
+ # @return [String]
972
+ attr_accessor :kubernetes_metrics_prefix
973
+
974
+ # Immutable. Location used to report Metrics
975
+ # Corresponds to the JSON property `location`
976
+ # @return [String]
977
+ attr_accessor :location
978
+
979
+ # Immutable. Project used to report Metrics
980
+ # Corresponds to the JSON property `projectId`
981
+ # @return [String]
982
+ attr_accessor :project_id
983
+
984
+ def initialize(**args)
985
+ update!(**args)
986
+ end
987
+
988
+ # Update properties of this object
989
+ def update!(**args)
990
+ @cluster = args[:cluster] if args.key?(:cluster)
991
+ @cluster_hash = args[:cluster_hash] if args.key?(:cluster_hash)
992
+ @kubernetes_metrics_prefix = args[:kubernetes_metrics_prefix] if args.key?(:kubernetes_metrics_prefix)
993
+ @location = args[:location] if args.key?(:location)
994
+ @project_id = args[:project_id] if args.key?(:project_id)
995
+ end
996
+ end
997
+
939
998
  # MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
940
999
  class MultiCloudCluster
941
1000
  include Google::Apis::Core::Hashable
@@ -947,11 +1006,12 @@ module Google
947
1006
  attr_accessor :cluster_missing
948
1007
  alias_method :cluster_missing?, :cluster_missing
949
1008
 
950
- # Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
951
- # example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-
952
- # a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/
953
- # locations/us-west1-a/azureClusters/my-cluster //gkemulticloud.googleapis.com/
954
- # projects/my-project/locations/us-west1-a/attachedClusters/my-cluster
1009
+ # Immutable. Self-link of the Google Cloud resource for the GKE Multi-Cloud
1010
+ # cluster. For example: //gkemulticloud.googleapis.com/projects/my-project/
1011
+ # locations/us-west1-a/awsClusters/my-cluster //gkemulticloud.googleapis.com/
1012
+ # projects/my-project/locations/us-west1-a/azureClusters/my-cluster //
1013
+ # gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/
1014
+ # attachedClusters/my-cluster
955
1015
  # Corresponds to the JSON property `resourceLink`
956
1016
  # @return [String]
957
1017
  attr_accessor :resource_link
@@ -989,9 +1049,9 @@ module Google
989
1049
  # @return [String]
990
1050
  attr_accessor :cluster_type
991
1051
 
992
- # Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
993
- # example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/
994
- # vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
1052
+ # Immutable. Self-link of the Google Cloud resource for the GKE On-Prem cluster.
1053
+ # For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-
1054
+ # a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
995
1055
  # locations/us-west1-a/bareMetalClusters/my-cluster
996
1056
  # Corresponds to the JSON property `resourceLink`
997
1057
  # @return [String]
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1alpha2
18
18
  # Version of the google-apis-gkehub_v1alpha2 gem
19
- GEM_VERSION = "0.32.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230310"
25
+ REVISION = "20230424"
26
26
  end
27
27
  end
28
28
  end
@@ -166,6 +166,12 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class MonitoringConfig
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
169
175
  class MultiCloudCluster
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
@@ -431,6 +437,8 @@ module Google
431
437
  property :infrastructure_type, as: 'infrastructureType'
432
438
  hash :labels, as: 'labels'
433
439
  property :last_connection_time, as: 'lastConnectionTime'
440
+ property :monitoring_config, as: 'monitoringConfig', class: Google::Apis::GkehubV1alpha2::MonitoringConfig, decorator: Google::Apis::GkehubV1alpha2::MonitoringConfig::Representation
441
+
434
442
  property :name, as: 'name'
435
443
  property :state, as: 'state', class: Google::Apis::GkehubV1alpha2::MembershipState, decorator: Google::Apis::GkehubV1alpha2::MembershipState::Representation
436
444
 
@@ -466,6 +474,17 @@ module Google
466
474
  end
467
475
  end
468
476
 
477
+ class MonitoringConfig
478
+ # @private
479
+ class Representation < Google::Apis::Core::JsonRepresentation
480
+ property :cluster, as: 'cluster'
481
+ property :cluster_hash, as: 'clusterHash'
482
+ property :kubernetes_metrics_prefix, as: 'kubernetesMetricsPrefix'
483
+ property :location, as: 'location'
484
+ property :project_id, as: 'projectId'
485
+ end
486
+ end
487
+
469
488
  class MultiCloudCluster
470
489
  # @private
471
490
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1alpha2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.34.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-19 00:00:00.000000000 Z
11
+ date: 2023-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha2/v0.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha2/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha2
63
63
  post_install_message:
64
64
  rdoc_options: []