google-apis-gkehub_v1beta1 0.31.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: 54f4be67bfbc9b8939ae67310b53f4adcaf77a79622d23c97d71218df767b4b6
4
- data.tar.gz: c43400b4dc082dca868253974b63406ee8748f21824e951545d599043749b9f4
3
+ metadata.gz: 2ed80f2cb278b7740db582715cf2e2edef9f9b639584ab35be1d5c9c3d780372
4
+ data.tar.gz: 23f62c54a12ae303a2fbe9d672eae1de9e7468b91bb7921a6a7d88fdb65c1fa7
5
5
  SHA512:
6
- metadata.gz: 575667f4b2ad0376b06d6667bc4fc8c15b6e44c1f9735e386b0ab2637b4aa2ef5bcb1902a882d09c45e676406b2d5f3677501895711ab31063454015c7518560
7
- data.tar.gz: 9931af30300dd0b815d307fce81bc8a01a9cd0a3c701471ab6f02dd26429d9e16706032bfc47dc11d0a0ed5498d58552fc6486786063490fc3184ef1e24a2605
6
+ metadata.gz: 17c66ab7310af1395188b92e7d2c14ca1412a2c51f0354c52cf5b9cd7e4eab8b26a68d5edc1b8ae49c7c8282fdb357589f177db5e905f1adefac25109eb54a54
7
+ data.tar.gz: '023349647ed8be1af7b691e86196500c2478b78445a62f0368b6d388d545efdbd74cef9cad2154f6e988f20828e52211860b8a0b728fb61300a6b0090e197c75'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1beta1
2
2
 
3
+ ### v0.33.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230407
6
+
7
+ ### v0.32.0 (2023-03-19)
8
+
9
+ * Regenerated from discovery document revision 20230310
10
+
3
11
  ### v0.31.0 (2023-02-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230219
@@ -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.31.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 = "20230219"
25
+ REVISION = "20230407"
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
@@ -741,13 +741,7 @@ module Google
741
741
  end
742
742
 
743
743
  # Lists operations that match the specified filter in the request. If the server
744
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
745
- # binding allows API services to override the binding to use different resource
746
- # name schemes, such as `users/*/operations`. To override the binding, API
747
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
748
- # service configuration. For backwards compatibility, the default name includes
749
- # the operations collection id, however overriding users must ensure the name
750
- # binding is the parent resource, without the operations collection id.
744
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
751
745
  # @param [String] name
752
746
  # The name of the operation's parent resource.
753
747
  # @param [String] filter
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.31.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-02-26 00:00:00.000000000 Z
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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta1/v0.33.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: []