google-apis-gkehub_v1beta 0.10.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: 3e92b3cfd4f21a4cef9cc40bf922e0f212ffa717874c3e408d2f5f78d37274c8
4
- data.tar.gz: b15ed74d23bd9d158987778d303c8cb019cffcd952bbbafe28a097d8d723c8a5
3
+ metadata.gz: 3e9a7915f241415fae365f85bded2b331f0fc74cf71c1ac4bb7a61d97e9a4d67
4
+ data.tar.gz: d29e52b48dae8b6567e531dc1bc90f3c27f2c60e9350f549881dbb0f3715b76a
5
5
  SHA512:
6
- metadata.gz: 9508ce3f46e3eecab54178f6da6d52462853c6de16949c43819e6ca56054f3285329c07d607e5219a8c829f44c6d74f1b83c75944a401b7b81e652fecc3d2e97
7
- data.tar.gz: 6eea3a5c87530155f097074ffb07be16926c273dc8c554963dfdebdf81050192d2192e8a28f73a1fba83719cc905611ad4dfef0992c83661c07348f8da3733ed
6
+ metadata.gz: 392808528d4f23d303e24341f23f308b241f82c7f84ed6527f926c2648e73f980196e8912b43971226de94f7a9e9a2098f57b223d0000f7ed3b7f7cdedba7d3c
7
+ data.tar.gz: caa53324915b34b6b8ef274ccbf7a7b5e1893cfac2e4379338df4bbc60b3bd338dac05a45b795f2bb2d535b4efdfaca168e24b659716e899a2957623bdd6f629
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.14.0 (2021-11-13)
4
+
5
+ * Regenerated from discovery document revision 20211105
6
+
7
+ ### v0.13.0 (2021-10-30)
8
+
9
+ * Regenerated from discovery document revision 20211021
10
+
11
+ ### v0.12.0 (2021-10-24)
12
+
13
+ * Regenerated from discovery document revision 20211015
14
+ * Unspecified changes
15
+
16
+ ### v0.11.0 (2021-10-04)
17
+
18
+ * Regenerated from discovery document revision 20210927
19
+
3
20
  ### v0.10.0 (2021-09-26)
4
21
 
5
22
  * Regenerated from discovery document revision 20210920
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
 
@@ -22,6 +22,38 @@ module Google
22
22
  module Apis
23
23
  module GkehubV1beta
24
24
 
25
+ # Spec for App Dev Experience Feature.
26
+ class AppDevExperienceFeatureSpec
27
+ include Google::Apis::Core::Hashable
28
+
29
+ def initialize(**args)
30
+ update!(**args)
31
+ end
32
+
33
+ # Update properties of this object
34
+ def update!(**args)
35
+ end
36
+ end
37
+
38
+ # State for App Dev Exp Feature.
39
+ class AppDevExperienceFeatureState
40
+ include Google::Apis::Core::Hashable
41
+
42
+ # Status specifies state for the subcomponent.
43
+ # Corresponds to the JSON property `networkingInstallSucceeded`
44
+ # @return [Google::Apis::GkehubV1beta::Status]
45
+ attr_accessor :networking_install_succeeded
46
+
47
+ def initialize(**args)
48
+ update!(**args)
49
+ end
50
+
51
+ # Update properties of this object
52
+ def update!(**args)
53
+ @networking_install_succeeded = args[:networking_install_succeeded] if args.key?(:networking_install_succeeded)
54
+ end
55
+ end
56
+
25
57
  # Specifies the audit configuration for a service. The configuration determines
26
58
  # which permission types are logged, and what identities, if any, are exempted
27
59
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -93,7 +125,7 @@ module Google
93
125
  end
94
126
  end
95
127
 
96
- # Associates `members` with a `role`.
128
+ # Associates `members`, or principals, with a `role`.
97
129
  class Binding
98
130
  include Google::Apis::Core::Hashable
99
131
 
@@ -116,7 +148,7 @@ module Google
116
148
  # @return [Google::Apis::GkehubV1beta::Expr]
117
149
  attr_accessor :condition
118
150
 
119
- # Specifies the identities requesting access for a Cloud Platform resource. `
151
+ # Specifies the principals requesting access for a Cloud Platform resource. `
120
152
  # members` can have the following values: * `allUsers`: A special identifier
