google-apis-gkehub_v1beta1 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: 709bf683834d9dc181a380ec1da4724aa076a511f1b071a08f36d893e6e5d3e5
4
- data.tar.gz: 836cd4114657e68062ee697d8f23a44ac1f06b5401434f43666b27fe2c5b9642
3
+ metadata.gz: b082a6ad7cbbf4d937e3e8622fdb7c742c316fa74b925e342a87e92701f53f51
4
+ data.tar.gz: 821f931b209b6564f24eb2d0eeaf62a506bfa59a72528906437334fafb1baf79
5
5
  SHA512:
6
- metadata.gz: 9eeb18bc09db5e3a68c59085a4cae14b8d42ccfbcb1c9c0f7259a26c617234f2783af33727b47470233228c16e8e0dab49670c6bc82d4dddb2cfc3974eaab4d4
7
- data.tar.gz: 4391a3e3ea63a3733230c6d822a26925552125a686aeff8df9f58a8df528c9f4b6fe6fe7184e832421d90c343abc2dce12920ad991fadead1cbe6ec594de929c
6
+ metadata.gz: 532f0b1af2316de17330a3d59c16047bd683d09bf2633ca12656c7bad73a3532d1f93970073924562ef809f63c2c9a69699d431f32b3ed603f6025a42d21e9e3
7
+ data.tar.gz: 1525e32f90f0c35177f4839b56f1d002e14795bca76910dc0a1265811cb5e7f4753f127b69dcd58230c0771183db03d8c36bd8cbfb0c49992b70b43b1ace407b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-gkehub_v1beta1
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-08-28)
4
21
 
5
22
  * Regenerated from discovery document revision 20210820
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/gkehub_v1beta1"
51
51
  client = Google::Apis::GkehubV1beta1::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::GkehubV1beta1::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
@@ -1065,31 +1065,31 @@ module Google
1065
1065
 
1066
1066
  # An Identity and Access Management (IAM) policy, which specifies access
1067
1067
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1068
- # A `binding` binds one or more `members` to a single `role`. Members can be
1069
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1070
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1071
- # role or a user-created custom role. For some types of Google Cloud resources,
1072
- # a `binding` can also specify a `condition`, which is a logical expression that
1073
- # allows access to a resource only if the expression evaluates to `true`. A
1074
- # condition can add constraints based on attributes of the request, the resource,
1075
- # or both. To learn which resources support conditions in their IAM policies,
1076
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1077
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1078
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1079
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1080
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1081
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1082
- # title": "expirable access", "description": "Does not grant access after Sep
1083
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1084
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1085
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1086
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1087
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1088
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1089
- # description: Does not grant access after Sep 2020 expression: request.time <
1090
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1091
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1092
- # 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/).
1093
1093
  class Policy
1094
1094
  include Google::Apis::Core::Hashable
1095
1095
 
@@ -1098,9 +1098,14 @@ module Google
1098
1098
  # @return [Array<Google::Apis::GkehubV1beta1::AuditConfig>]
1099
1099
  attr_accessor :audit_configs
1100
1100
 
1101
- # Associates a list of `members` to a `role`. Optionally, may specify a `
1102
- # condition` that determines how and when the `bindings` are applied. Each of
1103
- # the `bindings` must contain at least one member.
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`.
1104
1109
  # Corresponds to the JSON property `bindings`
1105
1110
  # @return [Array<Google::Apis::GkehubV1beta1::Binding>]
1106
1111
  attr_accessor :bindings
@@ -1193,6 +1198,13 @@ module Google
1193
1198
  # @return [String]
1194
1199
  attr_accessor :connect_version
1195
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
+
1196
1208
  # Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
1197
1209
  # CustomResourceDefinition resources. This option should be set for clusters
1198
1210
  # with Kubernetes apiserver versions <1.16.
@@ -1208,6 +1220,7 @@ module Google
1208
1220
  # Update properties of this object
1209
1221
  def update!(**args)
1210
1222
  @connect_version = args[:connect_version] if args.key?(:connect_version)
1223
+ @k8s_version = args[:k8s_version] if args.key?(:k8s_version)
1211
1224
  @v1beta1_crd = args[:v1beta1_crd] if args.key?(:v1beta1_crd)
1212
1225
  end
1213
1226
  end
@@ -1218,31 +1231,31 @@ module Google
1218
1231
 
1219
1232
  # An Identity and Access Management (IAM) policy, which specifies access
1220
1233
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1221
- # A `binding` binds one or more `members` to a single `role`. Members can be
1222
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1223
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1224
- # role or a user-created custom role. For some types of Google Cloud resources,
1225
- # a `binding` can also specify a `condition`, which is a logical expression that
1226
- # allows access to a resource only if the expression evaluates to `true`. A
1227
- # condition can add constraints based on attributes of the request, the resource,
1228
- # or both. To learn which resources support conditions in their IAM policies,
1229
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1230
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1231
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1232
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1233
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1234
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1235
- # title": "expirable access", "description": "Does not grant access after Sep
1236
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1237
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1238
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1239
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1240
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1241
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1242
- # description: Does not grant access after Sep 2020 expression: request.time <
1243
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1244
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1245
- # 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/).
1246
1259
  # Corresponds to the JSON property `policy`
1247
1260
  # @return [Google::Apis::GkehubV1beta1::Policy]
1248
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.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 = "20210820"
25
+ REVISION = "20211203"
26
26
  end
27
27
  end
28
28
  end
@@ -498,6 +498,7 @@ module Google
498
498
  # @private
499
499
  class Representation < Google::Apis::Core::JsonRepresentation
500
500
  property :connect_version, as: 'connectVersion'
501
+ property :k8s_version, as: 'k8sVersion'
501
502
  property :v1beta1_crd, as: 'v1beta1Crd'
502
503
  end
503
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 format version to be returned. Valid values are 0, 1, and
377
- # 3. Requests specifying an invalid value will be rejected. Requests for
378
- # policies with any conditional bindings must specify version 3. Policies
379
- # without any conditional bindings may specify any valid value or leave the
380
- # field unset. To learn which resources support conditions in their IAM policies,
381
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
382
- # resource-policies).
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.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-08-30 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta1/v0.9.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1beta1
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.13.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:
@@ -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 V1beta1