google-apis-gkehub_v1beta 0.8.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: dfa2446fab614dfc8b6fd4c7f8b11436f5cce619c2f6dddef4056795839cc1b8
4
- data.tar.gz: 786f857a074a0363ffc44068806feeff623af64b7c58681816eb3b1860c99980
3
+ metadata.gz: c6ad31cb85a1ecccb548ac6a22d5f638191e2bd699643b393586b09e90270a88
4
+ data.tar.gz: 6f5652b33ea21250ca9d6d00b716985d7c24926927df707a170fae2ecd8c2ca1
5
5
  SHA512:
6
- metadata.gz: 5b5960191ecf66fbf367ed3959c64fba5338fa744e883a97d78027e2365115d382307a7f91030f7c009a18a77b184c952314d9e2a7ebf4751a4f3afc09a479cf
7
- data.tar.gz: 549f8e767becb28e99a500b83d17b50f662bb728739d46db32d8d06b9bbfb0c71a7355c605522eac25ef7eae0f509edffeb48f25955e79d7b1f376d339238130
6
+ metadata.gz: 90fb01a5699b464e298654c729f7ce522cc93a2cc3bbb54da6a3bffb1574ace47e56b21a7a4455dd1ee7c48eb12fd0a98db4d4805e16161dbfeca116b3bb8598
7
+ data.tar.gz: 992461c1a62ed3f4c02746e1e40ac95812127e0b2b6fbd4b9c9ac7456561ac801159b8e328a91eeb4b0f479b8eb050432019b6f8ca01a2cec0a3f6885350d193
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
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
+
8
+ ### v0.11.0 (2021-10-04)
9
+
10
+ * Regenerated from discovery document revision 20210927
11
+
12
+ ### v0.10.0 (2021-09-26)
13
+
14
+ * Regenerated from discovery document revision 20210920
15
+
16
+ ### v0.9.0 (2021-08-21)
17
+
18
+ * Regenerated from discovery document revision 20210813
19
+
3
20
  ### v0.8.0 (2021-08-04)
4
21
 
5
22
  * Regenerated from discovery document revision 20210729
data/OVERVIEW.md CHANGED
@@ -1,6 +1,6 @@
1
- # Simple REST client for version V1beta of the GKE Hub
1
+ # Simple REST client for version V1beta of the GKE Hub API
2
2
 
3
- This is a simple client library for version V1beta of the GKE Hub. It provides:
3
+ This is a simple client library for version V1beta of the GKE Hub API. It provides:
4
4
 
5
5
  * A client object that connects to the HTTP/JSON REST endpoint for the service.
6
6
  * Ruby objects for data structures related to the service.
@@ -60,12 +60,12 @@ 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
 
68
- For reference information on specific calls in the GKE Hub, see the {Google::Apis::GkehubV1beta::GKEHubService class reference docs}.
68
+ For reference information on specific calls in the GKE Hub API, see the {Google::Apis::GkehubV1beta::GKEHubService class reference docs}.
69
69
 
70
70
  ## Which client should I use?
71
71
 
@@ -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
@@ -312,6 +323,11 @@ module Google
312
323
  class ConfigManagementConfigSyncDeploymentState
313
324
  include Google::Apis::Core::Hashable
314
325
 
326
+ # Deployment state of admission-webhook
327
+ # Corresponds to the JSON property `admissionWebhook`
328
+ # @return [String]
329
+ attr_accessor :admission_webhook
330
+
315
331
  # Deployment state of the git-sync pod
316
332
  # Corresponds to the JSON property `gitSync`
317
333
  # @return [String]
@@ -348,6 +364,7 @@ module Google
348
364
 
349
365
  # Update properties of this object
350
366
  def update!(**args)
367
+ @admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
351
368
  @git_sync = args[:git_sync] if args.key?(:git_sync)
352
369
  @importer = args[:importer] if args.key?(:importer)
353
370
  @monitor = args[:monitor] if args.key?(:monitor)
@@ -392,6 +409,11 @@ module Google
392
409
  class ConfigManagementConfigSyncVersion
393
410
  include Google::Apis::Core::Hashable
394
411
 
412
+ # Version of the deployed admission_webhook pod
413
+ # Corresponds to the JSON property `admissionWebhook`
414
+ # @return [String]
415
+ attr_accessor :admission_webhook
416
+
395
417
  # Version of the deployed git-sync pod
396
418
  # Corresponds to the JSON property `gitSync`
397
419
  # @return [String]
@@ -428,6 +450,7 @@ module Google
428
450
 
429
451
  # Update properties of this object
430
452
  def update!(**args)
453
+ @admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
431
454
  @git_sync = args[:git_sync] if args.key?(:git_sync)
432
455
  @importer = args[:importer] if args.key?(:importer)
433
456
  @monitor = args[:monitor] if args.key?(:monitor)
@@ -1302,6 +1325,178 @@ module Google
1302
1325
  end
1303
1326
  end
1304
1327
 
1328
+ # Configuration of an auth method for a member/cluster. Only one authentication
1329
+ # method (e.g., OIDC and LDAP) can be set per AuthMethod.
1330
+ class IdentityServiceAuthMethod
1331
+ include Google::Apis::Core::Hashable
1332
+
1333
+ # Identifier for auth config.
1334
+ # Corresponds to the JSON property `name`
1335
+ # @return [String]
1336
+ attr_accessor :name
1337
+
1338
+ # Configuration for OIDC Auth flow.
1339
+ # Corresponds to the JSON property `oidcConfig`
1340
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceOidcConfig]
1341
+ attr_accessor :oidc_config
1342
+
1343
+ # Proxy server address to use for auth method.
1344
+ # Corresponds to the JSON property `proxy`
1345
+ # @return [String]
1346
+ attr_accessor :proxy
1347
+
1348
+ def initialize(**args)
1349
+ update!(**args)
1350
+ end
1351
+
1352
+ # Update properties of this object
1353
+ def update!(**args)
1354
+ @name = args[:name] if args.key?(:name)
1355
+ @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
1356
+ @proxy = args[:proxy] if args.key?(:proxy)
1357
+ end
1358
+ end
1359
+
1360
+ # **Anthos Identity Service**: Configuration for a single Membership.
1361
+ class IdentityServiceMembershipSpec
1362
+ include Google::Apis::Core::Hashable
1363
+
1364
+ # A member may support multiple auth methods.
1365
+ # Corresponds to the JSON property `authMethods`
1366
+ # @return [Array<Google::Apis::GkehubV1beta::IdentityServiceAuthMethod>]
1367
+ attr_accessor :auth_methods
1368
+
1369
+ def initialize(**args)
1370
+ update!(**args)
1371
+ end
1372
+
1373
+ # Update properties of this object
1374
+ def update!(**args)
1375
+ @auth_methods = args[:auth_methods] if args.key?(:auth_methods)
1376
+ end
1377
+ end
1378
+
1379
+ # **Anthos Identity Service**: State for a single Membership.
1380
+ class IdentityServiceMembershipState
1381
+ include Google::Apis::Core::Hashable
1382
+
1383
+ # The reason of the failure.
1384
+ # Corresponds to the JSON property `failureReason`
1385
+ # @return [String]
1386
+ attr_accessor :failure_reason
1387
+
1388
+ # Installed AIS version. This is the AIS version installed on this member. The
1389
+ # values makes sense iff state is OK.
1390
+ # Corresponds to the JSON property `installedVersion`
1391
+ # @return [String]
1392
+ attr_accessor :installed_version
1393
+
1394
+ # **Anthos Identity Service**: Configuration for a single Membership.
1395
+ # Corresponds to the JSON property `memberConfig`
1396
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec]
1397
+ attr_accessor :member_config
1398
+
1399
+ # Deployment state on this member
1400
+ # Corresponds to the JSON property `state`
1401
+ # @return [String]
1402
+ attr_accessor :state
1403
+
1404
+ def initialize(**args)
1405
+ update!(**args)
1406
+ end
1407
+
1408
+ # Update properties of this object
1409
+ def update!(**args)
1410
+ @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
1411
+ @installed_version = args[:installed_version] if args.key?(:installed_version)
1412
+ @member_config = args[:member_config] if args.key?(:member_config)
1413
+ @state = args[:state] if args.key?(:state)
1414
+ end
1415
+ end
1416
+
1417
+ # Configuration for OIDC Auth flow.
1418
+ class IdentityServiceOidcConfig
1419
+ include Google::Apis::Core::Hashable
1420
+
1421
+ # PEM-encoded CA for OIDC provider.
1422
+ # Corresponds to the JSON property `certificateAuthorityData`
1423
+ # @return [String]
1424
+ attr_accessor :certificate_authority_data
1425
+
1426
+ # ID for OIDC client application.
1427
+ # Corresponds to the JSON property `clientId`
1428
+ # @return [String]
1429
+ attr_accessor :client_id
1430
+
1431
+ # Flag to denote if reverse proxy is used to connect to auth provider. This flag
1432
+ # should be set to true when provider is not reachable by Google Cloud Console.
1433
+ # Corresponds to the JSON property `deployCloudConsoleProxy`
1434
+ # @return [Boolean]
1435
+ attr_accessor :deploy_cloud_console_proxy
1436
+ alias_method :deploy_cloud_console_proxy?, :deploy_cloud_console_proxy
1437
+
1438
+ # Comma-separated list of key-value pairs.
1439
+ # Corresponds to the JSON property `extraParams`
1440
+ # @return [String]
1441
+ attr_accessor :extra_params
1442
+
1443
+ # Prefix to prepend to group name.
1444
+ # Corresponds to the JSON property `groupPrefix`
1445
+ # @return [String]
1446
+ attr_accessor :group_prefix
1447
+
1448
+ # Claim in OIDC ID token that holds group information.
1449
+ # Corresponds to the JSON property `groupsClaim`
1450
+ # @return [String]
1451
+ attr_accessor :groups_claim
1452
+
1453
+ # URI for the OIDC provider. This should point to the level below .well-known/
1454
+ # openid-configuration.
1455
+ # Corresponds to the JSON property `issuerUri`
1456
+ # @return [String]
1457
+ attr_accessor :issuer_uri
1458
+
1459
+ # Registered redirect uri to redirect users going through OAuth flow using
1460
+ # kubectl plugin.
1461
+ # Corresponds to the JSON property `kubectlRedirectUri`
1462
+ # @return [String]
1463
+ attr_accessor :kubectl_redirect_uri
1464
+
1465
+ # Comma-separated list of identifiers.
1466
+ # Corresponds to the JSON property `scopes`
1467
+ # @return [String]
1468
+ attr_accessor :scopes
1469
+
1470
+ # Claim in OIDC ID token that holds username.
1471
+ # Corresponds to the JSON property `userClaim`
1472
+ # @return [String]
1473
+ attr_accessor :user_claim
1474
+
1475
+ # Prefix to prepend to user name.
1476
+ # Corresponds to the JSON property `userPrefix`
1477
+ # @return [String]
1478
+ attr_accessor :user_prefix
1479
+
1480
+ def initialize(**args)
1481
+ update!(**args)
1482
+ end
1483
+
1484
+ # Update properties of this object
1485
+ def update!(**args)
1486
+ @certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
1487
+ @client_id = args[:client_id] if args.key?(:client_id)
1488
+ @deploy_cloud_console_proxy = args[:deploy_cloud_console_proxy] if args.key?(:deploy_cloud_console_proxy)
1489
+ @extra_params = args[:extra_params] if args.key?(:extra_params)
1490
+ @group_prefix = args[:group_prefix] if args.key?(:group_prefix)
1491
+ @groups_claim = args[:groups_claim] if args.key?(:groups_claim)
1492
+ @issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
1493
+ @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
1494
+ @scopes = args[:scopes] if args.key?(:scopes)
1495
+ @user_claim = args[:user_claim] if args.key?(:user_claim)
1496
+ @user_prefix = args[:user_prefix] if args.key?(:user_prefix)
1497
+ end
1498
+ end
1499
+
1305
1500
  # Response message for the `GkeHub.ListFeatures` method.
1306
1501
  class ListFeaturesResponse
1307
1502
  include Google::Apis::Core::Hashable
@@ -1436,6 +1631,11 @@ module Google
1436
1631
  # @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec]
1437
1632
  attr_accessor :configmanagement
1438
1633
 
1634
+ # **Anthos Identity Service**: Configuration for a single Membership.
1635
+ # Corresponds to the JSON property `identityservice`
1636
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec]
1637
+ attr_accessor :identityservice
1638
+
1439
1639
  def initialize(**args)
1440
1640
  update!(**args)
1441
1641
  end
@@ -1443,6 +1643,7 @@ module Google
1443
1643
  # Update properties of this object
1444
1644
  def update!(**args)
1445
1645
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
1646
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
1446
1647
  end
1447
1648
  end
1448
1649
 
@@ -1456,6 +1657,11 @@ module Google
1456
1657
  # @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipState]
1457
1658
  attr_accessor :configmanagement
1458
1659
 
1660
+ # **Anthos Identity Service**: State for a single Membership.
1661
+ # Corresponds to the JSON property `identityservice`
1662
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceMembershipState]
1663
+ attr_accessor :identityservice
1664
+
1459
1665
  # **Metering**: Per-Membership Feature State.
1460
1666
  # Corresponds to the JSON property `metering`
1461
1667
  # @return [Google::Apis::GkehubV1beta::MeteringMembershipState]
@@ -1475,6 +1681,7 @@ module Google
1475
1681
  # Update properties of this object
1476
1682
  def update!(**args)
1477
1683
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
1684
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
1478
1685
  @metering = args[:metering] if args.key?(:metering)
1479
1686
  @state = args[:state] if args.key?(:state)
1480
1687
  end
@@ -1658,31 +1865,31 @@ module Google
1658
1865
 
1659
1866
  # An Identity and Access Management (IAM) policy, which specifies access
1660
1867
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1661
- # A `binding` binds one or more `members` to a single `role`. Members can be
1662
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1663
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1664
- # role or a user-created custom role. For some types of Google Cloud resources,
1665
- # a `binding` can also specify a `condition`, which is a logical expression that
1666
- # allows access to a resource only if the expression evaluates to `true`. A
1667
- # condition can add constraints based on attributes of the request, the resource,
1668
- # or both. To learn which resources support conditions in their IAM policies,
1669
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1670
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1671
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1672
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1673
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1674
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1675
- # title": "expirable access", "description": "Does not grant access after Sep
1676
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1677
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1678
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1679
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1680
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1681
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1682
- # description: Does not grant access after Sep 2020 expression: request.time <
1683
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1684
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1685
- # 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/).
1686
1893
  class Policy
1687
1894
  include Google::Apis::Core::Hashable
1688
1895
 
@@ -1691,9 +1898,14 @@ module Google
1691
1898
  # @return [Array<Google::Apis::GkehubV1beta::AuditConfig>]
1692
1899
  attr_accessor :audit_configs
1693
1900
 
1694
- # Associates a list of `members` to a `role`. Optionally, may specify a `
1695
- # condition` that determines how and when the `bindings` are applied. Each of
1696
- # 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`.
1697
1909
  # Corresponds to the JSON property `bindings`
1698
1910
  # @return [Array<Google::Apis::GkehubV1beta::Binding>]
1699
1911
  attr_accessor :bindings
@@ -1752,31 +1964,31 @@ module Google
1752
1964
 
1753
1965
  # An Identity and Access Management (IAM) policy, which specifies access
1754
1966
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1755
- # A `binding` binds one or more `members` to a single `role`. Members can be
1756
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1757
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1758
- # role or a user-created custom role. For some types of Google Cloud resources,
1759
- # a `binding` can also specify a `condition`, which is a logical expression that
1760
- # allows access to a resource only if the expression evaluates to `true`. A
1761
- # condition can add constraints based on attributes of the request, the resource,
1762
- # or both. To learn which resources support conditions in their IAM policies,
1763
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1764
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1765
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1766
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1767
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1768
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1769
- # title": "expirable access", "description": "Does not grant access after Sep
1770
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1771
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1772
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1773
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1774
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1775
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1776
- # description: Does not grant access after Sep 2020 expression: request.time <
1777
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1778
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1779
- # 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/).
1780
1992
  # Corresponds to the JSON property `policy`
1781
1993
  # @return [Google::Apis::GkehubV1beta::Policy]
1782
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.8.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 = "20210729"
25
+ REVISION = "20211015"
26
26
  end
27
27
  end
28
28
  end
@@ -238,6 +238,30 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class IdentityServiceAuthMethod
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class IdentityServiceMembershipSpec
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class IdentityServiceMembershipState
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class IdentityServiceOidcConfig
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
241
265
  class ListFeaturesResponse
242
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
267
 
@@ -397,6 +421,7 @@ module Google
397
421
  class ConfigManagementConfigSync
398
422
  # @private
399
423
  class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :enabled, as: 'enabled'
400
425
  property :git, as: 'git', class: Google::Apis::GkehubV1beta::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementGitConfig::Representation
401
426
 
402
427
  property :source_format, as: 'sourceFormat'
@@ -406,6 +431,7 @@ module Google
406
431
  class ConfigManagementConfigSyncDeploymentState
407
432
  # @private
408
433
  class Representation < Google::Apis::Core::JsonRepresentation
434
+ property :admission_webhook, as: 'admissionWebhook'
409
435
  property :git_sync, as: 'gitSync'
410
436
  property :importer, as: 'importer'
411
437
  property :monitor, as: 'monitor'
@@ -430,6 +456,7 @@ module Google
430
456
  class ConfigManagementConfigSyncVersion
431
457
  # @private
432
458
  class Representation < Google::Apis::Core::JsonRepresentation
459
+ property :admission_webhook, as: 'admissionWebhook'
433
460
  property :git_sync, as: 'gitSync'
434
461
  property :importer, as: 'importer'
435
462
  property :monitor, as: 'monitor'
@@ -682,6 +709,52 @@ module Google
682
709
  end
683
710
  end
684
711
 
712
+ class IdentityServiceAuthMethod
713
+ # @private
714
+ class Representation < Google::Apis::Core::JsonRepresentation
715
+ property :name, as: 'name'
716
+ property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1beta::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1beta::IdentityServiceOidcConfig::Representation
717
+
718
+ property :proxy, as: 'proxy'
719
+ end
720
+ end
721
+
722
+ class IdentityServiceMembershipSpec
723
+ # @private
724
+ class Representation < Google::Apis::Core::JsonRepresentation
725
+ collection :auth_methods, as: 'authMethods', class: Google::Apis::GkehubV1beta::IdentityServiceAuthMethod, decorator: Google::Apis::GkehubV1beta::IdentityServiceAuthMethod::Representation
726
+
727
+ end
728
+ end
729
+
730
+ class IdentityServiceMembershipState
731
+ # @private
732
+ class Representation < Google::Apis::Core::JsonRepresentation
733
+ property :failure_reason, as: 'failureReason'
734
+ property :installed_version, as: 'installedVersion'
735
+ property :member_config, as: 'memberConfig', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec::Representation
736
+
737
+ property :state, as: 'state'
738
+ end
739
+ end
740
+
741
+ class IdentityServiceOidcConfig
742
+ # @private
743
+ class Representation < Google::Apis::Core::JsonRepresentation
744
+ property :certificate_authority_data, as: 'certificateAuthorityData'
745
+ property :client_id, as: 'clientId'
746
+ property :deploy_cloud_console_proxy, as: 'deployCloudConsoleProxy'
747
+ property :extra_params, as: 'extraParams'
748
+ property :group_prefix, as: 'groupPrefix'
749
+ property :groups_claim, as: 'groupsClaim'
750
+ property :issuer_uri, as: 'issuerUri'
751
+ property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
752
+ property :scopes, as: 'scopes'
753
+ property :user_claim, as: 'userClaim'
754
+ property :user_prefix, as: 'userPrefix'
755
+ end
756
+ end
757
+
685
758
  class ListFeaturesResponse
686
759
  # @private
687
760
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -725,6 +798,8 @@ module Google
725
798
  class Representation < Google::Apis::Core::JsonRepresentation
726
799
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec::Representation
727
800
 
801
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec::Representation
802
+
728
803
  end
729
804
  end
730
805
 
@@ -733,6 +808,8 @@ module Google
733
808
  class Representation < Google::Apis::Core::JsonRepresentation
734
809
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1beta::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1beta::ConfigManagementMembershipState::Representation
735
810
 
811
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipState, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipState::Representation
812
+
736
813
  property :metering, as: 'metering', class: Google::Apis::GkehubV1beta::MeteringMembershipState, decorator: Google::Apis::GkehubV1beta::MeteringMembershipState::Representation
737
814
 
738
815
  property :state, as: 'state', class: Google::Apis::GkehubV1beta::FeatureState, decorator: Google::Apis::GkehubV1beta::FeatureState::Representation
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module GkehubV1beta
23
- # GKE Hub
23
+ # GKE Hub API
24
24
  #
25
25
  #
26
26
  #
@@ -19,13 +19,13 @@ require 'google/apis/gkehub_v1beta/gem_version.rb'
19
19
 
20
20
  module Google
21
21
  module Apis
22
- # GKE Hub
22
+ # GKE Hub API
23
23
  #
24
24
  #
25
25
  #
26
26
  # @see https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster
27
27
  module GkehubV1beta
28
- # Version of the GKE Hub this client connects to.
28
+ # Version of the GKE Hub API this client connects to.
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta'
31
31
 
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.8.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-08-09 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
@@ -30,12 +30,12 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
33
- description: This is the simple REST client for GKE Hub V1beta. Simple REST clients
33
+ description: This is the simple REST client for GKE Hub API V1beta. Simple REST clients
34
34
  are Ruby client libraries that provide access to Google services via their HTTP
35
35
  REST API endpoints. These libraries are generated and updated automatically based
36
36
  on the discovery documents published by the service, and they handle most concerns
37
37
  such as authentication, pagination, retry, timeouts, and logging. You can use this
38
- client to access the GKE Hub, but note that some services may provide a separate
38
+ client to access the GKE Hub API, but note that some services may provide a separate
39
39
  modern client that is easier to use.
40
40
  email: googleapis-packages@google.com
41
41
  executables: []
@@ -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.8.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:
@@ -78,5 +78,5 @@ requirements: []
78
78
  rubygems_version: 3.2.17
79
79
  signing_key:
80
80
  specification_version: 4
81
- summary: Simple REST client for GKE Hub V1beta
81
+ summary: Simple REST client for GKE Hub API V1beta
82
82
  test_files: []