121
153
  # that represents anyone who is on the internet; with or without a Google
122
154
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -146,8 +178,8 @@ module Google
146
178
  # @return [Array<String>]
147
179
  attr_accessor :members
148
180
 
149
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
150
- # , or `roles/owner`.
181
+ # Role that is assigned to the list of `members`, or principals. For example, `
182
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
151
183
  # Corresponds to the JSON property `role`
152
184
  # @return [String]
153
185
  attr_accessor :role
@@ -181,6 +213,11 @@ module Google
181
213
  class CommonFeatureSpec
182
214
  include Google::Apis::Core::Hashable
183
215
 
216
+ # Spec for App Dev Experience Feature.
217
+ # Corresponds to the JSON property `appdevexperience`
218
+ # @return [Google::Apis::GkehubV1beta::AppDevExperienceFeatureSpec]
219
+ attr_accessor :appdevexperience
220
+
184
221
  # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress
185
222
  # feature.
186
223
  # Corresponds to the JSON property `multiclusteringress`
@@ -193,6 +230,7 @@ module Google
193
230
 
194
231
  # Update properties of this object
195
232
  def update!(**args)
233
+ @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
196
234
  @multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
197
235
  end
198
236
  end
@@ -201,6 +239,11 @@ module Google
201
239
  class CommonFeatureState
202
240
  include Google::Apis::Core::Hashable
203
241
 
242
+ # State for App Dev Exp Feature.
243
+ # Corresponds to the JSON property `appdevexperience`
244
+ # @return [Google::Apis::GkehubV1beta::AppDevExperienceFeatureState]
245
+ attr_accessor :appdevexperience
246
+
204
247
  # FeatureState describes the high-level state of a Feature. It may be used to
205
248
  # describe a Feature's state at the environ-level, or per-membershop, depending
206
249
  # on the context.
@@ -214,6 +257,7 @@ module Google
214
257
 
215
258
  # Update properties of this object
216
259
  def update!(**args)
260
+ @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
217
261
  @state = args[:state] if args.key?(:state)
218
262
  end
219
263
  end
@@ -286,15 +330,28 @@ module Google
286
330
  class ConfigManagementConfigSync
287
331
  include Google::Apis::Core::Hashable
288
332
 
333
+ # Enables the installation of ConfigSync. If set to true, ConfigSync resources
334
+ # will be created and the other ConfigSync fields will be applied if exist. If
335
+ # set to false, all other ConfigSync fields will be ignored, ConfigSync
336
+ # resources will be deleted. If omitted, ConfigSync resources will be managed
337
+ # depends on the presence of git field.
338
+ # Corresponds to the JSON property `enabled`
339
+ # @return [Boolean]
340
+ attr_accessor :enabled
341
+ alias_method :enabled?, :enabled
342
+
289
343
  # Git repo configuration for a single cluster.
290
344
  # Corresponds to the JSON property `git`
291
345
  # @return [Google::Apis::GkehubV1beta::ConfigManagementGitConfig]
292
346
  attr_accessor :git
293
347
 
294
- # Specifies CPU and memory limits for containers, keyed by container name
295
- # Corresponds to the JSON property `resourceRequirements`
296
- # @return [Hash<String,Google::Apis::GkehubV1beta::ConfigManagementContainerResourceRequirements>]
297
- attr_accessor :resource_requirements
348
+ # Set to true to enable the Config Sync admission webhook to prevent drifts. If
349
+ # set to `false`, disables the Config Sync admission webhook and does not
350
+ # prevent drifts.
351
+ # Corresponds to the JSON property `preventDrift`
352
+ # @return [Boolean]
353
+ attr_accessor :prevent_drift
354
+ alias_method :prevent_drift?, :prevent_drift
298
355
 
299
356
  # Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured”
300
357
  # mode.
@@ -308,8 +365,9 @@ module Google
308
365
 
309
366
  # Update properties of this object
310
367
  def update!(**args)
368
+ @enabled = args[:enabled] if args.key?(:enabled)
311
369
  @git = args[:git] if args.key?(:git)
312
- @resource_requirements = args[:resource_requirements] if args.key?(:resource_requirements)
370
+ @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
313
371
  @source_format = args[:source_format] if args.key?(:source_format)
