google-apis-gkehub_v1beta 0.11.0 → 0.12.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: e173e2d991cdba23aa363a0a335ef45377cf777e875c240a4f58e385d6da9107
4
- data.tar.gz: b6c2a5db64bc906e7410122d794d634d105b704f40ee756c2350a13b7202d246
3
+ metadata.gz: c6ad31cb85a1ecccb548ac6a22d5f638191e2bd699643b393586b09e90270a88
4
+ data.tar.gz: 6f5652b33ea21250ca9d6d00b716985d7c24926927df707a170fae2ecd8c2ca1
5
5
  SHA512:
6
- metadata.gz: '0799d8fa13cd9352ef78e16f65831f62d679b4ad0fadef74068447f721eff706d65eb94ecbe35df228241fb47a41b1459a117412c912c33b25cdc2de594adb1a'
7
- data.tar.gz: d680c236c96eeddf89bf77e6b4f61b35adc5585d60b588d2da1da87e44b2f99f2363b0a530d4a604c0acb368e63fd1b87e51e8f21c67719d64be6f349a57e8cf
6
+ metadata.gz: 90fb01a5699b464e298654c729f7ce522cc93a2cc3bbb54da6a3bffb1574ace47e56b21a7a4455dd1ee7c48eb12fd0a98db4d4805e16161dbfeca116b3bb8598
7
+ data.tar.gz: 992461c1a62ed3f4c02746e1e40ac95812127e0b2b6fbd4b9c9ac7456561ac801159b8e328a91eeb4b0f479b8eb050432019b6f8ca01a2cec0a3f6885350d193
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.12.0 (2021-10-24)
4
+
5
+ * Regenerated from discovery document revision 20211015
6
+ * Unspecified changes
7
+
3
8
  ### v0.11.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
 
@@ -93,7 +93,7 @@ module Google
93
93
  end
94
94
  end
95
95
 
96
- # Associates `members` with a `role`.
96
+ # Associates `members`, or principals, with a `role`.
97
97
  class Binding
98
98
  include Google::Apis::Core::Hashable
99
99
 
@@ -116,7 +116,7 @@ module Google
116
116
  # @return [Google::Apis::GkehubV1beta::Expr]
117
117
  attr_accessor :condition
118
118
 
119
- # Specifies the identities requesting access for a Cloud Platform resource. `
119
+ # Specifies the principals requesting access for a Cloud Platform resource. `
120
120
  # members` can have the following values: * `allUsers`: A special identifier
121
121
  # that represents anyone who is on the internet; with or without a Google
122
122
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -146,8 +146,8 @@ module Google
146
146
  # @return [Array<String>]
147
147
  attr_accessor :members
148
148
 
149
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
150
- # , or `roles/owner`.
149
+ # Role that is assigned to the list of `members`, or principals. For example, `
150
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
151
151
  # Corresponds to the JSON property `role`
152
152
  # @return [String]
153
153
  attr_accessor :role
@@ -286,6 +286,16 @@ module Google
286
286
  class ConfigManagementConfigSync
287
287
  include Google::Apis::Core::Hashable
288
288
 
289
+ # Enables the installation of ConfigSync. If set to true, ConfigSync resources
290
+ # will be created and the other ConfigSync fields will be applied if exist. If
291
+ # set to false, all other ConfigSync fields will be ignored, ConfigSync
292
+ # resources will be deleted. If omitted, ConfigSync resources will be managed
293
+ # depends on the presence of git field.
294
+ # Corresponds to the JSON property `enabled`
295
+ # @return [Boolean]
296
+ attr_accessor :enabled
297
+ alias_method :enabled?, :enabled
298
+
289
299
  # Git repo configuration for a single cluster.
290
300
  # Corresponds to the JSON property `git`
291
301
  # @return [Google::Apis::GkehubV1beta::ConfigManagementGitConfig]
@@ -303,6 +313,7 @@ module Google
303
313
 
304
314
  # Update properties of this object
305
315
  def update!(**args)
316
+ @enabled = args[:enabled] if args.key?(:enabled)
306
317
  @git = args[:git] if args.key?(:git)
307
318
  @source_format = args[:source_format] if args.key?(:source_format)
308
319
  end
@@ -1854,31 +1865,31 @@ module Google
1854
1865
 
1855
1866
  # An Identity and Access Management (IAM) policy, which specifies access
1856
1867
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1857
- # A `binding` binds one or more `members` to a single `role`. Members can be
1858
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1859
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1860
- # role or a user-created custom role. For some types of Google Cloud resources,
1861
- # a `binding` can also specify a `condition`, which is a logical expression that
1862
- # allows access to a resource only if the expression evaluates to `true`. A
1863
- # condition can add constraints based on attributes of the request, the resource,
1864
- # or both. To learn which resources support conditions in their IAM policies,
1865
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1866
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1867
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1868
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1869
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1870
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1871
- # title": "expirable access", "description": "Does not grant access after Sep
1872
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1873
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1874
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1875
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1876
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1877
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1878
- # description: Does not grant access after Sep 2020 expression: request.time <
1879
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1880
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1881
- # google.com/iam/docs/).
1868
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1869
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1870
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1871
+ # an IAM predefined role or a user-created custom role. For some types of Google
1872
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1873
+ # logical expression that allows access to a resource only if the expression
1874
+ # evaluates to `true`. A condition can add constraints based on attributes of
1875
+ # the request, the resource, or both. To learn which resources support
1876
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1877
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1878
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1879
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1880
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1881
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1882
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1883
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1884
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1885
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1886
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1887
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1888
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1889
+ # access description: Does not grant access after Sep 2020 expression: request.
1890
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1891
+ # a description of IAM and its features, see the [IAM documentation](https://
1892
+ # cloud.google.com/iam/docs/).
1882
1893
  class Policy
1883
1894
  include Google::Apis::Core::Hashable
1884
1895
 
@@ -1887,9 +1898,14 @@ module Google
1887
1898
  # @return [Array<Google::Apis::GkehubV1beta::AuditConfig>]
1888
1899
  attr_accessor :audit_configs
1889
1900
 
1890
- # Associates a list of `members` to a `role`. Optionally, may specify a `
1891
- # condition` that determines how and when the `bindings` are applied. Each of
1892
- # the `bindings` must contain at least one member.
1901
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
1902
+ # specify a `condition` that determines how and when the `bindings` are applied.
1903
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
1904
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
1905
+ # can be Google groups. Each occurrence of a principal counts towards these
1906
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
1907
+ # example.com`, and not to any other principal, then you can add another 1,450
1908
+ # principals to the `bindings` in the `Policy`.
1893
1909
  # Corresponds to the JSON property `bindings`
1894
1910
  # @return [Array<Google::Apis::GkehubV1beta::Binding>]
1895
1911
  attr_accessor :bindings
@@ -1948,31 +1964,31 @@ module Google
1948
1964
 
1949
1965
  # An Identity and Access Management (IAM) policy, which specifies access
1950
1966
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1951
- # A `binding` binds one or more `members` to a single `role`. Members can be
1952
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1953
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1954
- # role or a user-created custom role. For some types of Google Cloud resources,
1955
- # a `binding` can also specify a `condition`, which is a logical expression that
1956
- # allows access to a resource only if the expression evaluates to `true`. A
1957
- # condition can add constraints based on attributes of the request, the resource,
1958
- # or both. To learn which resources support conditions in their IAM policies,
1959
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1960
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1961
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1962
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1963
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1964
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1965
- # title": "expirable access", "description": "Does not grant access after Sep
1966
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1967
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1968
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1969
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1970
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1971
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1972
- # description: Does not grant access after Sep 2020 expression: request.time <
1973
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1974
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1975
- # google.com/iam/docs/).
1967
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1968
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1969
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1970
+ # an IAM predefined role or a user-created custom role. For some types of Google
1971
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1972
+ # logical expression that allows access to a resource only if the expression
1973
+ # evaluates to `true`. A condition can add constraints based on attributes of
1974
+ # the request, the resource, or both. To learn which resources support
1975
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1976
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1977
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1978
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1979
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1980
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1981
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1982
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1983
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1984
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1985
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1986
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1987
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1988
+ # access description: Does not grant access after Sep 2020 expression: request.
1989
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1990
+ # a description of IAM and its features, see the [IAM documentation](https://
1991
+ # cloud.google.com/iam/docs/).
1976
1992
  # Corresponds to the JSON property `policy`
1977
1993
  # @return [Google::Apis::GkehubV1beta::Policy]
1978
1994
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1beta
18
18
  # Version of the google-apis-gkehub_v1beta gem
19
- GEM_VERSION = "0.11.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 = "20210927"
25
+ REVISION = "20211015"
26
26
  end
27
27
  end
28
28
  end
@@ -421,6 +421,7 @@ module Google
421
421
  class ConfigManagementConfigSync
422
422
  # @private
423
423
  class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :enabled, as: 'enabled'
424
425
  property :git, as: 'git', class: Google::Apis::GkehubV1beta::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementGitConfig::Representation
425
426
 
426
427
  property :source_format, as: 'sourceFormat'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.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-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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.11.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1beta
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.12.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: