google-apis-gkehub_v1beta1 0.8.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/gkehub_v1beta1/classes.rb +149 -57
- data/lib/google/apis/gkehub_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/gkehub_v1beta1/representations.rb +34 -0
- data/lib/google/apis/gkehub_v1beta1/service.rb +10 -7
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93db1c7536905db4eecb3ce707622137bcb4c10bdc019b77d8566985040e15f3
|
4
|
+
data.tar.gz: 41101233c6c923c0b31b31cf1b94ceb899cfc37177ac229035b0553b2d6aafb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd47024f077bddc056c14e30d7cb980eba7d2e413092a6ecb391cacd752be55005409df107054a4ba663218ea5a7bddc30733f498188fc51dcf23206f14130aa
|
7
|
+
data.tar.gz: 419fbb6e87545ef2c7c446a59b1079027bbe950f75d7e991cb2cc00b9fa3fef09d844042aac55cbc3c239a798a404298611c86a44778226bd5a784d57a30d556
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1beta1
|
2
2
|
|
3
|
+
### v0.12.0 (2021-12-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211203
|
6
|
+
|
7
|
+
### v0.11.0 (2021-11-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211105
|
10
|
+
|
11
|
+
### v0.10.0 (2021-10-24)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211015
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.9.0 (2021-08-28)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210820
|
19
|
+
|
3
20
|
### v0.8.0 (2021-08-21)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210813
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Gkehub service in particular.)
|
67
67
|
|
@@ -147,7 +147,7 @@ module Google
|
|
147
147
|
end
|
148
148
|
end
|
149
149
|
|
150
|
-
# Associates `members
|
150
|
+
# Associates `members`, or principals, with a `role`.
|
151
151
|
class Binding
|
152
152
|
include Google::Apis::Core::Hashable
|
153
153
|
|
@@ -170,7 +170,7 @@ module Google
|
|
170
170
|
# @return [Google::Apis::GkehubV1beta1::Expr]
|
171
171
|
attr_accessor :condition
|
172
172
|
|
173
|
-
# Specifies the
|
173
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
174
174
|
# members` can have the following values: * `allUsers`: A special identifier
|
175
175
|
# that represents anyone who is on the internet; with or without a Google
|
176
176
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -200,8 +200,8 @@ module Google
|
|
200
200
|
# @return [Array<String>]
|
201
201
|
attr_accessor :members
|
202
202
|
|
203
|
-
# Role that is assigned to `members
|
204
|
-
#
|
203
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
204
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
205
205
|
# Corresponds to the JSON property `role`
|
206
206
|
# @return [String]
|
207
207
|
attr_accessor :role
|
@@ -820,6 +820,16 @@ module Google
|
|
820
820
|
# @return [Google::Apis::GkehubV1beta1::KubernetesResource]
|
821
821
|
attr_accessor :kubernetes_resource
|
822
822
|
|
823
|
+
# MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
|
824
|
+
# Corresponds to the JSON property `multiCloudCluster`
|
825
|
+
# @return [Google::Apis::GkehubV1beta1::MultiCloudCluster]
|
826
|
+
attr_accessor :multi_cloud_cluster
|
827
|
+
|
828
|
+
# OnPremCluster contains information specific to GKE On-Prem clusters.
|
829
|
+
# Corresponds to the JSON property `onPremCluster`
|
830
|
+
# @return [Google::Apis::GkehubV1beta1::OnPremCluster]
|
831
|
+
attr_accessor :on_prem_cluster
|
832
|
+
|
823
833
|
def initialize(**args)
|
824
834
|
update!(**args)
|
825
835
|
end
|
@@ -829,6 +839,8 @@ module Google
|
|
829
839
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
830
840
|
@kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
|
831
841
|
@kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource)
|
842
|
+
@multi_cloud_cluster = args[:multi_cloud_cluster] if args.key?(:multi_cloud_cluster)
|
843
|
+
@on_prem_cluster = args[:on_prem_cluster] if args.key?(:on_prem_cluster)
|
832
844
|
end
|
833
845
|
end
|
834
846
|
|
@@ -863,6 +875,73 @@ module Google
|
|
863
875
|
end
|
864
876
|
end
|
865
877
|
|
878
|
+
# MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
|
879
|
+
class MultiCloudCluster
|
880
|
+
include Google::Apis::Core::Hashable
|
881
|
+
|
882
|
+
# Output only. If cluster_missing is set then it denotes that API(gkemulticloud.
|
883
|
+
# googleapis.com) resource for this GKE Multi-Cloud cluster no longer exists.
|
884
|
+
# Corresponds to the JSON property `clusterMissing`
|
885
|
+
# @return [Boolean]
|
886
|
+
attr_accessor :cluster_missing
|
887
|
+
alias_method :cluster_missing?, :cluster_missing
|
888
|
+
|
889
|
+
# Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For
|
890
|
+
# example: //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-
|
891
|
+
# a/awsClusters/my-cluster //gkemulticloud.googleapis.com/projects/my-project/
|
892
|
+
# locations/us-west1-a/azureClusters/my-cluster
|
893
|
+
# Corresponds to the JSON property `resourceLink`
|
894
|
+
# @return [String]
|
895
|
+
attr_accessor :resource_link
|
896
|
+
|
897
|
+
def initialize(**args)
|
898
|
+
update!(**args)
|
899
|
+
end
|
900
|
+
|
901
|
+
# Update properties of this object
|
902
|
+
def update!(**args)
|
903
|
+
@cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
|
904
|
+
@resource_link = args[:resource_link] if args.key?(:resource_link)
|
905
|
+
end
|
906
|
+
end
|
907
|
+
|
908
|
+
# OnPremCluster contains information specific to GKE On-Prem clusters.
|
909
|
+
class OnPremCluster
|
910
|
+
include Google::Apis::Core::Hashable
|
911
|
+
|
912
|
+
# Immutable. Whether the cluster is an admin cluster.
|
913
|
+
# Corresponds to the JSON property `adminCluster`
|
914
|
+
# @return [Boolean]
|
915
|
+
attr_accessor :admin_cluster
|
916
|
+
alias_method :admin_cluster?, :admin_cluster
|
917
|
+
|
918
|
+
# Output only. If cluster_missing is set then it denotes that API(gkeonprem.
|
919
|
+
# googleapis.com) resource for this GKE On-Prem cluster no longer exists.
|
920
|
+
# Corresponds to the JSON property `clusterMissing`
|
921
|
+
# @return [Boolean]
|
922
|
+
attr_accessor :cluster_missing
|
923
|
+
alias_method :cluster_missing?, :cluster_missing
|
924
|
+
|
925
|
+
# Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For
|
926
|
+
# example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/
|
927
|
+
# vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/
|
928
|
+
# locations/us-west1-a/bareMetalClusters/my-cluster
|
929
|
+
# Corresponds to the JSON property `resourceLink`
|
930
|
+
# @return [String]
|
931
|
+
attr_accessor :resource_link
|
932
|
+
|
933
|
+
def initialize(**args)
|
934
|
+
update!(**args)
|
935
|
+
end
|
936
|
+
|
937
|
+
# Update properties of this object
|
938
|
+
def update!(**args)
|
939
|
+
@admin_cluster = args[:admin_cluster] if args.key?(:admin_cluster)
|
940
|
+
@cluster_missing = args[:cluster_missing] if args.key?(:cluster_missing)
|
941
|
+
@resource_link = args[:resource_link] if args.key?(:resource_link)
|
942
|
+
end
|
943
|
+
end
|
944
|
+
|
866
945
|
# This resource represents a long-running operation that is the result of a
|
867
946
|
# network API call.
|
868
947
|
class Operation
|
@@ -986,31 +1065,31 @@ module Google
|
|
986
1065
|
|
987
1066
|
# An Identity and Access Management (IAM) policy, which specifies access
|
988
1067
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
989
|
-
# A `binding` binds one or more `members
|
990
|
-
# user accounts, service accounts, Google groups, and domains (
|
991
|
-
# A `role` is a named list of permissions; each `role` can be
|
992
|
-
# role or a user-created custom role. For some types of Google
|
993
|
-
# a `binding` can also specify a `condition`, which is a
|
994
|
-
# allows access to a resource only if the expression
|
995
|
-
# condition can add constraints based on attributes of
|
996
|
-
# or both. To learn which resources support
|
997
|
-
# see the [IAM documentation](https://cloud.
|
998
|
-
# resource-policies). **JSON example:** ` "
|
999
|
-
# resourcemanager.organizationAdmin", "members": [
|
1000
|
-
# group:admins@example.com", "domain:google.com", "
|
1001
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1002
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1003
|
-
# title": "expirable access", "description": "Does not grant
|
1004
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1005
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1006
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1007
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1008
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1009
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1010
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1011
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1012
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1013
|
-
# google.com/iam/docs/).
|
1068
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1069
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1070
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1071
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1072
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1073
|
+
# logical expression that allows access to a resource only if the expression
|
1074
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1075
|
+
# the request, the resource, or both. To learn which resources support
|
1076
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1077
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1078
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1079
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1080
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1081
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1082
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1083
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1084
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1085
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1086
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1087
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1088
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1089
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1090
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1091
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1092
|
+
# cloud.google.com/iam/docs/).
|
1014
1093
|
class Policy
|
1015
1094
|
include Google::Apis::Core::Hashable
|
1016
1095
|
|
@@ -1019,9 +1098,14 @@ module Google
|
|
1019
1098
|
# @return [Array<Google::Apis::GkehubV1beta1::AuditConfig>]
|
1020
1099
|
attr_accessor :audit_configs
|
1021
1100
|
|
1022
|
-
# Associates a list of `members
|
1023
|
-
# condition` that determines how and when the `bindings` are applied.
|
1024
|
-
# the `bindings` must contain at least one
|
1101
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
1102
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
1103
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
1104
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
1105
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
1106
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
1107
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
1108
|
+
# principals to the `bindings` in the `Policy`.
|
1025
1109
|
# Corresponds to the JSON property `bindings`
|
1026
1110
|
# @return [Array<Google::Apis::GkehubV1beta1::Binding>]
|
1027
1111
|
attr_accessor :bindings
|
@@ -1114,6 +1198,13 @@ module Google
|
|
1114
1198
|
# @return [String]
|
1115
1199
|
attr_accessor :connect_version
|
1116
1200
|
|
1201
|
+
# Optional. Major version of the Kubernetes cluster. This is only used to
|
1202
|
+
# determine which version to use for the CustomResourceDefinition resources, `
|
1203
|
+
# apiextensions/v1beta1` or`apiextensions/v1`.
|
1204
|
+
# Corresponds to the JSON property `k8sVersion`
|
1205
|
+
# @return [String]
|
1206
|
+
attr_accessor :k8s_version
|
1207
|
+
|
1117
1208
|
# Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
|
1118
1209
|
# CustomResourceDefinition resources. This option should be set for clusters
|
1119
1210
|
# with Kubernetes apiserver versions <1.16.
|
@@ -1129,6 +1220,7 @@ module Google
|
|
1129
1220
|
# Update properties of this object
|
1130
1221
|
def update!(**args)
|
1131
1222
|
@connect_version = args[:connect_version] if args.key?(:connect_version)
|
1223
|
+
@k8s_version = args[:k8s_version] if args.key?(:k8s_version)
|
1132
1224
|
@v1beta1_crd = args[:v1beta1_crd] if args.key?(:v1beta1_crd)
|
1133
1225
|
end
|
1134
1226
|
end
|
@@ -1139,31 +1231,31 @@ module Google
|
|
1139
1231
|
|
1140
1232
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1141
1233
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1142
|
-
# A `binding` binds one or more `members
|
1143
|
-
# user accounts, service accounts, Google groups, and domains (
|
1144
|
-
# A `role` is a named list of permissions; each `role` can be
|
1145
|
-
# role or a user-created custom role. For some types of Google
|
1146
|
-
# a `binding` can also specify a `condition`, which is a
|
1147
|
-
# allows access to a resource only if the expression
|
1148
|
-
# condition can add constraints based on attributes of
|
1149
|
-
# or both. To learn which resources support
|
1150
|
-
# see the [IAM documentation](https://cloud.
|
1151
|
-
# resource-policies). **JSON example:** ` "
|
1152
|
-
# resourcemanager.organizationAdmin", "members": [
|
1153
|
-
# group:admins@example.com", "domain:google.com", "
|
1154
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1155
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1156
|
-
# title": "expirable access", "description": "Does not grant
|
1157
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1158
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1159
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1160
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1161
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1162
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1163
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1164
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1165
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1166
|
-
# google.com/iam/docs/).
|
1234
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1235
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1236
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1237
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1238
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1239
|
+
# logical expression that allows access to a resource only if the expression
|
1240
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1241
|
+
# the request, the resource, or both. To learn which resources support
|
1242
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1243
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1244
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1245
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1246
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1247
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1248
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1249
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1250
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1251
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1252
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1253
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1254
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1255
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1256
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1257
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1258
|
+
# cloud.google.com/iam/docs/).
|
1167
1259
|
# Corresponds to the JSON property `policy`
|
1168
1260
|
# @return [Google::Apis::GkehubV1beta1::Policy]
|
1169
1261
|
attr_accessor :policy
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211203"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -148,6 +148,18 @@ module Google
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
149
149
|
end
|
150
150
|
|
151
|
+
class MultiCloudCluster
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class OnPremCluster
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
151
163
|
class Operation
|
152
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
165
|
|
@@ -404,6 +416,10 @@ module Google
|
|
404
416
|
|
405
417
|
property :kubernetes_resource, as: 'kubernetesResource', class: Google::Apis::GkehubV1beta1::KubernetesResource, decorator: Google::Apis::GkehubV1beta1::KubernetesResource::Representation
|
406
418
|
|
419
|
+
property :multi_cloud_cluster, as: 'multiCloudCluster', class: Google::Apis::GkehubV1beta1::MultiCloudCluster, decorator: Google::Apis::GkehubV1beta1::MultiCloudCluster::Representation
|
420
|
+
|
421
|
+
property :on_prem_cluster, as: 'onPremCluster', class: Google::Apis::GkehubV1beta1::OnPremCluster, decorator: Google::Apis::GkehubV1beta1::OnPremCluster::Representation
|
422
|
+
|
407
423
|
end
|
408
424
|
end
|
409
425
|
|
@@ -416,6 +432,23 @@ module Google
|
|
416
432
|
end
|
417
433
|
end
|
418
434
|
|
435
|
+
class MultiCloudCluster
|
436
|
+
# @private
|
437
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
438
|
+
property :cluster_missing, as: 'clusterMissing'
|
439
|
+
property :resource_link, as: 'resourceLink'
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
443
|
+
class OnPremCluster
|
444
|
+
# @private
|
445
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
446
|
+
property :admin_cluster, as: 'adminCluster'
|
447
|
+
property :cluster_missing, as: 'clusterMissing'
|
448
|
+
property :resource_link, as: 'resourceLink'
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
419
452
|
class Operation
|
420
453
|
# @private
|
421
454
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -465,6 +498,7 @@ module Google
|
|
465
498
|
# @private
|
466
499
|
class Representation < Google::Apis::Core::JsonRepresentation
|
467
500
|
property :connect_version, as: 'connectVersion'
|
501
|
+
property :k8s_version, as: 'k8sVersion'
|
468
502
|
property :v1beta1_crd, as: 'v1beta1Crd'
|
469
503
|
end
|
470
504
|
end
|
@@ -373,13 +373,16 @@ module Google
|
|
373
373
|
# REQUIRED: The resource for which the policy is being requested. See the
|
374
374
|
# operation documentation for the appropriate value for this field.
|
375
375
|
# @param [Fixnum] options_requested_policy_version
|
376
|
-
# Optional. The policy
|
377
|
-
# 3. Requests specifying an invalid value will be
|
378
|
-
# policies with any conditional bindings must
|
379
|
-
#
|
380
|
-
# field unset.
|
381
|
-
#
|
382
|
-
#
|
376
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
377
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
378
|
+
# rejected. Requests for policies with any conditional role bindings must
|
379
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
380
|
+
# valid value or leave the field unset. The policy in the response might use the
|
381
|
+
# policy version that you specified, or it might use a lower policy version. For
|
382
|
+
# example, if you specify version 3, but the policy has no conditional role
|
383
|
+
# bindings, the response uses version 1. To learn which resources support
|
384
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
385
|
+
# google.com/iam/help/conditions/resource-policies).
|
383
386
|
# @param [String] fields
|
384
387
|
# Selector specifying which fields to include in a partial response.
|
385
388
|
# @param [String] quota_user
|
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.
|
4
|
+
version: 0.12.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: 2021-
|
11
|
+
date: 2021-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.12.0
|
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: []
|
65
65
|
require_paths:
|