google-apis-gkehub_v1alpha2 0.35.0 → 0.37.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: 4dfad590a95707c679831550f7645c0c5b8339b7c52abd92090a0c40b05e3c52
4
- data.tar.gz: f8026816ac2635da8813a398f831e6868e7f724e1d2e62c9e84c6cb555e92c11
3
+ metadata.gz: f0f63a48b26d81f1b61f1db2f28ecf817b5278ef27a01b1165809c7f5a6a9dca
4
+ data.tar.gz: 3f2fece4a021a0c7fe1ac72dfaf722b4d8c6216d68d4b7b1919bc11b1420cbe9
5
5
  SHA512:
6
- metadata.gz: 3a752fd4d7ef4b60f2c47062c208f3262c4b566608897755b21a48792298b5c6269375faa7e23450f5398a9ff15db2bf5fd6ba1240f2ce9b8243e5efcbc61df8
7
- data.tar.gz: 4c644474728907ed7ae2758408c3815ec51ad504b7e71cd90f687cc6fad30baf4285822df6280c3ff5e706c46c06aaee4eb0d9ba464a8bc33e0ed59f638331f5
6
+ metadata.gz: 985685d75fc90667bd12baf0c826ad62ff99aacc3d67dad77c6cdc547f5a6aaa09045476c3654eaebfa5d672b59661097607b93d8995dd736c9eeca393180c81
7
+ data.tar.gz: 01ccaf6c77daad21732cccb5cc055a776f903787107e7613da8037ba695a2d5eefad691a990bb9370478016adec25330241391b2c00b711aa6b65ea18bb6c22f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-gkehub_v1alpha2
2
2
 
3
+ ### v0.37.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240113
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.36.0 (2023-10-15)
9
+
10
+ * Regenerated from discovery document revision 20231006
11
+
3
12
  ### v0.35.0 (2023-08-13)
4
13
 
5
14
  * Regenerated from discovery document revision 20230804
@@ -207,21 +207,43 @@ module Google
207
207
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
208
208
  # email address that represents a Google group. For example, `admins@example.com`
209
209
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
210
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
211
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
212
- # representing a user that has been recently deleted. For example, `alice@
213
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
214
- # reverts to `user:`emailid`` and the recovered user retains the role in the
215
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
216
- # (plus unique identifier) representing a service account that has been recently
217
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
210
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
211
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
212
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
213
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
214
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
215
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
216
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
217
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
218
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
219
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
220
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
221
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
222
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
223
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
224
+ # googleapis.com/projects/`project_number`/locations/global/
225
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
226
+ # All identities in a workload identity pool with a certain attribute. * `
227
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
228
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
229
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
230
+ # identifier) representing a user that has been recently deleted. For example, `
231
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
232
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
233
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
234
+ # address (plus unique identifier) representing a service account that has been
235
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
218
236
  # 123456789012345678901`. If the service account is undeleted, this value
219
237
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
220
238
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
221
239
  # An email address (plus unique identifier) representing a Google group that has
222
240
  # been recently deleted. For example, `admins@example.com?uid=
223
241
  # 123456789012345678901`. If the group is recovered, this value reverts to `
224
- # group:`emailid`` and the recovered group retains the role in the binding.
242
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
243
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
244
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
245
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
246
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
225
247
  # Corresponds to the JSON property `members`
226
248
  # @return [Array<String>]
227
249
  attr_accessor :members
@@ -807,8 +829,10 @@ module Google
807
829
  # @return [String]
808
830
  attr_accessor :last_connection_time
809
831
 
810
- # This field informs Fleet-based applications/services/UIs with the necessary
811
- # information for where each underlying Cluster reports its metrics.
832
+ # MonitoringConfig informs Fleet-based applications/services/UIs how the metrics
833
+ # for the underlying cluster is reported to cloud monitoring services. It can be
834
+ # set from empty to non-empty, but can't be mutated directly to prevent
835
+ # accidentally breaking the constinousty of metrics.
812
836
  # Corresponds to the JSON property `monitoringConfig`
813
837
  # @return [Google::Apis::GkehubV1alpha2::MonitoringConfig]
814
838
  attr_accessor :monitoring_config
@@ -943,40 +967,40 @@ module Google
943
967
  end
944
968
  end
945
969
 
946
- # This field informs Fleet-based applications/services/UIs with the necessary
947
- # information for where each underlying Cluster reports its metrics.
970
+ # MonitoringConfig informs Fleet-based applications/services/UIs how the metrics
971
+ # for the underlying cluster is reported to cloud monitoring services. It can be
972
+ # set from empty to non-empty, but can't be mutated directly to prevent
973
+ # accidentally breaking the constinousty of metrics.
948
974
  class MonitoringConfig
949
975
  include Google::Apis::Core::Hashable
950
976
 
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`.
977
+ # Optional. Cluster name used to report metrics. For Anthos on VMWare/Baremetal/
978
+ # MultiCloud clusters, it would be in format `cluster_type`/`cluster_name`, e.g.,
979
+ # "awsClusters/cluster_1".
954
980
  # Corresponds to the JSON property `cluster`
955
981
  # @return [String]
956
982
  attr_accessor :cluster
957
983
 
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.
984
+ # Optional. For GKE and Multicloud clusters, this is the UUID of the cluster
985
+ # resource. For VMWare and Baremetal clusters, this is the kube-system UID.
962
986
  # Corresponds to the JSON property `clusterHash`
963
987
  # @return [String]
964
988
  attr_accessor :cluster_hash
965
989
 
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
990
+ # Optional. Kubernetes system metrics, if available, are written to this prefix.
991
+ # This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos
968
992
  # eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today but
969
- # will migration to be under kubernetes.io/anthos
993
+ # will migration to be under kubernetes.io/anthos.
970
994
  # Corresponds to the JSON property `kubernetesMetricsPrefix`
971
995
  # @return [String]
972
996
  attr_accessor :kubernetes_metrics_prefix
973
997
 
974
- # Immutable. Location used to report Metrics
998
+ # Optional. Location used to report Metrics
975
999
  # Corresponds to the JSON property `location`
976
1000
  # @return [String]
977
1001
  attr_accessor :location
978
1002
 
979
- # Immutable. Project used to report Metrics
1003
+ # Optional. Project used to report Metrics
980
1004
  # Corresponds to the JSON property `projectId`
981
1005
  # @return [String]
982
1006
  attr_accessor :project_id
@@ -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.35.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230804"
25
+ REVISION = "20240113"
26
26
  end
27
27
  end
28
28
  end
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster
34
34
  class GKEHubService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://gkehub.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://gkehub.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-gkehub_v1alpha2',
48
50
  client_version: Google::Apis::GkehubV1alpha2::GEM_VERSION)
49
51
  @batch_path = 'batch'
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.35.0
4
+ version: 0.37.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-08-20 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
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.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha2/v0.37.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for GKE Hub API V1alpha2