google-apis-gkehub_v1beta 0.11.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/gkehub_v1beta/classes.rb +160 -58
- data/lib/google/apis/gkehub_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/gkehub_v1beta/representations.rb +48 -0
- data/lib/google/apis/gkehub_v1beta/service.rb +20 -14
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd291b6e626e0b7e15b759f6bafb4eb650b64a4952fa7c7b2f4333f5eab29001
|
4
|
+
data.tar.gz: e8ae6502f6d1f2785ff2514e93c2e9a662665b132e1ebae3a5eef9a2b32d736b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3afa6a1595bacf04e4f7de5c7804a5ab00f0c713a865cfb2c0c9ef838e0f66790ec40d2cec7876bda95af6b3bf14888ee71c1c49700f91f9764a6c2069fce319
|
7
|
+
data.tar.gz: d8f40008ef965ae036abfba1c191ae76a6450fbd87771639718ecc490a4132b1848715870663e4dc24eb6b37a42b06577e984acc7a3b9b869dfa897b5c04f879
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1beta
|
2
2
|
|
3
|
+
### v0.15.0 (2021-12-16)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.14.0 (2021-11-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211105
|
10
|
+
|
11
|
+
### v0.13.0 (2021-10-30)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211021
|
14
|
+
|
15
|
+
### v0.12.0 (2021-10-24)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211015
|
18
|
+
* Unspecified changes
|
19
|
+
|
3
20
|
### v0.11.0 (2021-10-04)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210927
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/gkehub_v1beta"
|
|
51
51
|
client = Google::Apis::GkehubV1beta::GKEHubService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
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/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
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
|
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
|
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
|
150
|
-
#
|
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,11 +330,29 @@ 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
|
|
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
|
355
|
+
|
294
356
|
# Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured”
|
295
357
|
# mode.
|
296
358
|
# Corresponds to the JSON property `sourceFormat`
|
@@ -303,7 +365,9 @@ module Google
|
|
303
365
|
|
304
366
|
# Update properties of this object
|
305
367
|
def update!(**args)
|
368
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
306
369
|
@git = args[:git] if args.key?(:git)
|
370
|
+
@prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
|
307
371
|
@source_format = args[:source_format] if args.key?(:source_format)
|
308
372
|
end
|
309
373
|
end
|
@@ -532,7 +596,9 @@ module Google
|
|
532
596
|
# @return [String]
|
533
597
|
attr_accessor :policy_dir
|
534
598
|
|
535
|
-
# 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.
|
536
602
|
# Corresponds to the JSON property `secretType`
|
537
603
|
# @return [String]
|
538
604
|
attr_accessor :secret_type
|
@@ -1641,6 +1707,11 @@ module Google
|
|
1641
1707
|
class MembershipFeatureState
|
1642
1708
|
include Google::Apis::Core::Hashable
|
1643
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
|
+
|
1644
1715
|
# **Anthos Config Management**: State for a single cluster.
|
1645
1716
|
# Corresponds to the JSON property `configmanagement`
|
1646
1717
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipState]
|
@@ -1669,6 +1740,7 @@ module Google
|
|
1669
1740
|
|
1670
1741
|
# Update properties of this object
|
1671
1742
|
def update!(**args)
|
1743
|
+
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
1672
1744
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
1673
1745
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
1674
1746
|
@metering = args[:metering] if args.key?(:metering)
|
@@ -1854,31 +1926,31 @@ module Google
|
|
1854
1926
|
|
1855
1927
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1856
1928
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1857
|
-
# A `binding` binds one or more `members
|
1858
|
-
# user accounts, service accounts, Google groups, and domains (
|
1859
|
-
# A `role` is a named list of permissions; each `role` can be
|
1860
|
-
# role or a user-created custom role. For some types of Google
|
1861
|
-
# a `binding` can also specify a `condition`, which is a
|
1862
|
-
# allows access to a resource only if the expression
|
1863
|
-
# condition can add constraints based on attributes of
|
1864
|
-
# or both. To learn which resources support
|
1865
|
-
# see the [IAM documentation](https://cloud.
|
1866
|
-
# resource-policies). **JSON example:** ` "
|
1867
|
-
# resourcemanager.organizationAdmin", "members": [
|
1868
|
-
# group:admins@example.com", "domain:google.com", "
|
1869
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1870
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1871
|
-
# title": "expirable access", "description": "Does not grant
|
1872
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1873
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1874
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1875
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1876
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1877
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1878
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1879
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1880
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1881
|
-
# 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/).
|
1882
1954
|
class Policy
|
1883
1955
|
include Google::Apis::Core::Hashable
|
1884
1956
|
|
@@ -1887,9 +1959,14 @@ module Google
|
|
1887
1959
|
# @return [Array<Google::Apis::GkehubV1beta::AuditConfig>]
|
1888
1960
|
attr_accessor :audit_configs
|
1889
1961
|
|
1890
|
-
# Associates a list of `members
|
1891
|
-
# condition` that determines how and when the `bindings` are applied.
|
1892
|
-
# the `bindings` must contain at least one
|
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`.
|
1893
1970
|
# Corresponds to the JSON property `bindings`
|
1894
1971
|
# @return [Array<Google::Apis::GkehubV1beta::Binding>]
|
1895
1972
|
attr_accessor :bindings
|
@@ -1948,31 +2025,31 @@ module Google
|
|
1948
2025
|
|
1949
2026
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1950
2027
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1951
|
-
# A `binding` binds one or more `members
|
1952
|
-
# user accounts, service accounts, Google groups, and domains (
|
1953
|
-
# A `role` is a named list of permissions; each `role` can be
|
1954
|
-
# role or a user-created custom role. For some types of Google
|
1955
|
-
# a `binding` can also specify a `condition`, which is a
|
1956
|
-
# allows access to a resource only if the expression
|
1957
|
-
# condition can add constraints based on attributes of
|
1958
|
-
# or both. To learn which resources support
|
1959
|
-
# see the [IAM documentation](https://cloud.
|
1960
|
-
# resource-policies). **JSON example:** ` "
|
1961
|
-
# resourcemanager.organizationAdmin", "members": [
|
1962
|
-
# group:admins@example.com", "domain:google.com", "
|
1963
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1964
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1965
|
-
# title": "expirable access", "description": "Does not grant
|
1966
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1967
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1968
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1969
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1970
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1971
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1972
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1973
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1974
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1975
|
-
# 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/).
|
1976
2053
|
# Corresponds to the JSON property `policy`
|
1977
2054
|
# @return [Google::Apis::GkehubV1beta::Policy]
|
1978
2055
|
attr_accessor :policy
|
@@ -1995,6 +2072,31 @@ module Google
|
|
1995
2072
|
end
|
1996
2073
|
end
|
1997
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
|
+
|
1998
2100
|
# Request message for `TestIamPermissions` method.
|
1999
2101
|
class TestIamPermissionsRequest
|
2000
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.
|
19
|
+
GEM_VERSION = "0.15.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 = "
|
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
|
|
@@ -334,6 +346,12 @@ module Google
|
|
334
346
|
include Google::Apis::Core::JsonObjectSupport
|
335
347
|
end
|
336
348
|
|
349
|
+
class Status
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
337
355
|
class TestIamPermissionsRequest
|
338
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
357
|
|
@@ -346,6 +364,20 @@ module Google
|
|
346
364
|
include Google::Apis::Core::JsonObjectSupport
|
347
365
|
end
|
348
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
|
+
|
349
381
|
class AuditConfig
|
350
382
|
# @private
|
351
383
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -382,6 +414,8 @@ module Google
|
|
382
414
|
class CommonFeatureSpec
|
383
415
|
# @private
|
384
416
|
class Representation < Google::Apis::Core::JsonRepresentation
|
417
|
+
property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1beta::AppDevExperienceFeatureSpec, decorator: Google::Apis::GkehubV1beta::AppDevExperienceFeatureSpec::Representation
|
418
|
+
|
385
419
|
property :multiclusteringress, as: 'multiclusteringress', class: Google::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec, decorator: Google::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec::Representation
|
386
420
|
|
387
421
|
end
|
@@ -390,6 +424,8 @@ module Google
|
|
390
424
|
class CommonFeatureState
|
391
425
|
# @private
|
392
426
|
class Representation < Google::Apis::Core::JsonRepresentation
|
427
|
+
property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1beta::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1beta::AppDevExperienceFeatureState::Representation
|
428
|
+
|
393
429
|
property :state, as: 'state', class: Google::Apis::GkehubV1beta::FeatureState, decorator: Google::Apis::GkehubV1beta::FeatureState::Representation
|
394
430
|
|
395
431
|
end
|
@@ -421,8 +457,10 @@ module Google
|
|
421
457
|
class ConfigManagementConfigSync
|
422
458
|
# @private
|
423
459
|
class Representation < Google::Apis::Core::JsonRepresentation
|
460
|
+
property :enabled, as: 'enabled'
|
424
461
|
property :git, as: 'git', class: Google::Apis::GkehubV1beta::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementGitConfig::Representation
|
425
462
|
|
463
|
+
property :prevent_drift, as: 'preventDrift'
|
426
464
|
property :source_format, as: 'sourceFormat'
|
427
465
|
end
|
428
466
|
end
|
@@ -805,6 +843,8 @@ module Google
|
|
805
843
|
class MembershipFeatureState
|
806
844
|
# @private
|
807
845
|
class Representation < Google::Apis::Core::JsonRepresentation
|
846
|
+
property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1beta::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1beta::AppDevExperienceFeatureState::Representation
|
847
|
+
|
808
848
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1beta::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1beta::ConfigManagementMembershipState::Representation
|
809
849
|
|
810
850
|
property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipState, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipState::Representation
|
@@ -878,6 +918,14 @@ module Google
|
|
878
918
|
end
|
879
919
|
end
|
880
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
|
+
|
881
929
|
class TestIamPermissionsRequest
|
882
930
|
# @private
|
883
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
|
258
|
-
# 3. Requests specifying an invalid value will be
|
259
|
-
# policies with any conditional bindings must
|
260
|
-
#
|
261
|
-
# field unset.
|
262
|
-
#
|
263
|
-
#
|
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
|
472
|
-
# 3. Requests specifying an invalid value will be
|
473
|
-
# policies with any conditional bindings must
|
474
|
-
#
|
475
|
-
# field unset.
|
476
|
-
#
|
477
|
-
#
|
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.
|
4
|
+
version: 0.15.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:
|
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/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.15.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:
|
@@ -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.
|
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 V1beta
|