google-apis-gkehub_v1alpha2 0.9.0 → 0.13.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: 9cd320c16472bf8d01fea29c50077b90766b9bc07dbba8e06c123566c39071f4
4
- data.tar.gz: 28c422882aa278d14bdacb5ac3cc302513e3c552b009e071c09d99b64e75b8af
3
+ metadata.gz: aabc09066943f2bff6d60408742e1b2d0618c41fd9e3f0daef55af285426ffab
4
+ data.tar.gz: 74de1a39101644130a07db2abe1ecf30b555b5620841a8d1ca65fb9d10399973
5
5
  SHA512:
6
- metadata.gz: adc279fd502d379fd89da512342dd379929fffaba240f9f8816f99fefd32c33441023b42d2da921b5d4cebff71d62fb18021c86c1862a468680b23cc7e8412b8
7
- data.tar.gz: 6d28d1fedfbfd61e6d838cdaad0a32b602d3ccb4293f8ed94a110721ced57439980b21be3759513b1568c01b5a1ce4e704ae65fb39d475c5b3804153b9e02ed9
6
+ metadata.gz: 6c120afe39d8b43d59f59ecb177c877b641b9fce3bdfed94bfc5c35d213f9b7fcea0a4da2fa6ca89abc93547b62d04e20b40e2c3a755ef965202933afadd4bd3
7
+ data.tar.gz: c8e065920bab23aa450e6efb03a27027ae0ecdd72933a20c9228ee55d81ec2a01cf2ee6767b6aa8c6113898eb7e95d92b168dc21132e92c72de00e16acfc29b2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-gkehub_v1alpha2
2
2
 
3
+ ### v0.13.0 (2021-12-16)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.12.0 (2021-12-12)
8
+
9
+ * Regenerated from discovery document revision 20211203
10
+
11
+ ### v0.11.0 (2021-11-13)
12
+
13
+ * Regenerated from discovery document revision 20211105
14
+
15
+ ### v0.10.0 (2021-10-24)
16
+
17
+ * Regenerated from discovery document revision 20211015
18
+ * Unspecified changes
19
+
3
20
  ### v0.9.0 (2021-09-04)
4
21
 
5
22
  * Regenerated from discovery document revision 20210827
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/gkehub_v1alpha2"
51
51
  client = Google::Apis::GkehubV1alpha2::GKEHubService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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` with a `role`.
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::GkehubV1alpha2::Expr]
171
171
  attr_accessor :condition
172
172
 
173
- # Specifies the identities requesting access for a Cloud Platform resource. `
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`. For example, `roles/viewer`, `roles/editor`
204
- # , or `roles/owner`.
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
@@ -1068,31 +1068,31 @@ module Google
1068
1068
 
1069
1069
  # An Identity and Access Management (IAM) policy, which specifies access
1070
1070
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1071
- # A `binding` binds one or more `members` to a single `role`. Members can be
1072
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1073
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1074
- # role or a user-created custom role. For some types of Google Cloud resources,
1075
- # a `binding` can also specify a `condition`, which is a logical expression that
1076
- # allows access to a resource only if the expression evaluates to `true`. A
1077
- # condition can add constraints based on attributes of the request, the resource,
1078
- # or both. To learn which resources support conditions in their IAM policies,
1079
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1080
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1081
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1082
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1083
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1084
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1085
- # title": "expirable access", "description": "Does not grant access after Sep
1086
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1087
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1088
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1089
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1090
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1091
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1092
- # description: Does not grant access after Sep 2020 expression: request.time <
1093
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1094
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1095
- # google.com/iam/docs/).
1071
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1072
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1073
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1074
+ # an IAM predefined role or a user-created custom role. For some types of Google
1075
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1076
+ # logical expression that allows access to a resource only if the expression
1077
+ # evaluates to `true`. A condition can add constraints based on attributes of
1078
+ # the request, the resource, or both. To learn which resources support
1079
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1080
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1081
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1082
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1083
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1084
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1085
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1086
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1087
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1088
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1089
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1090
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1091
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1092
+ # access description: Does not grant access after Sep 2020 expression: request.
1093
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1094
+ # a description of IAM and its features, see the [IAM documentation](https://
1095
+ # cloud.google.com/iam/docs/).
1096
1096
  class Policy
1097
1097
  include Google::Apis::Core::Hashable
1098
1098
 
@@ -1101,9 +1101,14 @@ module Google
1101
1101
  # @return [Array<Google::Apis::GkehubV1alpha2::AuditConfig>]
1102
1102
  attr_accessor :audit_configs
1103
1103
 
1104
- # Associates a list of `members` to a `role`. Optionally, may specify a `
1105
- # condition` that determines how and when the `bindings` are applied. Each of
1106
- # the `bindings` must contain at least one member.
1104
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
1105
+ # specify a `condition` that determines how and when the `bindings` are applied.
1106
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
1107
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
1108
+ # can be Google groups. Each occurrence of a principal counts towards these
1109
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
1110
+ # example.com`, and not to any other principal, then you can add another 1,450
1111
+ # principals to the `bindings` in the `Policy`.
1107
1112
  # Corresponds to the JSON property `bindings`
1108
1113
  # @return [Array<Google::Apis::GkehubV1alpha2::Binding>]
1109
1114
  attr_accessor :bindings
@@ -1196,6 +1201,13 @@ module Google
1196
1201
  # @return [String]
1197
1202
  attr_accessor :connect_version
1198
1203
 
1204
+ # Optional. Major version of the Kubernetes cluster. This is only used to
1205
+ # determine which version to use for the CustomResourceDefinition resources, `
1206
+ # apiextensions/v1beta1` or`apiextensions/v1`.
1207
+ # Corresponds to the JSON property `k8sVersion`
1208
+ # @return [String]
1209
+ attr_accessor :k8s_version
1210
+
1199
1211
  # Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
1200
1212
  # CustomResourceDefinition resources. This option should be set for clusters
1201
1213
  # with Kubernetes apiserver versions <1.16.
@@ -1211,6 +1223,7 @@ module Google
1211
1223
  # Update properties of this object
1212
1224
  def update!(**args)
1213
1225
  @connect_version = args[:connect_version] if args.key?(:connect_version)
1226
+ @k8s_version = args[:k8s_version] if args.key?(:k8s_version)
1214
1227
  @v1beta1_crd = args[:v1beta1_crd] if args.key?(:v1beta1_crd)
1215
1228
  end
1216
1229
  end
@@ -1221,31 +1234,31 @@ module Google
1221
1234
 
1222
1235
  # An Identity and Access Management (IAM) policy, which specifies access
1223
1236
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1224
- # A `binding` binds one or more `members` to a single `role`. Members can be
1225
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1226
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1227
- # role or a user-created custom role. For some types of Google Cloud resources,
1228
- # a `binding` can also specify a `condition`, which is a logical expression that
1229
- # allows access to a resource only if the expression evaluates to `true`. A
1230
- # condition can add constraints based on attributes of the request, the resource,
1231
- # or both. To learn which resources support conditions in their IAM policies,
1232
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1233
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1234
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1235
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1236
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1237
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1238
- # title": "expirable access", "description": "Does not grant access after Sep
1239
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1240
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1241
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1242
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1243
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1244
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1245
- # description: Does not grant access after Sep 2020 expression: request.time <
1246
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1247
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1248
- # google.com/iam/docs/).
1237
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1238
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1239
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1240
+ # an IAM predefined role or a user-created custom role. For some types of Google
1241
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1242
+ # logical expression that allows access to a resource only if the expression
1243
+ # evaluates to `true`. A condition can add constraints based on attributes of
1244
+ # the request, the resource, or both. To learn which resources support
1245
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1246
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1247
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1248
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1249
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1250
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1251
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1252
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1253
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1254
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1255
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1256
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1257
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1258
+ # access description: Does not grant access after Sep 2020 expression: request.
1259
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1260
+ # a description of IAM and its features, see the [IAM documentation](https://
1261
+ # cloud.google.com/iam/docs/).
1249
1262
  # Corresponds to the JSON property `policy`
1250
1263
  # @return [Google::Apis::GkehubV1alpha2::Policy]
1251
1264
  attr_accessor :policy
@@ -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.9.0"
19
+ GEM_VERSION = "0.13.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 = "20210827"
25
+ REVISION = "20211203"
26
26
  end
27
27
  end
28
28
  end
@@ -502,6 +502,7 @@ module Google
502
502
  # @private
503
503
  class Representation < Google::Apis::Core::JsonRepresentation
504
504
  property :connect_version, as: 'connectVersion'
505
+ property :k8s_version, as: 'k8sVersion'
505
506
  property :v1beta1_crd, as: 'v1beta1Crd'
506
507
  end
507
508
  end
@@ -337,13 +337,16 @@ module Google
337
337
  # REQUIRED: The resource for which the policy is being requested. See the
338
338
  # operation documentation for the appropriate value for this field.
339
339
  # @param [Fixnum] options_requested_policy_version
340
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
341
- # 3. Requests specifying an invalid value will be rejected. Requests for
342
- # policies with any conditional bindings must specify version 3. Policies
343
- # without any conditional bindings may specify any valid value or leave the
344
- # field unset. To learn which resources support conditions in their IAM policies,
345
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
346
- # resource-policies).
340
+ # Optional. The maximum policy version that will be used to format the policy.
341
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
342
+ # rejected. Requests for policies with any conditional role bindings must
343
+ # specify version 3. Policies with no conditional role bindings may specify any
344
+ # valid value or leave the field unset. The policy in the response might use the
345
+ # policy version that you specified, or it might use a lower policy version. For
346
+ # example, if you specify version 3, but the policy has no conditional role
347
+ # bindings, the response uses version 1. To learn which resources support
348
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
349
+ # google.com/iam/help/conditions/resource-policies).
347
350
  # @param [String] fields
348
351
  # Selector specifying which fields to include in a partial response.
349
352
  # @param [String] quota_user
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.9.0
4
+ version: 0.13.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-09-06 00:00:00.000000000 Z
11
+ date: 2022-01-10 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/master/generated/google-apis-gkehub_v1alpha2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha2/v0.9.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1alpha2
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.13.0
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: []
65
65
  require_paths:
@@ -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.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for GKE Hub API V1alpha2