google-apis-gkehub_v1alpha2 0.32.0 → 0.33.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4eae519f50752f9a48a2c9ea0297e071429201878afb0c37783f51ac7f8fc43
|
4
|
+
data.tar.gz: 6718505979dc3d2fa59fd17ec472cf765db885fb84e1e3888f6c5c58b4cf3716
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab2a0432f784117e98afc6501d8752a7697664f422113d653e0cdaf533b59fc41d5a24d740fb6296d4076f3940c9a842ae271e9cd06c6863e723b929acb966e6
|
7
|
+
data.tar.gz: 68799057344efc7b2729d345f89906b9f06d1f401a5dbcc81ebd5a03e411438ff39e795eddff396755c749903aa818233073c77875dbbd2c3f9a697b8f536e2d
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.33.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 = "
|
25
|
+
REVISION = "20230407"
|
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.
|
4
|
+
version: 0.33.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-
|
11
|
+
date: 2023-04-16 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha2/v0.33.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: []
|