google-apis-gkehub_v1alpha 0.7.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/gkehub_v1alpha/classes.rb +280 -7
- data/lib/google/apis/gkehub_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/gkehub_v1alpha/representations.rb +110 -0
- data/lib/google/apis/gkehub_v1alpha/service.rb +1 -1
- data/lib/google/apis/gkehub_v1alpha.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: 8bf5e9d13672c2f886f0c2dc57d4a2192082fda1e2a1bb7fb47b7825970ab4f4
|
4
|
+
data.tar.gz: 90c43c4098c508dea3fa52fa0a46aa4eb9503963c9214e38dd2da7b0d77a0a11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e438ff858547c7802d96f696307b07019657c0cfe354e9f26e50054d6bfbde5ce93885199543e038b77c2a7fe440dd3c0ac6b25183667b595ff9edaef28dbe4
|
7
|
+
data.tar.gz: d42654251f64e2cbe748eda9552f5a016127ddd03fbf8491f2e520f35cac94d99d4527c19726b581b80b5437c7104a1d695f9aef9e364ae7f27bc2507657831f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha
|
2
2
|
|
3
|
+
### v0.11.0 (2021-09-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210920
|
6
|
+
|
7
|
+
### v0.10.0 (2021-08-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210813
|
10
|
+
|
11
|
+
### v0.9.0 (2021-08-04)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210729
|
14
|
+
|
15
|
+
### v0.8.0 (2021-07-14)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210709
|
18
|
+
|
3
19
|
### v0.7.0 (2021-06-30)
|
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 V1alpha of the GKE Hub
|
1
|
+
# Simple REST client for version V1alpha of the GKE Hub API
|
2
2
|
|
3
|
-
This is a simple client library for version V1alpha of the GKE Hub. It provides:
|
3
|
+
This is a simple client library for version V1alpha 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::GkehubV1alpha::GKEHubService class reference docs}.
|
68
|
+
For reference information on specific calls in the GKE Hub API, see the {Google::Apis::GkehubV1alpha::GKEHubService class reference docs}.
|
69
69
|
|
70
70
|
## Which client should I use?
|
71
71
|
|
@@ -327,6 +327,11 @@ module Google
|
|
327
327
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementGitConfig]
|
328
328
|
attr_accessor :git
|
329
329
|
|
330
|
+
# Specifies CPU and memory limits for containers, keyed by container name
|
331
|
+
# Corresponds to the JSON property `resourceRequirements`
|
332
|
+
# @return [Hash<String,Google::Apis::GkehubV1alpha::ConfigManagementContainerResourceRequirements>]
|
333
|
+
attr_accessor :resource_requirements
|
334
|
+
|
330
335
|
# Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured”
|
331
336
|
# mode.
|
332
337
|
# Corresponds to the JSON property `sourceFormat`
|
@@ -340,6 +345,7 @@ module Google
|
|
340
345
|
# Update properties of this object
|
341
346
|
def update!(**args)
|
342
347
|
@git = args[:git] if args.key?(:git)
|
348
|
+
@resource_requirements = args[:resource_requirements] if args.key?(:resource_requirements)
|
343
349
|
@source_format = args[:source_format] if args.key?(:source_format)
|
344
350
|
end
|
345
351
|
end
|
@@ -348,6 +354,11 @@ module Google
|
|
348
354
|
class ConfigManagementConfigSyncDeploymentState
|
349
355
|
include Google::Apis::Core::Hashable
|
350
356
|
|
357
|
+
# Deployment state of admission-webhook
|
358
|
+
# Corresponds to the JSON property `admissionWebhook`
|
359
|
+
# @return [String]
|
360
|
+
attr_accessor :admission_webhook
|
361
|
+
|
351
362
|
# Deployment state of the git-sync pod
|
352
363
|
# Corresponds to the JSON property `gitSync`
|
353
364
|
# @return [String]
|
@@ -384,6 +395,7 @@ module Google
|
|
384
395
|
|
385
396
|
# Update properties of this object
|
386
397
|
def update!(**args)
|
398
|
+
@admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
|
387
399
|
@git_sync = args[:git_sync] if args.key?(:git_sync)
|
388
400
|
@importer = args[:importer] if args.key?(:importer)
|
389
401
|
@monitor = args[:monitor] if args.key?(:monitor)
|
@@ -428,6 +440,11 @@ module Google
|
|
428
440
|
class ConfigManagementConfigSyncVersion
|
429
441
|
include Google::Apis::Core::Hashable
|
430
442
|
|
443
|
+
# Version of the deployed admission_webhook pod
|
444
|
+
# Corresponds to the JSON property `admissionWebhook`
|
445
|
+
# @return [String]
|
446
|
+
attr_accessor :admission_webhook
|
447
|
+
|
431
448
|
# Version of the deployed git-sync pod
|
432
449
|
# Corresponds to the JSON property `gitSync`
|
433
450
|
# @return [String]
|
@@ -464,6 +481,7 @@ module Google
|
|
464
481
|
|
465
482
|
# Update properties of this object
|
466
483
|
def update!(**args)
|
484
|
+
@admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
|
467
485
|
@git_sync = args[:git_sync] if args.key?(:git_sync)
|
468
486
|
@importer = args[:importer] if args.key?(:importer)
|
469
487
|
@monitor = args[:monitor] if args.key?(:monitor)
|
@@ -473,6 +491,42 @@ module Google
|
|
473
491
|
end
|
474
492
|
end
|
475
493
|
|
494
|
+
# ResourceRequirements allows to override the CPU and memory resource
|
495
|
+
# requirements of a container.
|
496
|
+
class ConfigManagementContainerResourceRequirements
|
497
|
+
include Google::Apis::Core::Hashable
|
498
|
+
|
499
|
+
# Name of the container
|
500
|
+
# Corresponds to the JSON property `containerName`
|
501
|
+
# @return [String]
|
502
|
+
attr_accessor :container_name
|
503
|
+
|
504
|
+
# The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
|
505
|
+
# github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
|
506
|
+
# pkg/api/resource/generated.proto
|
507
|
+
# Corresponds to the JSON property `cpuLimit`
|
508
|
+
# @return [Google::Apis::GkehubV1alpha::ConfigManagementQuantity]
|
509
|
+
attr_accessor :cpu_limit
|
510
|
+
|
511
|
+
# The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
|
512
|
+
# github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
|
513
|
+
# pkg/api/resource/generated.proto
|
514
|
+
# Corresponds to the JSON property `memoryLimit`
|
515
|
+
# @return [Google::Apis::GkehubV1alpha::ConfigManagementQuantity]
|
516
|
+
attr_accessor :memory_limit
|
517
|
+
|
518
|
+
def initialize(**args)
|
519
|
+
update!(**args)
|
520
|
+
end
|
521
|
+
|
522
|
+
# Update properties of this object
|
523
|
+
def update!(**args)
|
524
|
+
@container_name = args[:container_name] if args.key?(:container_name)
|
525
|
+
@cpu_limit = args[:cpu_limit] if args.key?(:cpu_limit)
|
526
|
+
@memory_limit = args[:memory_limit] if args.key?(:memory_limit)
|
527
|
+
end
|
528
|
+
end
|
529
|
+
|
476
530
|
# Model for a config file in the git repo with an associated Sync error
|
477
531
|
class ConfigManagementErrorResource
|
478
532
|
include Google::Apis::Core::Hashable
|
@@ -556,6 +610,12 @@ module Google
|
|
556
610
|
# @return [String]
|
557
611
|
attr_accessor :https_proxy
|
558
612
|
|
613
|
+
# Enable or disable the SSL certificate verification Default: false.
|
614
|
+
# Corresponds to the JSON property `noSslVerify`
|
615
|
+
# @return [Boolean]
|
616
|
+
attr_accessor :no_ssl_verify
|
617
|
+
alias_method :no_ssl_verify?, :no_ssl_verify
|
618
|
+
|
559
619
|
# The path within the Git repository that represents the top level of the repo
|
560
620
|
# to sync. Default: the root directory of the repository.
|
561
621
|
# Corresponds to the JSON property `policyDir`
|
@@ -572,6 +632,11 @@ module Google
|
|
572
632
|
# @return [String]
|
573
633
|
attr_accessor :sync_branch
|
574
634
|
|
635
|
+
# The depth of git commits synced by the git-sync container.
|
636
|
+
# Corresponds to the JSON property `syncDepth`
|
637
|
+
# @return [Fixnum]
|
638
|
+
attr_accessor :sync_depth
|
639
|
+
|
575
640
|
# The URL of the Git repository to use as the source of truth.
|
576
641
|
# Corresponds to the JSON property `syncRepo`
|
577
642
|
# @return [String]
|
@@ -595,9 +660,11 @@ module Google
|
|
595
660
|
def update!(**args)
|
596
661
|
@gcp_service_account_email = args[:gcp_service_account_email] if args.key?(:gcp_service_account_email)
|
597
662
|
@https_proxy = args[:https_proxy] if args.key?(:https_proxy)
|
663
|
+
@no_ssl_verify = args[:no_ssl_verify] if args.key?(:no_ssl_verify)
|
598
664
|
@policy_dir = args[:policy_dir] if args.key?(:policy_dir)
|
599
665
|
@secret_type = args[:secret_type] if args.key?(:secret_type)
|
600
666
|
@sync_branch = args[:sync_branch] if args.key?(:sync_branch)
|
667
|
+
@sync_depth = args[:sync_depth] if args.key?(:sync_depth)
|
601
668
|
@sync_repo = args[:sync_repo] if args.key?(:sync_repo)
|
602
669
|
@sync_rev = args[:sync_rev] if args.key?(:sync_rev)
|
603
670
|
@sync_wait_secs = args[:sync_wait_secs] if args.key?(:sync_wait_secs)
|
@@ -1006,6 +1073,27 @@ module Google
|
|
1006
1073
|
end
|
1007
1074
|
end
|
1008
1075
|
|
1076
|
+
# The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
|
1077
|
+
# github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
|
1078
|
+
# pkg/api/resource/generated.proto
|
1079
|
+
class ConfigManagementQuantity
|
1080
|
+
include Google::Apis::Core::Hashable
|
1081
|
+
|
1082
|
+
# Stringified version of the quantity, e.g., "800 MiB".
|
1083
|
+
# Corresponds to the JSON property `string`
|
1084
|
+
# @return [String]
|
1085
|
+
attr_accessor :string
|
1086
|
+
|
1087
|
+
def initialize(**args)
|
1088
|
+
update!(**args)
|
1089
|
+
end
|
1090
|
+
|
1091
|
+
# Update properties of this object
|
1092
|
+
def update!(**args)
|
1093
|
+
@string = args[:string] if args.key?(:string)
|
1094
|
+
end
|
1095
|
+
end
|
1096
|
+
|
1009
1097
|
# An ACM created error representing a problem syncing configurations
|
1010
1098
|
class ConfigManagementSyncError
|
1011
1099
|
include Google::Apis::Core::Hashable
|
@@ -1188,8 +1276,8 @@ module Google
|
|
1188
1276
|
|
1189
1277
|
# Optional. Membership-specific configuration for this Feature. If this Feature
|
1190
1278
|
# does not support any per-Membership configuration, this field may be unused.
|
1191
|
-
# The keys indicate which Membership the configuration is for, in the form:
|
1192
|
-
# projects/`p`/locations/`l`/memberships/`m
|
1279
|
+
# The keys indicate which Membership the configuration is for, in the form: `
|
1280
|
+
# projects/`p`/locations/`l`/memberships/`m`` Where `p` is the project, `l` is a
|
1193
1281
|
# valid location and `m` is a valid Membership in this project at that location.
|
1194
1282
|
# `p` WILL match the Feature's project. `p` will always be returned as the
|
1195
1283
|
# project number, but the project ID is also accepted during input. If the same
|
@@ -1203,8 +1291,8 @@ module Google
|
|
1203
1291
|
|
1204
1292
|
# Output only. Membership-specific Feature status. If this Feature does report
|
1205
1293
|
# any per-Membership status, this field may be unused. The keys indicate which
|
1206
|
-
# Membership the state is for, in the form: projects/`p`/locations/`l`/
|
1207
|
-
# memberships/`m
|
1294
|
+
# Membership the state is for, in the form: `projects/`p`/locations/`l`/
|
1295
|
+
# memberships/`m`` Where `p` is the project number, `l` is a valid location and `
|
1208
1296
|
# m` is a valid Membership in this project at that location. `p` MUST match the
|
1209
1297
|
# Feature's project number.
|
1210
1298
|
# Corresponds to the JSON property `membershipStates`
|
@@ -1351,6 +1439,178 @@ module Google
|
|
1351
1439
|
end
|
1352
1440
|
end
|
1353
1441
|
|
1442
|
+
# Configuration of an auth method for a member/cluster. Only one authentication
|
1443
|
+
# method (e.g., OIDC and LDAP) can be set per AuthMethod.
|
1444
|
+
class IdentityServiceAuthMethod
|
1445
|
+
include Google::Apis::Core::Hashable
|
1446
|
+
|
1447
|
+
# Identifier for auth config.
|
1448
|
+
# Corresponds to the JSON property `name`
|
1449
|
+
# @return [String]
|
1450
|
+
attr_accessor :name
|
1451
|
+
|
1452
|
+
# Configuration for OIDC Auth flow.
|
1453
|
+
# Corresponds to the JSON property `oidcConfig`
|
1454
|
+
# @return [Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig]
|
1455
|
+
attr_accessor :oidc_config
|
1456
|
+
|
1457
|
+
# Proxy server address to use for auth method.
|
1458
|
+
# Corresponds to the JSON property `proxy`
|
1459
|
+
# @return [String]
|
1460
|
+
attr_accessor :proxy
|
1461
|
+
|
1462
|
+
def initialize(**args)
|
1463
|
+
update!(**args)
|
1464
|
+
end
|
1465
|
+
|
1466
|
+
# Update properties of this object
|
1467
|
+
def update!(**args)
|
1468
|
+
@name = args[:name] if args.key?(:name)
|
1469
|
+
@oidc_config = args[:oidc_config] if args.key?(:oidc_config)
|
1470
|
+
@proxy = args[:proxy] if args.key?(:proxy)
|
1471
|
+
end
|
1472
|
+
end
|
1473
|
+
|
1474
|
+
# **Anthos Identity Service**: Configuration for a single Membership.
|
1475
|
+
class IdentityServiceMembershipSpec
|
1476
|
+
include Google::Apis::Core::Hashable
|
1477
|
+
|
1478
|
+
# A member may support multiple auth methods.
|
1479
|
+
# Corresponds to the JSON property `authMethods`
|
1480
|
+
# @return [Array<Google::Apis::GkehubV1alpha::IdentityServiceAuthMethod>]
|
1481
|
+
attr_accessor :auth_methods
|
1482
|
+
|
1483
|
+
def initialize(**args)
|
1484
|
+
update!(**args)
|
1485
|
+
end
|
1486
|
+
|
1487
|
+
# Update properties of this object
|
1488
|
+
def update!(**args)
|
1489
|
+
@auth_methods = args[:auth_methods] if args.key?(:auth_methods)
|
1490
|
+
end
|
1491
|
+
end
|
1492
|
+
|
1493
|
+
# **Anthos Identity Service**: State for a single Membership.
|
1494
|
+
class IdentityServiceMembershipState
|
1495
|
+
include Google::Apis::Core::Hashable
|
1496
|
+
|
1497
|
+
# The reason of the failure.
|
1498
|
+
# Corresponds to the JSON property `failureReason`
|
1499
|
+
# @return [String]
|
1500
|
+
attr_accessor :failure_reason
|
1501
|
+
|
1502
|
+
# Installed AIS version. This is the AIS version installed on this member. The
|
1503
|
+
# values makes sense iff state is OK.
|
1504
|
+
# Corresponds to the JSON property `installedVersion`
|
1505
|
+
# @return [String]
|
1506
|
+
attr_accessor :installed_version
|
1507
|
+
|
1508
|
+
# **Anthos Identity Service**: Configuration for a single Membership.
|
1509
|
+
# Corresponds to the JSON property `memberConfig`
|
1510
|
+
# @return [Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec]
|
1511
|
+
attr_accessor :member_config
|
1512
|
+
|
1513
|
+
# Deployment state on this member
|
1514
|
+
# Corresponds to the JSON property `state`
|
1515
|
+
# @return [String]
|
1516
|
+
attr_accessor :state
|
1517
|
+
|
1518
|
+
def initialize(**args)
|
1519
|
+
update!(**args)
|
1520
|
+
end
|
1521
|
+
|
1522
|
+
# Update properties of this object
|
1523
|
+
def update!(**args)
|
1524
|
+
@failure_reason = args[:failure_reason] if args.key?(:failure_reason)
|
1525
|
+
@installed_version = args[:installed_version] if args.key?(:installed_version)
|
1526
|
+
@member_config = args[:member_config] if args.key?(:member_config)
|
1527
|
+
@state = args[:state] if args.key?(:state)
|
1528
|
+
end
|
1529
|
+
end
|
1530
|
+
|
1531
|
+
# Configuration for OIDC Auth flow.
|
1532
|
+
class IdentityServiceOidcConfig
|
1533
|
+
include Google::Apis::Core::Hashable
|
1534
|
+
|
1535
|
+
# PEM-encoded CA for OIDC provider.
|
1536
|
+
# Corresponds to the JSON property `certificateAuthorityData`
|
1537
|
+
# @return [String]
|
1538
|
+
attr_accessor :certificate_authority_data
|
1539
|
+
|
1540
|
+
# ID for OIDC client application.
|
1541
|
+
# Corresponds to the JSON property `clientId`
|
1542
|
+
# @return [String]
|
1543
|
+
attr_accessor :client_id
|
1544
|
+
|
1545
|
+
# Flag to denote if reverse proxy is used to connect to auth provider. This flag
|
1546
|
+
# should be set to true when provider is not reachable by Google Cloud Console.
|
1547
|
+
# Corresponds to the JSON property `deployCloudConsoleProxy`
|
1548
|
+
# @return [Boolean]
|
1549
|
+
attr_accessor :deploy_cloud_console_proxy
|
1550
|
+
alias_method :deploy_cloud_console_proxy?, :deploy_cloud_console_proxy
|
1551
|
+
|
1552
|
+
# Comma-separated list of key-value pairs.
|
1553
|
+
# Corresponds to the JSON property `extraParams`
|
1554
|
+
# @return [String]
|
1555
|
+
attr_accessor :extra_params
|
1556
|
+
|
1557
|
+
# Prefix to prepend to group name.
|
1558
|
+
# Corresponds to the JSON property `groupPrefix`
|
1559
|
+
# @return [String]
|
1560
|
+
attr_accessor :group_prefix
|
1561
|
+
|
1562
|
+
# Claim in OIDC ID token that holds group information.
|
1563
|
+
# Corresponds to the JSON property `groupsClaim`
|
1564
|
+
# @return [String]
|
1565
|
+
attr_accessor :groups_claim
|
1566
|
+
|
1567
|
+
# URI for the OIDC provider. This should point to the level below .well-known/
|
1568
|
+
# openid-configuration.
|
1569
|
+
# Corresponds to the JSON property `issuerUri`
|
1570
|
+
# @return [String]
|
1571
|
+
attr_accessor :issuer_uri
|
1572
|
+
|
1573
|
+
# Registered redirect uri to redirect users going through OAuth flow using
|
1574
|
+
# kubectl plugin.
|
1575
|
+
# Corresponds to the JSON property `kubectlRedirectUri`
|
1576
|
+
# @return [String]
|
1577
|
+
attr_accessor :kubectl_redirect_uri
|
1578
|
+
|
1579
|
+
# Comma-separated list of identifiers.
|
1580
|
+
# Corresponds to the JSON property `scopes`
|
1581
|
+
# @return [String]
|
1582
|
+
attr_accessor :scopes
|
1583
|
+
|
1584
|
+
# Claim in OIDC ID token that holds username.
|
1585
|
+
# Corresponds to the JSON property `userClaim`
|
1586
|
+
# @return [String]
|
1587
|
+
attr_accessor :user_claim
|
1588
|
+
|
1589
|
+
# Prefix to prepend to user name.
|
1590
|
+
# Corresponds to the JSON property `userPrefix`
|
1591
|
+
# @return [String]
|
1592
|
+
attr_accessor :user_prefix
|
1593
|
+
|
1594
|
+
def initialize(**args)
|
1595
|
+
update!(**args)
|
1596
|
+
end
|
1597
|
+
|
1598
|
+
# Update properties of this object
|
1599
|
+
def update!(**args)
|
1600
|
+
@certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
|
1601
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
1602
|
+
@deploy_cloud_console_proxy = args[:deploy_cloud_console_proxy] if args.key?(:deploy_cloud_console_proxy)
|
1603
|
+
@extra_params = args[:extra_params] if args.key?(:extra_params)
|
1604
|
+
@group_prefix = args[:group_prefix] if args.key?(:group_prefix)
|
1605
|
+
@groups_claim = args[:groups_claim] if args.key?(:groups_claim)
|
1606
|
+
@issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
|
1607
|
+
@kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
|
1608
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
1609
|
+
@user_claim = args[:user_claim] if args.key?(:user_claim)
|
1610
|
+
@user_prefix = args[:user_prefix] if args.key?(:user_prefix)
|
1611
|
+
end
|
1612
|
+
end
|
1613
|
+
|
1354
1614
|
# Response message for the `GkeHub.ListFeatures` method.
|
1355
1615
|
class ListFeaturesResponse
|
1356
1616
|
include Google::Apis::Core::Hashable
|
@@ -1485,6 +1745,11 @@ module Google
|
|
1485
1745
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec]
|
1486
1746
|
attr_accessor :configmanagement
|
1487
1747
|
|
1748
|
+
# **Anthos Identity Service**: Configuration for a single Membership.
|
1749
|
+
# Corresponds to the JSON property `identityservice`
|
1750
|
+
# @return [Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec]
|
1751
|
+
attr_accessor :identityservice
|
1752
|
+
|
1488
1753
|
def initialize(**args)
|
1489
1754
|
update!(**args)
|
1490
1755
|
end
|
@@ -1492,6 +1757,7 @@ module Google
|
|
1492
1757
|
# Update properties of this object
|
1493
1758
|
def update!(**args)
|
1494
1759
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
1760
|
+
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
1495
1761
|
end
|
1496
1762
|
end
|
1497
1763
|
|
@@ -1505,6 +1771,11 @@ module Google
|
|
1505
1771
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementMembershipState]
|
1506
1772
|
attr_accessor :configmanagement
|
1507
1773
|
|
1774
|
+
# **Anthos Identity Service**: State for a single Membership.
|
1775
|
+
# Corresponds to the JSON property `identityservice`
|
1776
|
+
# @return [Google::Apis::GkehubV1alpha::IdentityServiceMembershipState]
|
1777
|
+
attr_accessor :identityservice
|
1778
|
+
|
1508
1779
|
# **Metering**: Per-Membership Feature State.
|
1509
1780
|
# Corresponds to the JSON property `metering`
|
1510
1781
|
# @return [Google::Apis::GkehubV1alpha::MeteringMembershipState]
|
@@ -1530,6 +1801,7 @@ module Google
|
|
1530
1801
|
# Update properties of this object
|
1531
1802
|
def update!(**args)
|
1532
1803
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
1804
|
+
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
1533
1805
|
@metering = args[:metering] if args.key?(:metering)
|
1534
1806
|
@servicemesh = args[:servicemesh] if args.key?(:servicemesh)
|
1535
1807
|
@state = args[:state] if args.key?(:state)
|
@@ -1568,7 +1840,8 @@ module Google
|
|
1568
1840
|
class MultiClusterIngressFeatureSpec
|
1569
1841
|
include Google::Apis::Core::Hashable
|
1570
1842
|
|
1571
|
-
# Customer's
|
1843
|
+
# Deprecated: This field will be ignored and should not be set. Customer's
|
1844
|
+
# billing structure.
|
1572
1845
|
# Corresponds to the JSON property `billing`
|
1573
1846
|
# @return [String]
|
1574
1847
|
attr_accessor :billing
|
@@ -1735,7 +2008,7 @@ module Google
|
|
1735
2008
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1736
2009
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1737
2010
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1738
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
2011
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1739
2012
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1740
2013
|
# google.com/iam/docs/).
|
1741
2014
|
class Policy
|
@@ -1984,7 +2257,7 @@ module Google
|
|
1984
2257
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1985
2258
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1986
2259
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1987
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
2260
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1988
2261
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1989
2262
|
# google.com/iam/docs/).
|
1990
2263
|
# Corresponds to the JSON property `policy`
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1alpha
|
18
18
|
# Version of the google-apis-gkehub_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.11.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
|
@@ -106,6 +106,12 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
+
class ConfigManagementContainerResourceRequirements
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
109
115
|
class ConfigManagementErrorResource
|
110
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
117
|
|
@@ -196,6 +202,12 @@ module Google
|
|
196
202
|
include Google::Apis::Core::JsonObjectSupport
|
197
203
|
end
|
198
204
|
|
205
|
+
class ConfigManagementQuantity
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
199
211
|
class ConfigManagementSyncError
|
200
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
213
|
|
@@ -244,6 +256,30 @@ module Google
|
|
244
256
|
include Google::Apis::Core::JsonObjectSupport
|
245
257
|
end
|
246
258
|
|
259
|
+
class IdentityServiceAuthMethod
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class IdentityServiceMembershipSpec
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class IdentityServiceMembershipState
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class IdentityServiceOidcConfig
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
247
283
|
class ListFeaturesResponse
|
248
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
285
|
|
@@ -446,6 +482,8 @@ module Google
|
|
446
482
|
class Representation < Google::Apis::Core::JsonRepresentation
|
447
483
|
property :git, as: 'git', class: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig::Representation
|
448
484
|
|
485
|
+
hash :resource_requirements, as: 'resourceRequirements', class: Google::Apis::GkehubV1alpha::ConfigManagementContainerResourceRequirements, decorator: Google::Apis::GkehubV1alpha::ConfigManagementContainerResourceRequirements::Representation
|
486
|
+
|
449
487
|
property :source_format, as: 'sourceFormat'
|
450
488
|
end
|
451
489
|
end
|
@@ -453,6 +491,7 @@ module Google
|
|
453
491
|
class ConfigManagementConfigSyncDeploymentState
|
454
492
|
# @private
|
455
493
|
class Representation < Google::Apis::Core::JsonRepresentation
|
494
|
+
property :admission_webhook, as: 'admissionWebhook'
|
456
495
|
property :git_sync, as: 'gitSync'
|
457
496
|
property :importer, as: 'importer'
|
458
497
|
property :monitor, as: 'monitor'
|
@@ -477,6 +516,7 @@ module Google
|
|
477
516
|
class ConfigManagementConfigSyncVersion
|
478
517
|
# @private
|
479
518
|
class Representation < Google::Apis::Core::JsonRepresentation
|
519
|
+
property :admission_webhook, as: 'admissionWebhook'
|
480
520
|
property :git_sync, as: 'gitSync'
|
481
521
|
property :importer, as: 'importer'
|
482
522
|
property :monitor, as: 'monitor'
|
@@ -486,6 +526,17 @@ module Google
|
|
486
526
|
end
|
487
527
|
end
|
488
528
|
|
529
|
+
class ConfigManagementContainerResourceRequirements
|
530
|
+
# @private
|
531
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
532
|
+
property :container_name, as: 'containerName'
|
533
|
+
property :cpu_limit, as: 'cpuLimit', class: Google::Apis::GkehubV1alpha::ConfigManagementQuantity, decorator: Google::Apis::GkehubV1alpha::ConfigManagementQuantity::Representation
|
534
|
+
|
535
|
+
property :memory_limit, as: 'memoryLimit', class: Google::Apis::GkehubV1alpha::ConfigManagementQuantity, decorator: Google::Apis::GkehubV1alpha::ConfigManagementQuantity::Representation
|
536
|
+
|
537
|
+
end
|
538
|
+
end
|
539
|
+
|
489
540
|
class ConfigManagementErrorResource
|
490
541
|
# @private
|
491
542
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -511,9 +562,11 @@ module Google
|
|
511
562
|
class Representation < Google::Apis::Core::JsonRepresentation
|
512
563
|
property :gcp_service_account_email, as: 'gcpServiceAccountEmail'
|
513
564
|
property :https_proxy, as: 'httpsProxy'
|
565
|
+
property :no_ssl_verify, as: 'noSslVerify'
|
514
566
|
property :policy_dir, as: 'policyDir'
|
515
567
|
property :secret_type, as: 'secretType'
|
516
568
|
property :sync_branch, as: 'syncBranch'
|
569
|
+
property :sync_depth, :numeric_string => true, as: 'syncDepth'
|
517
570
|
property :sync_repo, as: 'syncRepo'
|
518
571
|
property :sync_rev, as: 'syncRev'
|
519
572
|
property :sync_wait_secs, :numeric_string => true, as: 'syncWaitSecs'
|
@@ -645,6 +698,13 @@ module Google
|
|
645
698
|
end
|
646
699
|
end
|
647
700
|
|
701
|
+
class ConfigManagementQuantity
|
702
|
+
# @private
|
703
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
704
|
+
property :string, as: 'string'
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
648
708
|
class ConfigManagementSyncError
|
649
709
|
# @private
|
650
710
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -731,6 +791,52 @@ module Google
|
|
731
791
|
end
|
732
792
|
end
|
733
793
|
|
794
|
+
class IdentityServiceAuthMethod
|
795
|
+
# @private
|
796
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
797
|
+
property :name, as: 'name'
|
798
|
+
property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig::Representation
|
799
|
+
|
800
|
+
property :proxy, as: 'proxy'
|
801
|
+
end
|
802
|
+
end
|
803
|
+
|
804
|
+
class IdentityServiceMembershipSpec
|
805
|
+
# @private
|
806
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
807
|
+
collection :auth_methods, as: 'authMethods', class: Google::Apis::GkehubV1alpha::IdentityServiceAuthMethod, decorator: Google::Apis::GkehubV1alpha::IdentityServiceAuthMethod::Representation
|
808
|
+
|
809
|
+
end
|
810
|
+
end
|
811
|
+
|
812
|
+
class IdentityServiceMembershipState
|
813
|
+
# @private
|
814
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
815
|
+
property :failure_reason, as: 'failureReason'
|
816
|
+
property :installed_version, as: 'installedVersion'
|
817
|
+
property :member_config, as: 'memberConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
|
818
|
+
|
819
|
+
property :state, as: 'state'
|
820
|
+
end
|
821
|
+
end
|
822
|
+
|
823
|
+
class IdentityServiceOidcConfig
|
824
|
+
# @private
|
825
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
826
|
+
property :certificate_authority_data, as: 'certificateAuthorityData'
|
827
|
+
property :client_id, as: 'clientId'
|
828
|
+
property :deploy_cloud_console_proxy, as: 'deployCloudConsoleProxy'
|
829
|
+
property :extra_params, as: 'extraParams'
|
830
|
+
property :group_prefix, as: 'groupPrefix'
|
831
|
+
property :groups_claim, as: 'groupsClaim'
|
832
|
+
property :issuer_uri, as: 'issuerUri'
|
833
|
+
property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
|
834
|
+
property :scopes, as: 'scopes'
|
835
|
+
property :user_claim, as: 'userClaim'
|
836
|
+
property :user_prefix, as: 'userPrefix'
|
837
|
+
end
|
838
|
+
end
|
839
|
+
|
734
840
|
class ListFeaturesResponse
|
735
841
|
# @private
|
736
842
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -774,6 +880,8 @@ module Google
|
|
774
880
|
class Representation < Google::Apis::Core::JsonRepresentation
|
775
881
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec::Representation
|
776
882
|
|
883
|
+
property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
|
884
|
+
|
777
885
|
end
|
778
886
|
end
|
779
887
|
|
@@ -782,6 +890,8 @@ module Google
|
|
782
890
|
class Representation < Google::Apis::Core::JsonRepresentation
|
783
891
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipState::Representation
|
784
892
|
|
893
|
+
property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipState, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipState::Representation
|
894
|
+
|
785
895
|
property :metering, as: 'metering', class: Google::Apis::GkehubV1alpha::MeteringMembershipState, decorator: Google::Apis::GkehubV1alpha::MeteringMembershipState::Representation
|
786
896
|
|
787
897
|
property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState::Representation
|
@@ -19,17 +19,17 @@ require 'google/apis/gkehub_v1alpha/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 GkehubV1alpha
|
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 = 'V1alpha'
|
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_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.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 V1alpha. Simple REST clients
|
33
|
+
description: This is the simple REST client for GKE Hub API V1alpha. 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_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.11.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1alpha
|
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 V1alpha
|
81
|
+
summary: Simple REST client for GKE Hub API V1alpha
|
82
82
|
test_files: []
|