google-apis-gkehub_v1beta 0.6.0 → 0.10.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 +16 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/gkehub_v1beta/classes.rb +280 -7
- data/lib/google/apis/gkehub_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/gkehub_v1beta/representations.rb +110 -0
- data/lib/google/apis/gkehub_v1beta/service.rb +1 -1
- data/lib/google/apis/gkehub_v1beta.rb +3 -3
- 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: 3e92b3cfd4f21a4cef9cc40bf922e0f212ffa717874c3e408d2f5f78d37274c8
|
4
|
+
data.tar.gz: b15ed74d23bd9d158987778d303c8cb019cffcd952bbbafe28a097d8d723c8a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9508ce3f46e3eecab54178f6da6d52462853c6de16949c43819e6ca56054f3285329c07d607e5219a8c829f44c6d74f1b83c75944a401b7b81e652fecc3d2e97
|
7
|
+
data.tar.gz: 6eea3a5c87530155f097074ffb07be16926c273dc8c554963dfdebdf81050192d2192e8a28f73a1fba83719cc905611ad4dfef0992c83661c07348f8da3733ed
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1beta
|
2
2
|
|
3
|
+
### v0.10.0 (2021-09-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210920
|
6
|
+
|
7
|
+
### v0.9.0 (2021-08-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210813
|
10
|
+
|
11
|
+
### v0.8.0 (2021-08-04)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210729
|
14
|
+
|
15
|
+
### v0.7.0 (2021-07-14)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210709
|
18
|
+
|
3
19
|
### v0.6.0 (2021-06-29)
|
4
20
|
|
5
21
|
* Regenerated using generator version 0.4.0
|
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.
|
@@ -65,7 +65,7 @@ More detailed descriptions of the Google simple REST clients are available in tw
|
|
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
|
|
@@ -291,6 +291,11 @@ module Google
|
|
291
291
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementGitConfig]
|
292
292
|
attr_accessor :git
|
293
293
|
|
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
|
298
|
+
|
294
299
|
# Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured”
|
295
300
|
# mode.
|
296
301
|
# Corresponds to the JSON property `sourceFormat`
|
@@ -304,6 +309,7 @@ module Google
|
|
304
309
|
# Update properties of this object
|
305
310
|
def update!(**args)
|
306
311
|
@git = args[:git] if args.key?(:git)
|
312
|
+
@resource_requirements = args[:resource_requirements] if args.key?(:resource_requirements)
|
307
313
|
@source_format = args[:source_format] if args.key?(:source_format)
|
308
314
|
end
|
309
315
|
end
|
@@ -312,6 +318,11 @@ module Google
|
|
312
318
|
class ConfigManagementConfigSyncDeploymentState
|
313
319
|
include Google::Apis::Core::Hashable
|
314
320
|
|
321
|
+
# Deployment state of admission-webhook
|
322
|
+
# Corresponds to the JSON property `admissionWebhook`
|
323
|
+
# @return [String]
|
324
|
+
attr_accessor :admission_webhook
|
325
|
+
|
315
326
|
# Deployment state of the git-sync pod
|
316
327
|
# Corresponds to the JSON property `gitSync`
|
317
328
|
# @return [String]
|
@@ -348,6 +359,7 @@ module Google
|
|
348
359
|
|
349
360
|
# Update properties of this object
|
350
361
|
def update!(**args)
|
362
|
+
@admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
|
351
363
|
@git_sync = args[:git_sync] if args.key?(:git_sync)
|
352
364
|
@importer = args[:importer] if args.key?(:importer)
|
353
365
|
@monitor = args[:monitor] if args.key?(:monitor)
|
@@ -392,6 +404,11 @@ module Google
|
|
392
404
|
class ConfigManagementConfigSyncVersion
|
393
405
|
include Google::Apis::Core::Hashable
|
394
406
|
|
407
|
+
# Version of the deployed admission_webhook pod
|
408
|
+
# Corresponds to the JSON property `admissionWebhook`
|
409
|
+
# @return [String]
|
410
|
+
attr_accessor :admission_webhook
|
411
|
+
|
395
412
|
# Version of the deployed git-sync pod
|
396
413
|
# Corresponds to the JSON property `gitSync`
|
397
414
|
# @return [String]
|
@@ -428,6 +445,7 @@ module Google
|
|
428
445
|
|
429
446
|
# Update properties of this object
|
430
447
|
def update!(**args)
|
448
|
+
@admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
|
431
449
|
@git_sync = args[:git_sync] if args.key?(:git_sync)
|
432
450
|
@importer = args[:importer] if args.key?(:importer)
|
433
451
|
@monitor = args[:monitor] if args.key?(:monitor)
|
@@ -437,6 +455,42 @@ module Google
|
|
437
455
|
end
|
438
456
|
end
|
439
457
|
|
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
|
+
|
440
494
|
# Model for a config file in the git repo with an associated Sync error
|
441
495
|
class ConfigManagementErrorResource
|
442
496
|
include Google::Apis::Core::Hashable
|
@@ -514,6 +568,12 @@ module Google
|
|
514
568
|
# @return [String]
|
515
569
|
attr_accessor :https_proxy
|
516
570
|
|
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
|
+
|
517
577
|
# The path within the Git repository that represents the top level of the repo
|
518
578
|
# to sync. Default: the root directory of the repository.
|
519
579
|
# Corresponds to the JSON property `policyDir`
|
@@ -530,6 +590,11 @@ module Google
|
|
530
590
|
# @return [String]
|
531
591
|
attr_accessor :sync_branch
|
532
592
|
|
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
|
+
|
533
598
|
# The URL of the Git repository to use as the source of truth.
|
534
599
|
# Corresponds to the JSON property `syncRepo`
|
535
600
|
# @return [String]
|
@@ -553,9 +618,11 @@ module Google
|
|
553
618
|
def update!(**args)
|
554
619
|
@gcp_service_account_email = args[:gcp_service_account_email] if args.key?(:gcp_service_account_email)
|
555
620
|
@https_proxy = args[:https_proxy] if args.key?(:https_proxy)
|
621
|
+
@no_ssl_verify = args[:no_ssl_verify] if args.key?(:no_ssl_verify)
|
556
622
|
@policy_dir = args[:policy_dir] if args.key?(:policy_dir)
|
557
623
|
@secret_type = args[:secret_type] if args.key?(:secret_type)
|
558
624
|
@sync_branch = args[:sync_branch] if args.key?(:sync_branch)
|
625
|
+
@sync_depth = args[:sync_depth] if args.key?(:sync_depth)
|
559
626
|
@sync_repo = args[:sync_repo] if args.key?(:sync_repo)
|
560
627
|
@sync_rev = args[:sync_rev] if args.key?(:sync_rev)
|
561
628
|
@sync_wait_secs = args[:sync_wait_secs] if args.key?(:sync_wait_secs)
|
@@ -957,6 +1024,27 @@ module Google
|
|
957
1024
|
end
|
958
1025
|
end
|
959
1026
|
|
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
|
+
|
960
1048
|
# An ACM created error representing a problem syncing configurations
|
961
1049
|
class ConfigManagementSyncError
|
962
1050
|
include Google::Apis::Core::Hashable
|
@@ -1139,8 +1227,8 @@ module Google
|
|
1139
1227
|
|
1140
1228
|
# Optional. Membership-specific configuration for this Feature. If this Feature
|
1141
1229
|
# does not support any per-Membership configuration, this field may be unused.
|
1142
|
-
# The keys indicate which Membership the configuration is for, in the form:
|
1143
|
-
# projects/`p`/locations/`l`/memberships/`m
|
1230
|
+
# The keys indicate which Membership the configuration is for, in the form: `
|
1231
|
+
# projects/`p`/locations/`l`/memberships/`m`` Where `p` is the project, `l` is a
|
1144
1232
|
# valid location and `m` is a valid Membership in this project at that location.
|
1145
1233
|
# `p` WILL match the Feature's project. `p` will always be returned as the
|
1146
1234
|
# project number, but the project ID is also accepted during input. If the same
|
@@ -1154,8 +1242,8 @@ module Google
|
|
1154
1242
|
|
1155
1243
|
# Output only. Membership-specific Feature status. If this Feature does report
|
1156
1244
|
# any per-Membership status, this field may be unused. The keys indicate which
|
1157
|
-
# Membership the state is for, in the form: projects/`p`/locations/`l`/
|
1158
|
-
# memberships/`m
|
1245
|
+
# Membership the state is for, in the form: `projects/`p`/locations/`l`/
|
1246
|
+
# memberships/`m`` Where `p` is the project number, `l` is a valid location and `
|
1159
1247
|
# m` is a valid Membership in this project at that location. `p` MUST match the
|
1160
1248
|
# Feature's project number.
|
1161
1249
|
# Corresponds to the JSON property `membershipStates`
|
@@ -1302,6 +1390,178 @@ module Google
|
|
1302
1390
|
end
|
1303
1391
|
end
|
1304
1392
|
|
1393
|
+
# Configuration of an auth method for a member/cluster. Only one authentication
|
1394
|
+
# method (e.g., OIDC and LDAP) can be set per AuthMethod.
|
1395
|
+
class IdentityServiceAuthMethod
|
1396
|
+
include Google::Apis::Core::Hashable
|
1397
|
+
|
1398
|
+
# Identifier for auth config.
|
1399
|
+
# Corresponds to the JSON property `name`
|
1400
|
+
# @return [String]
|
1401
|
+
attr_accessor :name
|
1402
|
+
|
1403
|
+
# Configuration for OIDC Auth flow.
|
1404
|
+
# Corresponds to the JSON property `oidcConfig`
|
1405
|
+
# @return [Google::Apis::GkehubV1beta::IdentityServiceOidcConfig]
|
1406
|
+
attr_accessor :oidc_config
|
1407
|
+
|
1408
|
+
# Proxy server address to use for auth method.
|
1409
|
+
# Corresponds to the JSON property `proxy`
|
1410
|
+
# @return [String]
|
1411
|
+
attr_accessor :proxy
|
1412
|
+
|
1413
|
+
def initialize(**args)
|
1414
|
+
update!(**args)
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
# Update properties of this object
|
1418
|
+
def update!(**args)
|
1419
|
+
@name = args[:name] if args.key?(:name)
|
1420
|
+
@oidc_config = args[:oidc_config] if args.key?(:oidc_config)
|
1421
|
+
@proxy = args[:proxy] if args.key?(:proxy)
|
1422
|
+
end
|
1423
|
+
end
|
1424
|
+
|
1425
|
+
# **Anthos Identity Service**: Configuration for a single Membership.
|
1426
|
+
class IdentityServiceMembershipSpec
|
1427
|
+
include Google::Apis::Core::Hashable
|
1428
|
+
|
1429
|
+
# A member may support multiple auth methods.
|
1430
|
+
# Corresponds to the JSON property `authMethods`
|
1431
|
+
# @return [Array<Google::Apis::GkehubV1beta::IdentityServiceAuthMethod>]
|
1432
|
+
attr_accessor :auth_methods
|
1433
|
+
|
1434
|
+
def initialize(**args)
|
1435
|
+
update!(**args)
|
1436
|
+
end
|
1437
|
+
|
1438
|
+
# Update properties of this object
|
1439
|
+
def update!(**args)
|
1440
|
+
@auth_methods = args[:auth_methods] if args.key?(:auth_methods)
|
1441
|
+
end
|
1442
|
+
end
|
1443
|
+
|
1444
|
+
# **Anthos Identity Service**: State for a single Membership.
|
1445
|
+
class IdentityServiceMembershipState
|
1446
|
+
include Google::Apis::Core::Hashable
|
1447
|
+
|
1448
|
+
# The reason of the failure.
|
1449
|
+
# Corresponds to the JSON property `failureReason`
|
1450
|
+
# @return [String]
|
1451
|
+
attr_accessor :failure_reason
|
1452
|
+
|
1453
|
+
# Installed AIS version. This is the AIS version installed on this member. The
|
1454
|
+
# values makes sense iff state is OK.
|
1455
|
+
# Corresponds to the JSON property `installedVersion`
|
1456
|
+
# @return [String]
|
1457
|
+
attr_accessor :installed_version
|
1458
|
+
|
1459
|
+
# **Anthos Identity Service**: Configuration for a single Membership.
|
1460
|
+
# Corresponds to the JSON property `memberConfig`
|
1461
|
+
# @return [Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec]
|
1462
|
+
attr_accessor :member_config
|
1463
|
+
|
1464
|
+
# Deployment state on this member
|
1465
|
+
# Corresponds to the JSON property `state`
|
1466
|
+
# @return [String]
|
1467
|
+
attr_accessor :state
|
1468
|
+
|
1469
|
+
def initialize(**args)
|
1470
|
+
update!(**args)
|
1471
|
+
end
|
1472
|
+
|
1473
|
+
# Update properties of this object
|
1474
|
+
def update!(**args)
|
1475
|
+
@failure_reason = args[:failure_reason] if args.key?(:failure_reason)
|
1476
|
+
@installed_version = args[:installed_version] if args.key?(:installed_version)
|
1477
|
+
@member_config = args[:member_config] if args.key?(:member_config)
|
1478
|
+
@state = args[:state] if args.key?(:state)
|
1479
|
+
end
|
1480
|
+
end
|
1481
|
+
|
1482
|
+
# Configuration for OIDC Auth flow.
|
1483
|
+
class IdentityServiceOidcConfig
|
1484
|
+
include Google::Apis::Core::Hashable
|
1485
|
+
|
1486
|
+
# PEM-encoded CA for OIDC provider.
|
1487
|
+
# Corresponds to the JSON property `certificateAuthorityData`
|
1488
|
+
# @return [String]
|
1489
|
+
attr_accessor :certificate_authority_data
|
1490
|
+
|
1491
|
+
# ID for OIDC client application.
|
1492
|
+
# Corresponds to the JSON property `clientId`
|
1493
|
+
# @return [String]
|
1494
|
+
attr_accessor :client_id
|
1495
|
+
|
1496
|
+
# Flag to denote if reverse proxy is used to connect to auth provider. This flag
|
1497
|
+
# should be set to true when provider is not reachable by Google Cloud Console.
|
1498
|
+
# Corresponds to the JSON property `deployCloudConsoleProxy`
|
1499
|
+
# @return [Boolean]
|
1500
|
+
attr_accessor :deploy_cloud_console_proxy
|
1501
|
+
alias_method :deploy_cloud_console_proxy?, :deploy_cloud_console_proxy
|
1502
|
+
|
1503
|
+
# Comma-separated list of key-value pairs.
|
1504
|
+
# Corresponds to the JSON property `extraParams`
|
1505
|
+
# @return [String]
|
1506
|
+
attr_accessor :extra_params
|
1507
|
+
|
1508
|
+
# Prefix to prepend to group name.
|
1509
|
+
# Corresponds to the JSON property `groupPrefix`
|
1510
|
+
# @return [String]
|
1511
|
+
attr_accessor :group_prefix
|
1512
|
+
|
1513
|
+
# Claim in OIDC ID token that holds group information.
|
1514
|
+
# Corresponds to the JSON property `groupsClaim`
|
1515
|
+
# @return [String]
|
1516
|
+
attr_accessor :groups_claim
|
1517
|
+
|
1518
|
+
# URI for the OIDC provider. This should point to the level below .well-known/
|
1519
|
+
# openid-configuration.
|
1520
|
+
# Corresponds to the JSON property `issuerUri`
|
1521
|
+
# @return [String]
|
1522
|
+
attr_accessor :issuer_uri
|
1523
|
+
|
1524
|
+
# Registered redirect uri to redirect users going through OAuth flow using
|
1525
|
+
# kubectl plugin.
|
1526
|
+
# Corresponds to the JSON property `kubectlRedirectUri`
|
1527
|
+
# @return [String]
|
1528
|
+
attr_accessor :kubectl_redirect_uri
|
1529
|
+
|
1530
|
+
# Comma-separated list of identifiers.
|
1531
|
+
# Corresponds to the JSON property `scopes`
|
1532
|
+
# @return [String]
|
1533
|
+
attr_accessor :scopes
|
1534
|
+
|
1535
|
+
# Claim in OIDC ID token that holds username.
|
1536
|
+
# Corresponds to the JSON property `userClaim`
|
1537
|
+
# @return [String]
|
1538
|
+
attr_accessor :user_claim
|
1539
|
+
|
1540
|
+
# Prefix to prepend to user name.
|
1541
|
+
# Corresponds to the JSON property `userPrefix`
|
1542
|
+
# @return [String]
|
1543
|
+
attr_accessor :user_prefix
|
1544
|
+
|
1545
|
+
def initialize(**args)
|
1546
|
+
update!(**args)
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
# Update properties of this object
|
1550
|
+
def update!(**args)
|
1551
|
+
@certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
|
1552
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
1553
|
+
@deploy_cloud_console_proxy = args[:deploy_cloud_console_proxy] if args.key?(:deploy_cloud_console_proxy)
|
1554
|
+
@extra_params = args[:extra_params] if args.key?(:extra_params)
|
1555
|
+
@group_prefix = args[:group_prefix] if args.key?(:group_prefix)
|
1556
|
+
@groups_claim = args[:groups_claim] if args.key?(:groups_claim)
|
1557
|
+
@issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
|
1558
|
+
@kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
|
1559
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
1560
|
+
@user_claim = args[:user_claim] if args.key?(:user_claim)
|
1561
|
+
@user_prefix = args[:user_prefix] if args.key?(:user_prefix)
|
1562
|
+
end
|
1563
|
+
end
|
1564
|
+
|
1305
1565
|
# Response message for the `GkeHub.ListFeatures` method.
|
1306
1566
|
class ListFeaturesResponse
|
1307
1567
|
include Google::Apis::Core::Hashable
|
@@ -1436,6 +1696,11 @@ module Google
|
|
1436
1696
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec]
|
1437
1697
|
attr_accessor :configmanagement
|
1438
1698
|
|
1699
|
+
# **Anthos Identity Service**: Configuration for a single Membership.
|
1700
|
+
# Corresponds to the JSON property `identityservice`
|
1701
|
+
# @return [Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec]
|
1702
|
+
attr_accessor :identityservice
|
1703
|
+
|
1439
1704
|
def initialize(**args)
|
1440
1705
|
update!(**args)
|
1441
1706
|
end
|
@@ -1443,6 +1708,7 @@ module Google
|
|
1443
1708
|
# Update properties of this object
|
1444
1709
|
def update!(**args)
|
1445
1710
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
1711
|
+
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
1446
1712
|
end
|
1447
1713
|
end
|
1448
1714
|
|
@@ -1456,6 +1722,11 @@ module Google
|
|
1456
1722
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipState]
|
1457
1723
|
attr_accessor :configmanagement
|
1458
1724
|
|
1725
|
+
# **Anthos Identity Service**: State for a single Membership.
|
1726
|
+
# Corresponds to the JSON property `identityservice`
|
1727
|
+
# @return [Google::Apis::GkehubV1beta::IdentityServiceMembershipState]
|
1728
|
+
attr_accessor :identityservice
|
1729
|
+
|
1459
1730
|
# **Metering**: Per-Membership Feature State.
|
1460
1731
|
# Corresponds to the JSON property `metering`
|
1461
1732
|
# @return [Google::Apis::GkehubV1beta::MeteringMembershipState]
|
@@ -1475,6 +1746,7 @@ module Google
|
|
1475
1746
|
# Update properties of this object
|
1476
1747
|
def update!(**args)
|
1477
1748
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
1749
|
+
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
1478
1750
|
@metering = args[:metering] if args.key?(:metering)
|
1479
1751
|
@state = args[:state] if args.key?(:state)
|
1480
1752
|
end
|
@@ -1512,7 +1784,8 @@ module Google
|
|
1512
1784
|
class MultiClusterIngressFeatureSpec
|
1513
1785
|
include Google::Apis::Core::Hashable
|
1514
1786
|
|
1515
|
-
# Customer's
|
1787
|
+
# Deprecated: This field will be ignored and should not be set. Customer's
|
1788
|
+
# billing structure.
|
1516
1789
|
# Corresponds to the JSON property `billing`
|
1517
1790
|
# @return [String]
|
1518
1791
|
attr_accessor :billing
|
@@ -1679,7 +1952,7 @@ module Google
|
|
1679
1952
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1680
1953
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1681
1954
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1682
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1955
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1683
1956
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1684
1957
|
# google.com/iam/docs/).
|
1685
1958
|
class Policy
|
@@ -1773,7 +2046,7 @@ module Google
|
|
1773
2046
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1774
2047
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1775
2048
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1776
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
2049
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1777
2050
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1778
2051
|
# google.com/iam/docs/).
|
1779
2052
|
# Corresponds to the JSON property `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.
|
19
|
+
GEM_VERSION = "0.10.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 = "20210920"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class ConfigManagementContainerResourceRequirements
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class ConfigManagementErrorResource
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -190,6 +196,12 @@ module Google
|
|
190
196
|
include Google::Apis::Core::JsonObjectSupport
|
191
197
|
end
|
192
198
|
|
199
|
+
class ConfigManagementQuantity
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
193
205
|
class ConfigManagementSyncError
|
194
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
207
|
|
@@ -238,6 +250,30 @@ module Google
|
|
238
250
|
include Google::Apis::Core::JsonObjectSupport
|
239
251
|
end
|
240
252
|
|
253
|
+
class IdentityServiceAuthMethod
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class IdentityServiceMembershipSpec
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class IdentityServiceMembershipState
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class IdentityServiceOidcConfig
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
241
277
|
class ListFeaturesResponse
|
242
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
279
|
|
@@ -399,6 +435,8 @@ module Google
|
|
399
435
|
class Representation < Google::Apis::Core::JsonRepresentation
|
400
436
|
property :git, as: 'git', class: Google::Apis::GkehubV1beta::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementGitConfig::Representation
|
401
437
|
|
438
|
+
hash :resource_requirements, as: 'resourceRequirements', class: Google::Apis::GkehubV1beta::ConfigManagementContainerResourceRequirements, decorator: Google::Apis::GkehubV1beta::ConfigManagementContainerResourceRequirements::Representation
|
439
|
+
|
402
440
|
property :source_format, as: 'sourceFormat'
|
403
441
|
end
|
404
442
|
end
|
@@ -406,6 +444,7 @@ module Google
|
|
406
444
|
class ConfigManagementConfigSyncDeploymentState
|
407
445
|
# @private
|
408
446
|
class Representation < Google::Apis::Core::JsonRepresentation
|
447
|
+
property :admission_webhook, as: 'admissionWebhook'
|
409
448
|
property :git_sync, as: 'gitSync'
|
410
449
|
property :importer, as: 'importer'
|
411
450
|
property :monitor, as: 'monitor'
|
@@ -430,6 +469,7 @@ module Google
|
|
430
469
|
class ConfigManagementConfigSyncVersion
|
431
470
|
# @private
|
432
471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
472
|
+
property :admission_webhook, as: 'admissionWebhook'
|
433
473
|
property :git_sync, as: 'gitSync'
|
434
474
|
property :importer, as: 'importer'
|
435
475
|
property :monitor, as: 'monitor'
|
@@ -439,6 +479,17 @@ module Google
|
|
439
479
|
end
|
440
480
|
end
|
441
481
|
|
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
|
+
|
442
493
|
class ConfigManagementErrorResource
|
443
494
|
# @private
|
444
495
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -463,9 +514,11 @@ module Google
|
|
463
514
|
class Representation < Google::Apis::Core::JsonRepresentation
|
464
515
|
property :gcp_service_account_email, as: 'gcpServiceAccountEmail'
|
465
516
|
property :https_proxy, as: 'httpsProxy'
|
517
|
+
property :no_ssl_verify, as: 'noSslVerify'
|
466
518
|
property :policy_dir, as: 'policyDir'
|
467
519
|
property :secret_type, as: 'secretType'
|
468
520
|
property :sync_branch, as: 'syncBranch'
|
521
|
+
property :sync_depth, :numeric_string => true, as: 'syncDepth'
|
469
522
|
property :sync_repo, as: 'syncRepo'
|
470
523
|
property :sync_rev, as: 'syncRev'
|
471
524
|
property :sync_wait_secs, :numeric_string => true, as: 'syncWaitSecs'
|
@@ -596,6 +649,13 @@ module Google
|
|
596
649
|
end
|
597
650
|
end
|
598
651
|
|
652
|
+
class ConfigManagementQuantity
|
653
|
+
# @private
|
654
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
655
|
+
property :string, as: 'string'
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
599
659
|
class ConfigManagementSyncError
|
600
660
|
# @private
|
601
661
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -682,6 +742,52 @@ module Google
|
|
682
742
|
end
|
683
743
|
end
|
684
744
|
|
745
|
+
class IdentityServiceAuthMethod
|
746
|
+
# @private
|
747
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
748
|
+
property :name, as: 'name'
|
749
|
+
property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1beta::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1beta::IdentityServiceOidcConfig::Representation
|
750
|
+
|
751
|
+
property :proxy, as: 'proxy'
|
752
|
+
end
|
753
|
+
end
|
754
|
+
|
755
|
+
class IdentityServiceMembershipSpec
|
756
|
+
# @private
|
757
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
758
|
+
collection :auth_methods, as: 'authMethods', class: Google::Apis::GkehubV1beta::IdentityServiceAuthMethod, decorator: Google::Apis::GkehubV1beta::IdentityServiceAuthMethod::Representation
|
759
|
+
|
760
|
+
end
|
761
|
+
end
|
762
|
+
|
763
|
+
class IdentityServiceMembershipState
|
764
|
+
# @private
|
765
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
766
|
+
property :failure_reason, as: 'failureReason'
|
767
|
+
property :installed_version, as: 'installedVersion'
|
768
|
+
property :member_config, as: 'memberConfig', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec::Representation
|
769
|
+
|
770
|
+
property :state, as: 'state'
|
771
|
+
end
|
772
|
+
end
|
773
|
+
|
774
|
+
class IdentityServiceOidcConfig
|
775
|
+
# @private
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
777
|
+
property :certificate_authority_data, as: 'certificateAuthorityData'
|
778
|
+
property :client_id, as: 'clientId'
|
779
|
+
property :deploy_cloud_console_proxy, as: 'deployCloudConsoleProxy'
|
780
|
+
property :extra_params, as: 'extraParams'
|
781
|
+
property :group_prefix, as: 'groupPrefix'
|
782
|
+
property :groups_claim, as: 'groupsClaim'
|
783
|
+
property :issuer_uri, as: 'issuerUri'
|
784
|
+
property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
|
785
|
+
property :scopes, as: 'scopes'
|
786
|
+
property :user_claim, as: 'userClaim'
|
787
|
+
property :user_prefix, as: 'userPrefix'
|
788
|
+
end
|
789
|
+
end
|
790
|
+
|
685
791
|
class ListFeaturesResponse
|
686
792
|
# @private
|
687
793
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -725,6 +831,8 @@ module Google
|
|
725
831
|
class Representation < Google::Apis::Core::JsonRepresentation
|
726
832
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec::Representation
|
727
833
|
|
834
|
+
property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec::Representation
|
835
|
+
|
728
836
|
end
|
729
837
|
end
|
730
838
|
|
@@ -733,6 +841,8 @@ module Google
|
|
733
841
|
class Representation < Google::Apis::Core::JsonRepresentation
|
734
842
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1beta::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1beta::ConfigManagementMembershipState::Representation
|
735
843
|
|
844
|
+
property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipState, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipState::Representation
|
845
|
+
|
736
846
|
property :metering, as: 'metering', class: Google::Apis::GkehubV1beta::MeteringMembershipState, decorator: Google::Apis::GkehubV1beta::MeteringMembershipState::Representation
|
737
847
|
|
738
848
|
property :state, as: 'state', class: Google::Apis::GkehubV1beta::FeatureState, decorator: Google::Apis::GkehubV1beta::FeatureState::Representation
|
@@ -19,17 +19,17 @@ 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
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
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.10.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-
|
11
|
+
date: 2021-09-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: []
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.10.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -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: []
|