314
372
  end
315
373
  end
@@ -455,42 +513,6 @@ module Google
455
513
  end
456
514
  end
457
515
 
458
- # ResourceRequirements allows to override the CPU and memory resource
459
- # requirements of a container.
460
- class ConfigManagementContainerResourceRequirements
461
- include Google::Apis::Core::Hashable
462
-
463
- # Name of the container
464
- # Corresponds to the JSON property `containerName`
465
- # @return [String]
466
- attr_accessor :container_name
467
-
468
- # The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
469
- # github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
470
- # pkg/api/resource/generated.proto
471
- # Corresponds to the JSON property `cpuLimit`
472
- # @return [Google::Apis::GkehubV1beta::ConfigManagementQuantity]
473
- attr_accessor :cpu_limit
474
-
475
- # The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
476
- # github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
477
- # pkg/api/resource/generated.proto
478
- # Corresponds to the JSON property `memoryLimit`
479
- # @return [Google::Apis::GkehubV1beta::ConfigManagementQuantity]
480
- attr_accessor :memory_limit
481
-
482
- def initialize(**args)
483
- update!(**args)
484
- end
485
-
486
- # Update properties of this object
487
- def update!(**args)
488
- @container_name = args[:container_name] if args.key?(:container_name)
489
- @cpu_limit = args[:cpu_limit] if args.key?(:cpu_limit)
490
- @memory_limit = args[:memory_limit] if args.key?(:memory_limit)
491
- end
492
- end
493
-
494
516
  # Model for a config file in the git repo with an associated Sync error
495
517
  class ConfigManagementErrorResource
496
518
  include Google::Apis::Core::Hashable
@@ -568,19 +590,15 @@ module Google
568
590
  # @return [String]
569
591
  attr_accessor :https_proxy
570
592
 
571
- # Enable or disable the SSL certificate verification Default: false.
572
- # Corresponds to the JSON property `noSslVerify`
573
- # @return [Boolean]
574
- attr_accessor :no_ssl_verify
575
- alias_method :no_ssl_verify?, :no_ssl_verify
576
-
577
593
  # The path within the Git repository that represents the top level of the repo
578
594
  # to sync. Default: the root directory of the repository.
579
595
  # Corresponds to the JSON property `policyDir`
580
596
  # @return [String]
581
597
  attr_accessor :policy_dir
582
598
 
583
- # Type of secret configured for access to the Git repo.
599
+ # Type of secret configured for access to the Git repo. Must be one of ssh,
600
+ # cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this
601
+ # is case-sensitive. Required.
584
602
  # Corresponds to the JSON property `secretType`
585
603
  # @return [String]
586
604
  attr_accessor :secret_type
@@ -590,11 +608,6 @@ module Google
590
608
  # @return [String]
591
609
  attr_accessor :sync_branch
592
610
 
593
- # The depth of git commits synced by the git-sync container.
594
- # Corresponds to the JSON property `syncDepth`
595
- # @return [Fixnum]
596
- attr_accessor :sync_depth
597
-
598
611
  # The URL of the Git repository to use as the source of truth.
599
612
  # Corresponds to the JSON property `syncRepo`
600
613
  # @return [String]
@@ -618,11 +631,9 @@ module Google
618
631
  def update!(**args)
619
632
  @gcp_service_account_email = args[:gcp_service_account_email] if args.key?(:gcp_service_account_email)
620
633
  @https_proxy = args[:https_proxy] if args.key?(:https_proxy)
621
- @no_ssl_verify = args[:no_ssl_verify] if args.key?(:no_ssl_verify)
622
634
  @policy_dir = args[:policy_dir] if args.key?(:policy_dir)
623
635
  @secret_type = args[:secret_type] if args.key?(:secret_type)
624
636
  @sync_branch = args[:sync_branch] if args.key?(:sync_branch)
625
- @sync_depth = args[:sync_depth] if args.key?(:sync_depth)
626
637
  @sync_repo = args[:sync_repo] if args.key?(:sync_repo)
627
638
  @sync_rev = args[:sync_rev] if args.key?(:sync_rev)
628
639
  @sync_wait_secs = args[:sync_wait_secs] if args.key?(:sync_wait_secs)
@@ -1024,27 +1035,6 @@ module Google
1024
1035
  end
1025
1036
  end
1026
1037
 
1027
- # The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
1028
- # github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
1029
- # pkg/api/resource/generated.proto
1030
- class ConfigManagementQuantity
1031
- include Google::Apis::Core::Hashable
1032
-
1033
- # Stringified version of the quantity, e.g., "800 MiB".
1034
- # Corresponds to the JSON property `string`
1035
- # @return [String]
1036
- attr_accessor :string
1037
-
1038
- def initialize(**args)
1039
- update!(**args)
1040
- end
1041
-
1042
- # Update properties of this object
1043
- def update!(**args)
1044
- @string = args[:string] if args.key?(:string)
1045
- end
1046
- end
1047
-
1048
1038
  # An ACM created error representing a problem syncing configurations
1049
1039
  class ConfigManagementSyncError
1050
1040
  include Google::Apis::Core::Hashable
@@ -1717,6 +1707,11 @@ module Google
1717
1707
  class MembershipFeatureState
1718
1708
  include Google::Apis::Core::Hashable
1719
1709
 
1710
+ # State for App Dev Exp Feature.
1711
+ # Corresponds to the JSON property `appdevexperience`
1712
+ # @return [Google::Apis::GkehubV1beta::AppDevExperienceFeatureState]
1713
+ attr_accessor :appdevexperience
1714
+
1720
1715
  # **Anthos Config Management**: State for a single cluster.
1721
1716
  # Corresponds to the JSON property `configmanagement`
1722
1717
  # @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipState]
@@ -1745,6 +1740,7 @@ module Google
1745
1740
 
1746
1741
  # Update properties of this object
1747
1742
  def update!(**args)
1743
+ @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
1748
1744
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
1749
1745
  @identityservice = args[:identityservice] if args.key?(:identityservice)
1750
1746
  @metering = args[:metering] if args.key?(:metering)
@@ -1930,31 +1926,31 @@ module Google
1930
1926
 
1931
1927
  # An Identity and Access Management (IAM) policy, which specifies access
1932
1928
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1933
- # A `binding` binds one or more `members` to a single `role`. Members can be
1934
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1935
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1936
- # role or a user-created custom role. For some types of Google Cloud resources,
1937
- # a `binding` can also specify a `condition`, which is a logical expression that
1938
- # allows access to a resource only if the expression evaluates to `true`. A
1939
- # condition can add constraints based on attributes of the request, the resource,
1940
- # or both. To learn which resources support conditions in their IAM policies,
1941
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1942
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1943
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1944
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1945
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1946
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1947
- # title": "expirable access", "description": "Does not grant access after Sep
1948
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1949
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1950
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1951
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1952
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1953
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1954
- # description: Does not grant access after Sep 2020 expression: request.time <
1955
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1956
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1957
- # google.com/iam/docs/).
1929
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1930
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1931
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1932
+ # an IAM predefined role or a user-created custom role. For some types of Google
1933
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1934
+ # logical expression that allows access to a resource only if the expression
1935
+ # evaluates to `true`. A condition can add constraints based on attributes of
1936
+ # the request, the resource, or both. To learn which resources support
1937
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1938
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1939
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1940
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1941
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1942
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1943
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1944
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1945
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1946
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1947
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1948
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1949
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1950
+ # access description: Does not grant access after Sep 2020 expression: request.
1951
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1952
+ # a description of IAM and its features, see the [IAM documentation](https://
1953
+ # cloud.google.com/iam/docs/).
1958
1954
  class Policy
1959
1955
  include Google::Apis::Core::Hashable
1960
1956
 
@@ -1963,9 +1959,14 @@ module Google
1963
1959
  # @return [Array<Google::Apis::GkehubV1beta::AuditConfig>]
1964
1960
  attr_accessor :audit_configs
1965
1961
 
1966
- # Associates a list of `members` to a `role`. Optionally, may specify a `
1967
- # condition` that determines how and when the `bindings` are applied. Each of
1968
- # the `bindings` must contain at least one member.
1962
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
1963
+ # specify a `condition` that determines how and when the `bindings` are applied.
1964
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
1965
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
1966
+ # can be Google groups. Each occurrence of a principal counts towards these
1967
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
1968
+ # example.com`, and not to any other principal, then you can add another 1,450
1969
+ # principals to the `bindings` in the `Policy`.
1969
1970
  # Corresponds to the JSON property `bindings`
1970
1971
  # @return [Array<Google::Apis::GkehubV1beta::Binding>]
1971
1972
  attr_accessor :bindings
@@ -2024,31 +2025,31 @@ module Google
2024
2025
 
2025
2026
  # An Identity and Access Management (IAM) policy, which specifies access
2026
2027
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2027
- # A `binding` binds one or more `members` to a single `role`. Members can be
2028
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
2029
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
2030
- # role or a user-created custom role. For some types of Google Cloud resources,
2031
- # a `binding` can also specify a `condition`, which is a logical expression that
2032
- # allows access to a resource only if the expression evaluates to `true`. A
2033
- # condition can add constraints based on attributes of the request, the resource,
2034
- # or both. To learn which resources support conditions in their IAM policies,
2035
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
2036
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
2037
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
2038
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
2039
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
2040
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
2041
- # title": "expirable access", "description": "Does not grant access after Sep
2042
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
2043
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
2044
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
2045
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
2046
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2047
- # roles/resourcemanager.organizationViewer condition: title: expirable access
2048
- # description: Does not grant access after Sep 2020 expression: request.time <
2049
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
2050
- # description of IAM and its features, see the [IAM documentation](https://cloud.
2051
- # google.com/iam/docs/).
2028
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
2029
+ # Principals can be user accounts, service accounts, Google groups, and domains (
2030
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
2031
+ # an IAM predefined role or a user-created custom role. For some types of Google
2032
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
2033
+ # logical expression that allows access to a resource only if the expression
2034
+ # evaluates to `true`. A condition can add constraints based on attributes of
2035
+ # the request, the resource, or both. To learn which resources support
2036
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2037
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
2038
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
2039
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
2040
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
2041
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
2042
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
2043
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
2044
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
2045
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
2046
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
2047
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
2048
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
2049
+ # access description: Does not grant access after Sep 2020 expression: request.
2050
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
2051
+ # a description of IAM and its features, see the [IAM documentation](https://
2052
+ # cloud.google.com/iam/docs/).
2052
2053
  # Corresponds to the JSON property `policy`
2053
2054
  # @return [Google::Apis::GkehubV1beta::Policy]
2054
2055
  attr_accessor :policy
@@ -2071,6 +2072,31 @@ module Google
2071
2072
  end
2072
2073
  end
2073
2074
 
2075
+ # Status specifies state for the subcomponent.
2076
+ class Status
2077
+ include Google::Apis::Core::Hashable
2078
+
2079
+ # Code specifies AppDevExperienceFeature's subcomponent ready state.
2080
+ # Corresponds to the JSON property `code`
2081
+ # @return [String]
2082
+ attr_accessor :code
2083
+
2084
+ # Description is populated if Code is Failed, explaining why it has failed.
2085
+ # Corresponds to the JSON property `description`
2086
+ # @return [String]
2087
+ attr_accessor :description
2088
+
2089
+ def initialize(**args)
2090
+ update!(**args)
2091
+ end
2092
+
2093
+ # Update properties of this object
2094
+ def update!(**args)
2095
+ @code = args[:code] if args.key?(:code)
2096
+ @description = args[:description] if args.key?(:description)
2097
+ end
2098
+ end
2099
+
2074
2100
  # Request message for `TestIamPermissions` method.
2075
2101
  class TestIamPermissionsRequest
2076
2102
  include Google::Apis::Core::Hashable
@@ -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.10.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 = "20210920"
25
+ REVISION = "20211105"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module GkehubV1beta
24
24
 
25
+ class AppDevExperienceFeatureSpec
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AppDevExperienceFeatureState
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class AuditConfig
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -100,12 +112,6 @@ module Google
100
112
  include Google::Apis::Core::JsonObjectSupport
101
113
  end
102
114
 
103
- class ConfigManagementContainerResourceRequirements
104
- class Representation < Google::Apis::Core::JsonRepresentation; end
105
-
106
- include Google::Apis::Core::JsonObjectSupport
107
- end
108
-
109
115
  class ConfigManagementErrorResource
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -196,12 +202,6 @@ module Google
196
202
  include Google::Apis::Core::JsonObjectSupport
197
203
  end
198
204
 
199
- class ConfigManagementQuantity
200
- class Representation < Google::Apis::Core::JsonRepresentation; end
201
-
202
- include Google::Apis::Core::JsonObjectSupport
203
- end
204
-
205
205
  class ConfigManagementSyncError
206
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
207
 
@@ -346,6 +346,12 @@ module Google
346
346
  include Google::Apis::Core::JsonObjectSupport
347
347
  end
348
348
 
349
+ class Status
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
349
355
  class TestIamPermissionsRequest
350
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
357
 
@@ -358,6 +364,20 @@ module Google
358
364
  include Google::Apis::Core::JsonObjectSupport
359
365
  end
360
366
 
367
+ class AppDevExperienceFeatureSpec
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ end
371
+ end
372
+
373
+ class AppDevExperienceFeatureState
374
+ # @private
375
+ class Representation < Google::Apis::Core::JsonRepresentation
376
+ property :networking_install_succeeded, as: 'networkingInstallSucceeded', class: Google::Apis::GkehubV1beta::Status, decorator: Google::Apis::GkehubV1beta::Status::Representation
377
+
378
+ end
379
+ end
380
+
361
381
  class AuditConfig
362
382
  # @private
363
383
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -394,6 +414,8 @@ module Google
394
414
  class CommonFeatureSpec
395
415
  # @private
396
416
  class Representation < Google::Apis::Core::JsonRepresentation
417
+ property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1beta::AppDevExperienceFeatureSpec, decorator: Google::Apis::GkehubV1beta::AppDevExperienceFeatureSpec::Representation
418
+
397
419
  property :multiclusteringress, as: 'multiclusteringress', class: Google::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec, decorator: Google::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec::Representation
398
420
 
399
421
  end
@@ -402,6 +424,8 @@ module Google
402
424
  class CommonFeatureState
403
425
  # @private
404
426
  class Representation < Google::Apis::Core::JsonRepresentation
427
+ property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1beta::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1beta::AppDevExperienceFeatureState::Representation
428
+
405
429
  property :state, as: 'state', class: Google::Apis::GkehubV1beta::FeatureState, decorator: Google::Apis::GkehubV1beta::FeatureState::Representation
406
430
 
407
431
  end
@@ -433,10 +457,10 @@ module Google
433
457
  class ConfigManagementConfigSync
434
458
  # @private
435
459
  class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :enabled, as: 'enabled'
436
461
  property :git, as: 'git', class: Google::Apis::GkehubV1beta::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementGitConfig::Representation
437
462
 
438
- hash :resource_requirements, as: 'resourceRequirements', class: Google::Apis::GkehubV1beta::ConfigManagementContainerResourceRequirements, decorator: Google::Apis::GkehubV1beta::ConfigManagementContainerResourceRequirements::Representation
439
-
463
+ property :prevent_drift, as: 'preventDrift'
440
464
  property :source_format, as: 'sourceFormat'
441
465
  end
442
466
  end
@@ -479,17 +503,6 @@ module Google
479
503
  end
480
504
  end
481
505
 
482
- class ConfigManagementContainerResourceRequirements
483
- # @private
484
- class Representation < Google::Apis::Core::JsonRepresentation
485
- property :container_name, as: 'containerName'
486
- property :cpu_limit, as: 'cpuLimit', class: Google::Apis::GkehubV1beta::ConfigManagementQuantity, decorator: Google::Apis::GkehubV1beta::ConfigManagementQuantity::Representation
487
-
488
- property :memory_limit, as: 'memoryLimit', class: Google::Apis::GkehubV1beta::ConfigManagementQuantity, decorator: Google::Apis::GkehubV1beta::ConfigManagementQuantity::Representation
489
-
490
- end
491
- end
492
-
493
506
  class ConfigManagementErrorResource
494
507
  # @private
495
508
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -514,11 +527,9 @@ module Google
514
527
  class Representation < Google::Apis::Core::JsonRepresentation
515
528
  property :gcp_service_account_email, as: 'gcpServiceAccountEmail'
516
529
  property :https_proxy, as: 'httpsProxy'
517
- property :no_ssl_verify, as: 'noSslVerify'
518
530
  property :policy_dir, as: 'policyDir'
519
531
  property :secret_type, as: 'secretType'
520
532
  property :sync_branch, as: 'syncBranch'
521
- property :sync_depth, :numeric_string => true, as: 'syncDepth'
522
533
  property :sync_repo, as: 'syncRepo'
523
534
  property :sync_rev, as: 'syncRev'
524
535
  property :sync_wait_secs, :numeric_string => true, as: 'syncWaitSecs'
@@ -649,13 +660,6 @@ module Google
649
660
  end
650
661
  end
651
662
 
652
- class ConfigManagementQuantity
653
- # @private
654
- class Representation < Google::Apis::Core::JsonRepresentation
655
- property :string, as: 'string'
656
- end
657
- end
658
-
659
663
  class ConfigManagementSyncError
660
664
  # @private
661
665
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -839,6 +843,8 @@ module Google
839
843
  class MembershipFeatureState
840
844
  # @private
841
845
  class Representation < Google::Apis::Core::JsonRepresentation
846
+ property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1beta::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1beta::AppDevExperienceFeatureState::Representation
847
+
842
848
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1beta::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1beta::ConfigManagementMembershipState::Representation
843
849
 
844
850
  property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipState, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipState::Representation
@@ -912,6 +918,14 @@ module Google
912
918
  end
913
919
  end
914
920
 
921
+ class Status
922
+ # @private
923
+ class Representation < Google::Apis::Core::JsonRepresentation
924
+ property :code, as: 'code'
925
+ property :description, as: 'description'
926
+ end
927
+ end
928
+
915
929
  class TestIamPermissionsRequest
916
930
  # @private
917
931
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -254,13 +254,16 @@ module Google
254
254
  # REQUIRED: The resource for which the policy is being requested. See the
255
255
  # operation documentation for the appropriate value for this field.
256
256
  # @param [Fixnum] options_requested_policy_version
257
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
258
- # 3. Requests specifying an invalid value will be rejected. Requests for
259
- # policies with any conditional bindings must specify version 3. Policies
260
- # without any conditional bindings may specify any valid value or leave the
261
- # field unset. To learn which resources support conditions in their IAM policies,
262
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
263
- # resource-policies).
257
+ # Optional. The maximum policy version that will be used to format the policy.
258
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
259
+ # rejected. Requests for policies with any conditional role bindings must
260
+ # specify version 3. Policies with no conditional role bindings may specify any
261
+ # valid value or leave the field unset. The policy in the response might use the
262
+ # policy version that you specified, or it might use a lower policy version. For
263
+ # example, if you specify version 3, but the policy has no conditional role
264
+ # bindings, the response uses version 1. To learn which resources support
265
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
266
+ # google.com/iam/help/conditions/resource-policies).
264
267
  # @param [String] fields
265
268
  # Selector specifying which fields to include in a partial response.
266
269
  # @param [String] quota_user
@@ -468,13 +471,16 @@ module Google
468
471
  # REQUIRED: The resource for which the policy is being requested. See the
469
472
  # operation documentation for the appropriate value for this field.
470
473
  # @param [Fixnum] options_requested_policy_version
471
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
472
- # 3. Requests specifying an invalid value will be rejected. Requests for
473
- # policies with any conditional bindings must specify version 3. Policies
474
- # without any conditional bindings may specify any valid value or leave the
475
- # field unset. To learn which resources support conditions in their IAM policies,
476
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
477
- # resource-policies).
474
+ # Optional. The maximum policy version that will be used to format the policy.
475
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
476
+ # rejected. Requests for policies with any conditional role bindings must
477
+ # specify version 3. Policies with no conditional role bindings may specify any
478
+ # valid value or leave the field unset. The policy in the response might use the
479
+ # policy version that you specified, or it might use a lower policy version. For
480
+ # example, if you specify version 3, but the policy has no conditional role
481
+ # bindings, the response uses version 1. To learn which resources support
482
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
483
+ # google.com/iam/help/conditions/resource-policies).
478
484
  # @param [String] fields
479
485
  # Selector specifying which fields to include in a partial response.
480
486
  # @param [String] quota_user
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.10.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-09-27 00:00:00.000000000 Z
11
+ date: 2021-11-15 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.10.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.14.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: