google-apis-gkehub_v1beta1 0.32.0 → 0.34.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d9b4d2cb5991a4f5dc2da9f6f144b2e2bf4481fc6bfce6fcb274f2cc16912ea
4
- data.tar.gz: f0b1ee235945e4c2034aea761de508b75175c40d5cd7b204d5fe81af8804f4b2
3
+ metadata.gz: 9754ee90e1b738951bd930b0b7b89a46cfc054b244757676b6dfd763d894a4e2
4
+ data.tar.gz: 26455d15b1e7eb01a17addc46f68706a3f2b7d3036b2d4cb5307f32718e848be
5
5
  SHA512:
6
- metadata.gz: 3505614598686300ca248e4b290e12dbb81b789ac665bffb8a7feec288f9b65b302fbc33f0d4123bd438210ad0eed0363a833fed9d5c00fa12bf8358f4bfbea0
7
- data.tar.gz: 2dcf8ebab5a52d321674e56117ebbad7f076f502c8f3aa81acd36226e29d59e878e0c4da3835a8b523ee2e01452a12c65604a7561a93a8b5f495b9104ad2e699
6
+ metadata.gz: d982ae5ef73597aeb17d84d60957d0633090ab9b5c3a3470009602fe119b7ef40beddef10c04ed750d34e44a03c69effc85d7409445e5afbb96be1d35884b2a9
7
+ data.tar.gz: c101f195e04b6655e4e8caec3f2ffe2ecc1484a2ab2ac64ebb8c34c6ccb4416e2221aa68dec397af1668916d2b30493bc3095e21072cbf7c5ffd70969104c508
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1beta1
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
@@ -685,7 +685,7 @@ module Google
685
685
  end
686
686
  end
687
687
 
688
- # A resource that represents Google Cloud Platform location.
688
+ # A resource that represents a Google Cloud location.
689
689
  class Location
690
690
  include Google::Apis::Core::Hashable
691
691
 
@@ -793,6 +793,12 @@ module Google
793
793
  # @return [String]
794
794
  attr_accessor :last_connection_time
795
795
 
796
+ # This field informs Fleet-based applications/services/UIs with the necessary
797
+ # information for where each underlying Cluster reports its metrics.
798
+ # Corresponds to the JSON property `monitoringConfig`
799
+ # @return [Google::Apis::GkehubV1beta1::MonitoringConfig]
800
+ attr_accessor :monitoring_config
801
+
796
802
  # Output only. The full, unique name of this Membership resource in the format `
797
803
  # projects/*/locations/*/memberships/`membership_id``, set during creation. `
798
804
  # membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63
@@ -836,6 +842,7 @@ module Google
836
842
  @infrastructure_type = args[:infrastructure_type] if args.key?(:infrastructure_type)
837
843
  @labels = args[:labels] if args.key?(:labels)
838
844
  @last_connection_time = args[:last_connection_time] if args.key?(:last_connection_time)
845
+ @monitoring_config = args[:monitoring_config] if args.key?(:monitoring_config)
839
846
  @name = args[:name] if args.key?(:name)
840
847
  @state = args[:state] if args.key?(:state)
841
848
  @unique_id = args[:unique_id] if args.key?(:unique_id)
@@ -933,6 +940,58 @@ module Google
933
940
  end
934
941
  end
935
942
 
943
+ # This field informs Fleet-based applications/services/UIs with the necessary
944
+ # information for where each underlying Cluster reports its metrics.
945
+ class MonitoringConfig
946
+ include Google::Apis::Core::Hashable
947
+
948
+ # Immutable. Cluster name used to report metrics. For Anthos on VMWare/Baremetal,
949
+ # it would be in format `memberClusters/cluster_name`; And for Anthos on
950
+ # MultiCloud, it would be in format ``azureClusters, awsClusters`/cluster_name`.
951
+ # Corresponds to the JSON property `cluster`
952
+ # @return [String]
953
+ attr_accessor :cluster
954
+
955
+ # Immutable. Cluster hash, this is a unique string generated by google code,
956
+ # which does not contain any PII, which we can use to reference the cluster.
957
+ # This is expected to be created by the monitoring stack and persisted into the
958
+ # Cluster object as well as to GKE-Hub.
959
+ # Corresponds to the JSON property `clusterHash`
960
+ # @return [String]
961
+ attr_accessor :cluster_hash
962
+
963
+ # Kubernetes system metrics, if available, are written to this prefix. This
964
+ # defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos
965
+ # eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today but
966
+ # will migration to be under kubernetes.io/anthos
967
+ # Corresponds to the JSON property `kubernetesMetricsPrefix`
968
+ # @return [String]
969
+ attr_accessor :kubernetes_metrics_prefix
970
+
971
+ # Immutable. Location used to report Metrics
972
+ # Corresponds to the JSON property `location`
973
+ # @return [String]
974
+ attr_accessor :location
975
+
976
+ # Immutable. Project used to report Metrics
977
+ # Corresponds to the JSON property `projectId`
978
+ # @return [String]
979
+ attr_accessor :project_id
980
+
981
+ def initialize(**args)
982
+ update!(**args)
983
+ end
984
+
985
+ # Update properties of this object
986
+ def update!(**args)
987
+ @cluster = args[:cluster] if args.key?(:cluster)
988
+ @cluster_hash = args[:cluster_hash] if args.key?(:cluster_hash)
989
+ @kubernetes_metrics_prefix = args[:kubernetes_metrics_prefix] if args.key?(:kubernetes_metrics_prefix)
990
+ @location = args[:location] if args.key?(:location)
991
+ @project_id = args[:project_id] if args.key?(:project_id)
992
+ end
993
+ end
994
+
936
995
  # MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
937
996
  class MultiCloudCluster
938
997
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1beta1
18
18
  # Version of the google-apis-gkehub_v1beta1 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
@@ -160,6 +160,12 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class MonitoringConfig
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
163
169
  class MultiCloudCluster
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
@@ -425,6 +431,8 @@ module Google
425
431
  property :infrastructure_type, as: 'infrastructureType'
426
432
  hash :labels, as: 'labels'
427
433
  property :last_connection_time, as: 'lastConnectionTime'
434
+ property :monitoring_config, as: 'monitoringConfig', class: Google::Apis::GkehubV1beta1::MonitoringConfig, decorator: Google::Apis::GkehubV1beta1::MonitoringConfig::Representation
435
+
428
436
  property :name, as: 'name'
429
437
  property :state, as: 'state', class: Google::Apis::GkehubV1beta1::MembershipState, decorator: Google::Apis::GkehubV1beta1::MembershipState::Representation
430
438
 
@@ -462,6 +470,17 @@ module Google
462
470
  end
463
471
  end
464
472
 
473
+ class MonitoringConfig
474
+ # @private
475
+ class Representation < Google::Apis::Core::JsonRepresentation
476
+ property :cluster, as: 'cluster'
477
+ property :cluster_hash, as: 'clusterHash'
478
+ property :kubernetes_metrics_prefix, as: 'kubernetesMetricsPrefix'
479
+ property :location, as: 'location'
480
+ property :project_id, as: 'projectId'
481
+ end
482
+ end
483
+
465
484
  class MultiCloudCluster
466
485
  # @private
467
486
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1beta1
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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta1/v0.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta1/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []