google-apis-gkehub_v1 0.13.0 → 0.14.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: 608e9a472ea5b709996436599312fa0a04b234e519be61c54e9d88814ee5138b
4
- data.tar.gz: 9248afb2da24e6ca244efa2f4fb52eda50e6aa0f78a542887a4eb87cc7a518c3
3
+ metadata.gz: b920aef329067c20b1b3c86d270d9aa377c6494ae02bdfd6ffcecbce22bb0069
4
+ data.tar.gz: d5dfb57356937043a75080c4cb30ad809d1c43021339ac1815c28f593fd01694
5
5
  SHA512:
6
- metadata.gz: 2a45c8c32b41c0fb8449c68e0683ae59bc9a36b3b77d83d5666cc3dcdf2ff4077e943011848c59a1c14704bcc06c16845592c88515fd0796694c6750c93efc2a
7
- data.tar.gz: f4b0c9f8007fbfac11d3eb0ba0a9d2ee0421d71b76772b481d3fee4c0837203d90530ba7cc001ec290570c63fdccafc6bd1927b18d687a84bee075036c070994
6
+ metadata.gz: a7ab3bb75836fa39f96a7cb594425126ffdda18837ac0378af2a7209107056981c1dd7ccd192a04069ba458cd4e94b1f1dd743cb299935d52622de1512eace13
7
+ data.tar.gz: 74f4c4b2019417b61ba9d32965f938d5623102426d612809ea6f71d3d1ef9451758d6c31ac8690159ec6dcb2a194522ce39038bc0f932bba0ef2a88332447a2b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.14.0 (2021-10-24)
4
+
5
+ * Regenerated from discovery document revision 20211015
6
+ * Unspecified changes
7
+
3
8
  ### v0.13.0 (2021-10-04)
4
9
 
5
10
  * Regenerated from discovery document revision 20210927
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/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::GkehubV1::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
@@ -276,6 +276,16 @@ module Google
276
276
  class ConfigManagementConfigSync
277
277
  include Google::Apis::Core::Hashable
278
278
 
279
+ # Enables the installation of ConfigSync. If set to true, ConfigSync resources
280
+ # will be created and the other ConfigSync fields will be applied if exist. If
281
+ # set to false, all other ConfigSync fields will be ignored, ConfigSync
282
+ # resources will be deleted. If omitted, ConfigSync resources will be managed
283
+ # depends on the presence of git field.
284
+ # Corresponds to the JSON property `enabled`
285
+ # @return [Boolean]
286
+ attr_accessor :enabled
287
+ alias_method :enabled?, :enabled
288
+
279
289
  # Git repo configuration for a single cluster.
280
290
  # Corresponds to the JSON property `git`
281
291
  # @return [Google::Apis::GkehubV1::ConfigManagementGitConfig]
@@ -293,6 +303,7 @@ module Google
293
303
 
294
304
  # Update properties of this object
295
305
  def update!(**args)
306
+ @enabled = args[:enabled] if args.key?(:enabled)
296
307
  @git = args[:git] if args.key?(:git)
297
308
  @source_format = args[:source_format] if args.key?(:source_format)
298
309
  end
@@ -2002,31 +2013,31 @@ module Google
2002
2013
 
2003
2014
  # An Identity and Access Management (IAM) policy, which specifies access
2004
2015
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2005
- # A `binding` binds one or more `members` to a single `role`. Members can be
2006
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
2007
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
2008
- # role or a user-created custom role. For some types of Google Cloud resources,
2009
- # a `binding` can also specify a `condition`, which is a logical expression that
2010
- # allows access to a resource only if the expression evaluates to `true`. A
2011
- # condition can add constraints based on attributes of the request, the resource,
2012
- # or both. To learn which resources support conditions in their IAM policies,
2013
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
2014
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
2015
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
2016
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
2017
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
2018
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
2019
- # title": "expirable access", "description": "Does not grant access after Sep
2020
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
2021
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
2022
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
2023
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
2024
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2025
- # roles/resourcemanager.organizationViewer condition: title: expirable access
2026
- # description: Does not grant access after Sep 2020 expression: request.time <
2027
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
2028
- # description of IAM and its features, see the [IAM documentation](https://cloud.
2029
- # google.com/iam/docs/).
2016
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
2017
+ # Principals can be user accounts, service accounts, Google groups, and domains (
2018
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
2019
+ # an IAM predefined role or a user-created custom role. For some types of Google
2020
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
2021
+ # logical expression that allows access to a resource only if the expression
2022
+ # evaluates to `true`. A condition can add constraints based on attributes of
2023
+ # the request, the resource, or both. To learn which resources support
2024
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2025
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
2026
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
2027
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
2028
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
2029
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
2030
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
2031
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
2032
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
2033
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
2034
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
2035
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
2036
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
2037
+ # access description: Does not grant access after Sep 2020 expression: request.
2038
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
2039
+ # a description of IAM and its features, see the [IAM documentation](https://
2040
+ # cloud.google.com/iam/docs/).
2030
2041
  class Policy
2031
2042
  include Google::Apis::Core::Hashable
2032
2043
 
@@ -2035,9 +2046,14 @@ module Google
2035
2046
  # @return [Array<Google::Apis::GkehubV1::AuditConfig>]
2036
2047
  attr_accessor :audit_configs
2037
2048
 
2038
- # Associates a list of `members` to a `role`. Optionally, may specify a `
2039
- # condition` that determines how and when the `bindings` are applied. Each of
2040
- # the `bindings` must contain at least one member.
2049
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
2050
+ # specify a `condition` that determines how and when the `bindings` are applied.
2051
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
2052
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
2053
+ # can be Google groups. Each occurrence of a principal counts towards these
2054
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
2055
+ # example.com`, and not to any other principal, then you can add another 1,450
2056
+ # principals to the `bindings` in the `Policy`.
2041
2057
  # Corresponds to the JSON property `bindings`
2042
2058
  # @return [Array<Google::Apis::GkehubV1::Binding>]
2043
2059
  attr_accessor :bindings
@@ -2096,31 +2112,31 @@ module Google
2096
2112
 
2097
2113
  # An Identity and Access Management (IAM) policy, which specifies access
2098
2114
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2099
- # A `binding` binds one or more `members` to a single `role`. Members can be
2100
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
2101
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
2102
- # role or a user-created custom role. For some types of Google Cloud resources,
2103
- # a `binding` can also specify a `condition`, which is a logical expression that
2104
- # allows access to a resource only if the expression evaluates to `true`. A
2105
- # condition can add constraints based on attributes of the request, the resource,
2106
- # or both. To learn which resources support conditions in their IAM policies,
2107
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
2108
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
2109
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
2110
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
2111
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
2112
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
2113
- # title": "expirable access", "description": "Does not grant access after Sep
2114
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
2115
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
2116
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
2117
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
2118
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2119
- # roles/resourcemanager.organizationViewer condition: title: expirable access
2120
- # description: Does not grant access after Sep 2020 expression: request.time <
2121
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
2122
- # description of IAM and its features, see the [IAM documentation](https://cloud.
2123
- # google.com/iam/docs/).
2115
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
2116
+ # Principals can be user accounts, service accounts, Google groups, and domains (
2117
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
2118
+ # an IAM predefined role or a user-created custom role. For some types of Google
2119
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
2120
+ # logical expression that allows access to a resource only if the expression
2121
+ # evaluates to `true`. A condition can add constraints based on attributes of
2122
+ # the request, the resource, or both. To learn which resources support
2123
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2124
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
2125
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
2126
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
2127
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
2128
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
2129
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
2130
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
2131
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
2132
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
2133
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
2134
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
2135
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
2136
+ # access description: Does not grant access after Sep 2020 expression: request.
2137
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
2138
+ # a description of IAM and its features, see the [IAM documentation](https://
2139
+ # cloud.google.com/iam/docs/).
2124
2140
  # Corresponds to the JSON property `policy`
2125
2141
  # @return [Google::Apis::GkehubV1::Policy]
2126
2142
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1
18
18
  # Version of the google-apis-gkehub_v1 gem
19
- GEM_VERSION = "0.13.0"
19
+ GEM_VERSION = "0.14.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 = "20210927"
25
+ REVISION = "20211015"
26
26
  end
27
27
  end
28
28
  end
@@ -432,6 +432,7 @@ module Google
432
432
  class ConfigManagementConfigSync
433
433
  # @private
434
434
  class Representation < Google::Apis::Core::JsonRepresentation
435
+ property :enabled, as: 'enabled'
435
436
  property :git, as: 'git', class: Google::Apis::GkehubV1::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1::ConfigManagementGitConfig::Representation
436
437
 
437
438
  property :source_format, as: 'sourceFormat'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.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-10-11 00:00:00.000000000 Z
11
+ date: 2021-10-27 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.13.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.14.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: