google-apis-gkehub_v1 0.12.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/gkehub_v1/classes.rb +281 -133
- data/lib/google/apis/gkehub_v1/gem_version.rb +2 -2
- data/lib/google/apis/gkehub_v1/representations.rb +97 -34
- data/lib/google/apis/gkehub_v1/service.rb +20 -14
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f02d8c1a6706479c3f121f726a4ec8ab01aa4633eee2c2cdf225d2de8dbaff9
|
4
|
+
data.tar.gz: d39f3956d60d3b5cb8c1b532f12ce3ffc4f9187f3df9ca05ea55ce07a553d74c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f3ff03ab2873afeb53b7a3ab574b1874936391026106e8ab8734fc65b7880c03e715a943f2c20b3c0373a7d9596d4457229e9fa1a8560149b9ed445f25eae45
|
7
|
+
data.tar.gz: 7e4cfd20c7d8a46a74397844068451d2d8b3794e1a354295a491528b13ef92c6267381c127f37de879b05627a54c67f553cee2e2e5426aa326924130b87b64d2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1
|
2
2
|
|
3
|
+
### v0.16.0 (2021-11-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211105
|
6
|
+
|
7
|
+
### v0.15.0 (2021-10-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211021
|
10
|
+
|
11
|
+
### v0.14.0 (2021-10-24)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211015
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.13.0 (2021-10-04)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210927
|
19
|
+
|
3
20
|
### v0.12.0 (2021-09-26)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210920
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Gkehub service in particular.)
|
67
67
|
|
@@ -22,6 +22,38 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module GkehubV1
|
24
24
|
|
25
|
+
# Spec for App Dev Experience Feature.
|
26
|
+
class AppDevExperienceFeatureSpec
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
def initialize(**args)
|
30
|
+
update!(**args)
|
31
|
+
end
|
32
|
+
|
33
|
+
# Update properties of this object
|
34
|
+
def update!(**args)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
# State for App Dev Exp Feature.
|
39
|
+
class AppDevExperienceFeatureState
|
40
|
+
include Google::Apis::Core::Hashable
|
41
|
+
|
42
|
+
# Status specifies state for the subcomponent.
|
43
|
+
# Corresponds to the JSON property `networkingInstallSucceeded`
|
44
|
+
# @return [Google::Apis::GkehubV1::Status]
|
45
|
+
attr_accessor :networking_install_succeeded
|
46
|
+
|
47
|
+
def initialize(**args)
|
48
|
+
update!(**args)
|
49
|
+
end
|
50
|
+
|
51
|
+
# Update properties of this object
|
52
|
+
def update!(**args)
|
53
|
+
@networking_install_succeeded = args[:networking_install_succeeded] if args.key?(:networking_install_succeeded)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
25
57
|
# Specifies the audit configuration for a service. The configuration determines
|
26
58
|
# which permission types are logged, and what identities, if any, are exempted
|
27
59
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
@@ -147,7 +179,7 @@ module Google
|
|
147
179
|
end
|
148
180
|
end
|
149
181
|
|
150
|
-
# Associates `members
|
182
|
+
# Associates `members`, or principals, with a `role`.
|
151
183
|
class Binding
|
152
184
|
include Google::Apis::Core::Hashable
|
153
185
|
|
@@ -170,7 +202,7 @@ module Google
|
|
170
202
|
# @return [Google::Apis::GkehubV1::Expr]
|
171
203
|
attr_accessor :condition
|
172
204
|
|
173
|
-
# Specifies the
|
205
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
174
206
|
# members` can have the following values: * `allUsers`: A special identifier
|
175
207
|
# that represents anyone who is on the internet; with or without a Google
|
176
208
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -200,8 +232,8 @@ module Google
|
|
200
232
|
# @return [Array<String>]
|
201
233
|
attr_accessor :members
|
202
234
|
|
203
|
-
# Role that is assigned to `members
|
204
|
-
#
|
235
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
236
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
205
237
|
# Corresponds to the JSON property `role`
|
206
238
|
# @return [String]
|
207
239
|
attr_accessor :role
|
@@ -235,6 +267,11 @@ module Google
|
|
235
267
|
class CommonFeatureSpec
|
236
268
|
include Google::Apis::Core::Hashable
|
237
269
|
|
270
|
+
# Spec for App Dev Experience Feature.
|
271
|
+
# Corresponds to the JSON property `appdevexperience`
|
272
|
+
# @return [Google::Apis::GkehubV1::AppDevExperienceFeatureSpec]
|
273
|
+
attr_accessor :appdevexperience
|
274
|
+
|
238
275
|
# **Multi-cluster Ingress**: The configuration for the MultiClusterIngress
|
239
276
|
# feature.
|
240
277
|
# Corresponds to the JSON property `multiclusteringress`
|
@@ -247,6 +284,7 @@ module Google
|
|
247
284
|
|
248
285
|
# Update properties of this object
|
249
286
|
def update!(**args)
|
287
|
+
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
250
288
|
@multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
|
251
289
|
end
|
252
290
|
end
|
@@ -255,6 +293,11 @@ module Google
|
|
255
293
|
class CommonFeatureState
|
256
294
|
include Google::Apis::Core::Hashable
|
257
295
|
|
296
|
+
# State for App Dev Exp Feature.
|
297
|
+
# Corresponds to the JSON property `appdevexperience`
|
298
|
+
# @return [Google::Apis::GkehubV1::AppDevExperienceFeatureState]
|
299
|
+
attr_accessor :appdevexperience
|
300
|
+
|
258
301
|
# FeatureState describes the high-level state of a Feature. It may be used to
|
259
302
|
# describe a Feature's state at the environ-level, or per-membershop, depending
|
260
303
|
# on the context.
|
@@ -268,6 +311,7 @@ module Google
|
|
268
311
|
|
269
312
|
# Update properties of this object
|
270
313
|
def update!(**args)
|
314
|
+
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
271
315
|
@state = args[:state] if args.key?(:state)
|
272
316
|
end
|
273
317
|
end
|
@@ -276,15 +320,28 @@ module Google
|
|
276
320
|
class ConfigManagementConfigSync
|
277
321
|
include Google::Apis::Core::Hashable
|
278
322
|
|
323
|
+
# Enables the installation of ConfigSync. If set to true, ConfigSync resources
|
324
|
+
# will be created and the other ConfigSync fields will be applied if exist. If
|
325
|
+
# set to false, all other ConfigSync fields will be ignored, ConfigSync
|
326
|
+
# resources will be deleted. If omitted, ConfigSync resources will be managed
|
327
|
+
# depends on the presence of git field.
|
328
|
+
# Corresponds to the JSON property `enabled`
|
329
|
+
# @return [Boolean]
|
330
|
+
attr_accessor :enabled
|
331
|
+
alias_method :enabled?, :enabled
|
332
|
+
|
279
333
|
# Git repo configuration for a single cluster.
|
280
334
|
# Corresponds to the JSON property `git`
|
281
335
|
# @return [Google::Apis::GkehubV1::ConfigManagementGitConfig]
|
282
336
|
attr_accessor :git
|
283
337
|
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
287
|
-
|
338
|
+
# Set to true to enable the Config Sync admission webhook to prevent drifts. If
|
339
|
+
# set to `false`, disables the Config Sync admission webhook and does not
|
340
|
+
# prevent drifts.
|
341
|
+
# Corresponds to the JSON property `preventDrift`
|
342
|
+
# @return [Boolean]
|
343
|
+
attr_accessor :prevent_drift
|
344
|
+
alias_method :prevent_drift?, :prevent_drift
|
288
345
|
|
289
346
|
# Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured”
|
290
347
|
# mode.
|
@@ -298,8 +355,9 @@ module Google
|
|
298
355
|
|
299
356
|
# Update properties of this object
|
300
357
|
def update!(**args)
|
358
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
301
359
|
@git = args[:git] if args.key?(:git)
|
302
|
-
@
|
360
|
+
@prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
|
303
361
|
@source_format = args[:source_format] if args.key?(:source_format)
|
304
362
|
end
|
305
363
|
end
|
@@ -445,42 +503,6 @@ module Google
|
|
445
503
|
end
|
446
504
|
end
|
447
505
|
|
448
|
-
# ResourceRequirements allows to override the CPU and memory resource
|
449
|
-
# requirements of a container.
|
450
|
-
class ConfigManagementContainerResourceRequirements
|
451
|
-
include Google::Apis::Core::Hashable
|
452
|
-
|
453
|
-
# Name of the container
|
454
|
-
# Corresponds to the JSON property `containerName`
|
455
|
-
# @return [String]
|
456
|
-
attr_accessor :container_name
|
457
|
-
|
458
|
-
# The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
|
459
|
-
# github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
|
460
|
-
# pkg/api/resource/generated.proto
|
461
|
-
# Corresponds to the JSON property `cpuLimit`
|
462
|
-
# @return [Google::Apis::GkehubV1::ConfigManagementQuantity]
|
463
|
-
attr_accessor :cpu_limit
|
464
|
-
|
465
|
-
# The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
|
466
|
-
# github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
|
467
|
-
# pkg/api/resource/generated.proto
|
468
|
-
# Corresponds to the JSON property `memoryLimit`
|
469
|
-
# @return [Google::Apis::GkehubV1::ConfigManagementQuantity]
|
470
|
-
attr_accessor :memory_limit
|
471
|
-
|
472
|
-
def initialize(**args)
|
473
|
-
update!(**args)
|
474
|
-
end
|
475
|
-
|
476
|
-
# Update properties of this object
|
477
|
-
def update!(**args)
|
478
|
-
@container_name = args[:container_name] if args.key?(:container_name)
|
479
|
-
@cpu_limit = args[:cpu_limit] if args.key?(:cpu_limit)
|
480
|
-
@memory_limit = args[:memory_limit] if args.key?(:memory_limit)
|
481
|
-
end
|
482
|
-
end
|
483
|
-
|
484
506
|
# Model for a config file in the git repo with an associated Sync error
|
485
507
|
class ConfigManagementErrorResource
|
486
508
|
include Google::Apis::Core::Hashable
|
@@ -558,19 +580,15 @@ module Google
|
|
558
580
|
# @return [String]
|
559
581
|
attr_accessor :https_proxy
|
560
582
|
|
561
|
-
# Enable or disable the SSL certificate verification Default: false.
|
562
|
-
# Corresponds to the JSON property `noSslVerify`
|
563
|
-
# @return [Boolean]
|
564
|
-
attr_accessor :no_ssl_verify
|
565
|
-
alias_method :no_ssl_verify?, :no_ssl_verify
|
566
|
-
|
567
583
|
# The path within the Git repository that represents the top level of the repo
|
568
584
|
# to sync. Default: the root directory of the repository.
|
569
585
|
# Corresponds to the JSON property `policyDir`
|
570
586
|
# @return [String]
|
571
587
|
attr_accessor :policy_dir
|
572
588
|
|
573
|
-
# Type of secret configured for access to the Git repo.
|
589
|
+
# Type of secret configured for access to the Git repo. Must be one of ssh,
|
590
|
+
# cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this
|
591
|
+
# is case-sensitive. Required.
|
574
592
|
# Corresponds to the JSON property `secretType`
|
575
593
|
# @return [String]
|
576
594
|
attr_accessor :secret_type
|
@@ -580,11 +598,6 @@ module Google
|
|
580
598
|
# @return [String]
|
581
599
|
attr_accessor :sync_branch
|
582
600
|
|
583
|
-
# The depth of git commits synced by the git-sync container.
|
584
|
-
# Corresponds to the JSON property `syncDepth`
|
585
|
-
# @return [Fixnum]
|
586
|
-
attr_accessor :sync_depth
|
587
|
-
|
588
601
|
# The URL of the Git repository to use as the source of truth.
|
589
602
|
# Corresponds to the JSON property `syncRepo`
|
590
603
|
# @return [String]
|
@@ -608,11 +621,9 @@ module Google
|
|
608
621
|
def update!(**args)
|
609
622
|
@gcp_service_account_email = args[:gcp_service_account_email] if args.key?(:gcp_service_account_email)
|
610
623
|
@https_proxy = args[:https_proxy] if args.key?(:https_proxy)
|
611
|
-
@no_ssl_verify = args[:no_ssl_verify] if args.key?(:no_ssl_verify)
|
612
624
|
@policy_dir = args[:policy_dir] if args.key?(:policy_dir)
|
613
625
|
@secret_type = args[:secret_type] if args.key?(:secret_type)
|
614
626
|
@sync_branch = args[:sync_branch] if args.key?(:sync_branch)
|
615
|
-
@sync_depth = args[:sync_depth] if args.key?(:sync_depth)
|
616
627
|
@sync_repo = args[:sync_repo] if args.key?(:sync_repo)
|
617
628
|
@sync_rev = args[:sync_rev] if args.key?(:sync_rev)
|
618
629
|
@sync_wait_secs = args[:sync_wait_secs] if args.key?(:sync_wait_secs)
|
@@ -1002,27 +1013,6 @@ module Google
|
|
1002
1013
|
end
|
1003
1014
|
end
|
1004
1015
|
|
1005
|
-
# The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
|
1006
|
-
# github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
|
1007
|
-
# pkg/api/resource/generated.proto
|
1008
|
-
class ConfigManagementQuantity
|
1009
|
-
include Google::Apis::Core::Hashable
|
1010
|
-
|
1011
|
-
# Stringified version of the quantity, e.g., "800 MiB".
|
1012
|
-
# Corresponds to the JSON property `string`
|
1013
|
-
# @return [String]
|
1014
|
-
attr_accessor :string
|
1015
|
-
|
1016
|
-
def initialize(**args)
|
1017
|
-
update!(**args)
|
1018
|
-
end
|
1019
|
-
|
1020
|
-
# Update properties of this object
|
1021
|
-
def update!(**args)
|
1022
|
-
@string = args[:string] if args.key?(:string)
|
1023
|
-
end
|
1024
|
-
end
|
1025
|
-
|
1026
1016
|
# An ACM created error representing a problem syncing configurations
|
1027
1017
|
class ConfigManagementSyncError
|
1028
1018
|
include Google::Apis::Core::Hashable
|
@@ -1501,6 +1491,61 @@ module Google
|
|
1501
1491
|
end
|
1502
1492
|
end
|
1503
1493
|
|
1494
|
+
# KubernetesResource contains the YAML manifests and configuration for
|
1495
|
+
# Membership Kubernetes resources in the cluster. After CreateMembership or
|
1496
|
+
# UpdateMembership, these resources should be re-applied in the cluster.
|
1497
|
+
class KubernetesResource
|
1498
|
+
include Google::Apis::Core::Hashable
|
1499
|
+
|
1500
|
+
# Output only. The Kubernetes resources for installing the GKE Connect agent
|
1501
|
+
# This field is only populated in the Membership returned from a successful long-
|
1502
|
+
# running operation from CreateMembership or UpdateMembership. It is not
|
1503
|
+
# populated during normal GetMembership or ListMemberships requests. To get the
|
1504
|
+
# resource manifest after the initial registration, the caller should make a
|
1505
|
+
# UpdateMembership call with an empty field mask.
|
1506
|
+
# Corresponds to the JSON property `connectResources`
|
1507
|
+
# @return [Array<Google::Apis::GkehubV1::ResourceManifest>]
|
1508
|
+
attr_accessor :connect_resources
|
1509
|
+
|
1510
|
+
# Input only. The YAML representation of the Membership CR. This field is
|
1511
|
+
# ignored for GKE clusters where Hub can read the CR directly. Callers should
|
1512
|
+
# provide the CR that is currently present in the cluster during
|
1513
|
+
# CreateMembership or UpdateMembership, or leave this field empty if none exists.
|
1514
|
+
# The CR manifest is used to validate the cluster has not been registered with
|
1515
|
+
# another Membership.
|
1516
|
+
# Corresponds to the JSON property `membershipCrManifest`
|
1517
|
+
# @return [String]
|
1518
|
+
attr_accessor :membership_cr_manifest
|
1519
|
+
|
1520
|
+
# Output only. Additional Kubernetes resources that need to be applied to the
|
1521
|
+
# cluster after Membership creation, and after every update. This field is only
|
1522
|
+
# populated in the Membership returned from a successful long-running operation
|
1523
|
+
# from CreateMembership or UpdateMembership. It is not populated during normal
|
1524
|
+
# GetMembership or ListMemberships requests. To get the resource manifest after
|
1525
|
+
# the initial registration, the caller should make a UpdateMembership call with
|
1526
|
+
# an empty field mask.
|
1527
|
+
# Corresponds to the JSON property `membershipResources`
|
1528
|
+
# @return [Array<Google::Apis::GkehubV1::ResourceManifest>]
|
1529
|
+
attr_accessor :membership_resources
|
1530
|
+
|
1531
|
+
# ResourceOptions represent options for Kubernetes resource generation.
|
1532
|
+
# Corresponds to the JSON property `resourceOptions`
|
1533
|
+
# @return [Google::Apis::GkehubV1::ResourceOptions]
|
1534
|
+
attr_accessor :resource_options
|
1535
|
+
|
1536
|
+
def initialize(**args)
|
1537
|
+
update!(**args)
|
1538
|
+
end
|
1539
|
+
|
1540
|
+
# Update properties of this object
|
1541
|
+
def update!(**args)
|
1542
|
+
@connect_resources = args[:connect_resources] if args.key?(:connect_resources)
|
1543
|
+
@membership_cr_manifest = args[:membership_cr_manifest] if args.key?(:membership_cr_manifest)
|
1544
|
+
@membership_resources = args[:membership_resources] if args.key?(:membership_resources)
|
1545
|
+
@resource_options = args[:resource_options] if args.key?(:resource_options)
|
1546
|
+
end
|
1547
|
+
end
|
1548
|
+
|
1504
1549
|
# Response message for the `GkeHub.ListFeatures` method.
|
1505
1550
|
class ListFeaturesResponse
|
1506
1551
|
include Google::Apis::Core::Hashable
|
@@ -1776,6 +1821,13 @@ module Google
|
|
1776
1821
|
# @return [Google::Apis::GkehubV1::KubernetesMetadata]
|
1777
1822
|
attr_accessor :kubernetes_metadata
|
1778
1823
|
|
1824
|
+
# KubernetesResource contains the YAML manifests and configuration for
|
1825
|
+
# Membership Kubernetes resources in the cluster. After CreateMembership or
|
1826
|
+
# UpdateMembership, these resources should be re-applied in the cluster.
|
1827
|
+
# Corresponds to the JSON property `kubernetesResource`
|
1828
|
+
# @return [Google::Apis::GkehubV1::KubernetesResource]
|
1829
|
+
attr_accessor :kubernetes_resource
|
1830
|
+
|
1779
1831
|
# MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
|
1780
1832
|
# Corresponds to the JSON property `multiCloudCluster`
|
1781
1833
|
# @return [Google::Apis::GkehubV1::MultiCloudCluster]
|
@@ -1794,6 +1846,7 @@ module Google
|
|
1794
1846
|
def update!(**args)
|
1795
1847
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
1796
1848
|
@kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
|
1849
|
+
@kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource)
|
1797
1850
|
@multi_cloud_cluster = args[:multi_cloud_cluster] if args.key?(:multi_cloud_cluster)
|
1798
1851
|
@on_prem_cluster = args[:on_prem_cluster] if args.key?(:on_prem_cluster)
|
1799
1852
|
end
|
@@ -1825,6 +1878,11 @@ module Google
|
|
1825
1878
|
class MembershipFeatureState
|
1826
1879
|
include Google::Apis::Core::Hashable
|
1827
1880
|
|
1881
|
+
# State for App Dev Exp Feature.
|
1882
|
+
# Corresponds to the JSON property `appdevexperience`
|
1883
|
+
# @return [Google::Apis::GkehubV1::AppDevExperienceFeatureState]
|
1884
|
+
attr_accessor :appdevexperience
|
1885
|
+
|
1828
1886
|
# **Anthos Config Management**: State for a single cluster.
|
1829
1887
|
# Corresponds to the JSON property `configmanagement`
|
1830
1888
|
# @return [Google::Apis::GkehubV1::ConfigManagementMembershipState]
|
@@ -1843,6 +1901,7 @@ module Google
|
|
1843
1901
|
|
1844
1902
|
# Update properties of this object
|
1845
1903
|
def update!(**args)
|
1904
|
+
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
1846
1905
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
1847
1906
|
@state = args[:state] if args.key?(:state)
|
1848
1907
|
end
|
@@ -2078,31 +2137,31 @@ module Google
|
|
2078
2137
|
|
2079
2138
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2080
2139
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
2081
|
-
# A `binding` binds one or more `members
|
2082
|
-
# user accounts, service accounts, Google groups, and domains (
|
2083
|
-
# A `role` is a named list of permissions; each `role` can be
|
2084
|
-
# role or a user-created custom role. For some types of Google
|
2085
|
-
# a `binding` can also specify a `condition`, which is a
|
2086
|
-
# allows access to a resource only if the expression
|
2087
|
-
# condition can add constraints based on attributes of
|
2088
|
-
# or both. To learn which resources support
|
2089
|
-
# see the [IAM documentation](https://cloud.
|
2090
|
-
# resource-policies). **JSON example:** ` "
|
2091
|
-
# resourcemanager.organizationAdmin", "members": [
|
2092
|
-
# group:admins@example.com", "domain:google.com", "
|
2093
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
2094
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
2095
|
-
# title": "expirable access", "description": "Does not grant
|
2096
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2097
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2098
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
2099
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2100
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
2101
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
2102
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
2103
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2104
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
2105
|
-
# google.com/iam/docs/).
|
2140
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
2141
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
2142
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
2143
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
2144
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
2145
|
+
# logical expression that allows access to a resource only if the expression
|
2146
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
2147
|
+
# the request, the resource, or both. To learn which resources support
|
2148
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2149
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
2150
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
2151
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
2152
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
2153
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
2154
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
2155
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2156
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2157
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
2158
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2159
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
2160
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
2161
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
2162
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2163
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
2164
|
+
# cloud.google.com/iam/docs/).
|
2106
2165
|
class Policy
|
2107
2166
|
include Google::Apis::Core::Hashable
|
2108
2167
|
|
@@ -2111,9 +2170,14 @@ module Google
|
|
2111
2170
|
# @return [Array<Google::Apis::GkehubV1::AuditConfig>]
|
2112
2171
|
attr_accessor :audit_configs
|
2113
2172
|
|
2114
|
-
# Associates a list of `members
|
2115
|
-
# condition` that determines how and when the `bindings` are applied.
|
2116
|
-
# the `bindings` must contain at least one
|
2173
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
2174
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
2175
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
2176
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
2177
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
2178
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
2179
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
2180
|
+
# principals to the `bindings` in the `Policy`.
|
2117
2181
|
# Corresponds to the JSON property `bindings`
|
2118
2182
|
# @return [Array<Google::Apis::GkehubV1::Binding>]
|
2119
2183
|
attr_accessor :bindings
|
@@ -2166,37 +2230,96 @@ module Google
|
|
2166
2230
|
end
|
2167
2231
|
end
|
2168
2232
|
|
2233
|
+
# ResourceManifest represents a single Kubernetes resource to be applied to the
|
2234
|
+
# cluster.
|
2235
|
+
class ResourceManifest
|
2236
|
+
include Google::Apis::Core::Hashable
|
2237
|
+
|
2238
|
+
# Whether the resource provided in the manifest is `cluster_scoped`. If unset,
|
2239
|
+
# the manifest is assumed to be namespace scoped. This field is used for REST
|
2240
|
+
# mapping when applying the resource in a cluster.
|
2241
|
+
# Corresponds to the JSON property `clusterScoped`
|
2242
|
+
# @return [Boolean]
|
2243
|
+
attr_accessor :cluster_scoped
|
2244
|
+
alias_method :cluster_scoped?, :cluster_scoped
|
2245
|
+
|
2246
|
+
# YAML manifest of the resource.
|
2247
|
+
# Corresponds to the JSON property `manifest`
|
2248
|
+
# @return [String]
|
2249
|
+
attr_accessor :manifest
|
2250
|
+
|
2251
|
+
def initialize(**args)
|
2252
|
+
update!(**args)
|
2253
|
+
end
|
2254
|
+
|
2255
|
+
# Update properties of this object
|
2256
|
+
def update!(**args)
|
2257
|
+
@cluster_scoped = args[:cluster_scoped] if args.key?(:cluster_scoped)
|
2258
|
+
@manifest = args[:manifest] if args.key?(:manifest)
|
2259
|
+
end
|
2260
|
+
end
|
2261
|
+
|
2262
|
+
# ResourceOptions represent options for Kubernetes resource generation.
|
2263
|
+
class ResourceOptions
|
2264
|
+
include Google::Apis::Core::Hashable
|
2265
|
+
|
2266
|
+
# Optional. The Connect agent version to use for connect_resources. Defaults to
|
2267
|
+
# the latest GKE Connect version. The version must be a currently supported
|
2268
|
+
# version, obsolete versions will be rejected.
|
2269
|
+
# Corresponds to the JSON property `connectVersion`
|
2270
|
+
# @return [String]
|
2271
|
+
attr_accessor :connect_version
|
2272
|
+
|
2273
|
+
# Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
|
2274
|
+
# CustomResourceDefinition resources. This option should be set for clusters
|
2275
|
+
# with Kubernetes apiserver versions <1.16.
|
2276
|
+
# Corresponds to the JSON property `v1beta1Crd`
|
2277
|
+
# @return [Boolean]
|
2278
|
+
attr_accessor :v1beta1_crd
|
2279
|
+
alias_method :v1beta1_crd?, :v1beta1_crd
|
2280
|
+
|
2281
|
+
def initialize(**args)
|
2282
|
+
update!(**args)
|
2283
|
+
end
|
2284
|
+
|
2285
|
+
# Update properties of this object
|
2286
|
+
def update!(**args)
|
2287
|
+
@connect_version = args[:connect_version] if args.key?(:connect_version)
|
2288
|
+
@v1beta1_crd = args[:v1beta1_crd] if args.key?(:v1beta1_crd)
|
2289
|
+
end
|
2290
|
+
end
|
2291
|
+
|
2169
2292
|
# Request message for `SetIamPolicy` method.
|
2170
2293
|
class SetIamPolicyRequest
|
2171
2294
|
include Google::Apis::Core::Hashable
|
2172
2295
|
|
2173
2296
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2174
2297
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
2175
|
-
# A `binding` binds one or more `members
|
2176
|
-
# user accounts, service accounts, Google groups, and domains (
|
2177
|
-
# A `role` is a named list of permissions; each `role` can be
|
2178
|
-
# role or a user-created custom role. For some types of Google
|
2179
|
-
# a `binding` can also specify a `condition`, which is a
|
2180
|
-
# allows access to a resource only if the expression
|
2181
|
-
# condition can add constraints based on attributes of
|
2182
|
-
# or both. To learn which resources support
|
2183
|
-
# see the [IAM documentation](https://cloud.
|
2184
|
-
# resource-policies). **JSON example:** ` "
|
2185
|
-
# resourcemanager.organizationAdmin", "members": [
|
2186
|
-
# group:admins@example.com", "domain:google.com", "
|
2187
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
2188
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
2189
|
-
# title": "expirable access", "description": "Does not grant
|
2190
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2191
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2192
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
2193
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2194
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
2195
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
2196
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
2197
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2198
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
2199
|
-
# google.com/iam/docs/).
|
2298
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
2299
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
2300
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
2301
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
2302
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
2303
|
+
# logical expression that allows access to a resource only if the expression
|
2304
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
2305
|
+
# the request, the resource, or both. To learn which resources support
|
2306
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2307
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
2308
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
2309
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
2310
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
2311
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
2312
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
2313
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2314
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2315
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
2316
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2317
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
2318
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
2319
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
2320
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2321
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
2322
|
+
# cloud.google.com/iam/docs/).
|
2200
2323
|
# Corresponds to the JSON property `policy`
|
2201
2324
|
# @return [Google::Apis::GkehubV1::Policy]
|
2202
2325
|
attr_accessor :policy
|
@@ -2219,6 +2342,31 @@ module Google
|
|
2219
2342
|
end
|
2220
2343
|
end
|
2221
2344
|
|
2345
|
+
# Status specifies state for the subcomponent.
|
2346
|
+
class Status
|
2347
|
+
include Google::Apis::Core::Hashable
|
2348
|
+
|
2349
|
+
# Code specifies AppDevExperienceFeature's subcomponent ready state.
|
2350
|
+
# Corresponds to the JSON property `code`
|
2351
|
+
# @return [String]
|
2352
|
+
attr_accessor :code
|
2353
|
+
|
2354
|
+
# Description is populated if Code is Failed, explaining why it has failed.
|
2355
|
+
# Corresponds to the JSON property `description`
|
2356
|
+
# @return [String]
|
2357
|
+
attr_accessor :description
|
2358
|
+
|
2359
|
+
def initialize(**args)
|
2360
|
+
update!(**args)
|
2361
|
+
end
|
2362
|
+
|
2363
|
+
# Update properties of this object
|
2364
|
+
def update!(**args)
|
2365
|
+
@code = args[:code] if args.key?(:code)
|
2366
|
+
@description = args[:description] if args.key?(:description)
|
2367
|
+
end
|
2368
|
+
end
|
2369
|
+
|
2222
2370
|
# Request message for `TestIamPermissions` method.
|
2223
2371
|
class TestIamPermissionsRequest
|
2224
2372
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1
|
18
18
|
# Version of the google-apis-gkehub_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211105"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,18 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module GkehubV1
|
24
24
|
|
25
|
+
class AppDevExperienceFeatureSpec
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AppDevExperienceFeatureState
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
25
37
|
class AuditConfig
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
39
|
|
@@ -88,12 +100,6 @@ module Google
|
|
88
100
|
include Google::Apis::Core::JsonObjectSupport
|
89
101
|
end
|
90
102
|
|
91
|
-
class ConfigManagementContainerResourceRequirements
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
-
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
95
|
-
end
|
96
|
-
|
97
103
|
class ConfigManagementErrorResource
|
98
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
105
|
|
@@ -184,12 +190,6 @@ module Google
|
|
184
190
|
include Google::Apis::Core::JsonObjectSupport
|
185
191
|
end
|
186
192
|
|
187
|
-
class ConfigManagementQuantity
|
188
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
-
|
190
|
-
include Google::Apis::Core::JsonObjectSupport
|
191
|
-
end
|
192
|
-
|
193
193
|
class ConfigManagementSyncError
|
194
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
195
|
|
@@ -262,6 +262,12 @@ module Google
|
|
262
262
|
include Google::Apis::Core::JsonObjectSupport
|
263
263
|
end
|
264
264
|
|
265
|
+
class KubernetesResource
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
265
271
|
class ListFeaturesResponse
|
266
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
273
|
|
@@ -358,12 +364,30 @@ module Google
|
|
358
364
|
include Google::Apis::Core::JsonObjectSupport
|
359
365
|
end
|
360
366
|
|
367
|
+
class ResourceManifest
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
373
|
+
class ResourceOptions
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
361
379
|
class SetIamPolicyRequest
|
362
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
381
|
|
364
382
|
include Google::Apis::Core::JsonObjectSupport
|
365
383
|
end
|
366
384
|
|
385
|
+
class Status
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
367
391
|
class TestIamPermissionsRequest
|
368
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
393
|
|
@@ -382,6 +406,20 @@ module Google
|
|
382
406
|
include Google::Apis::Core::JsonObjectSupport
|
383
407
|
end
|
384
408
|
|
409
|
+
class AppDevExperienceFeatureSpec
|
410
|
+
# @private
|
411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
412
|
+
end
|
413
|
+
end
|
414
|
+
|
415
|
+
class AppDevExperienceFeatureState
|
416
|
+
# @private
|
417
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
418
|
+
property :networking_install_succeeded, as: 'networkingInstallSucceeded', class: Google::Apis::GkehubV1::Status, decorator: Google::Apis::GkehubV1::Status::Representation
|
419
|
+
|
420
|
+
end
|
421
|
+
end
|
422
|
+
|
385
423
|
class AuditConfig
|
386
424
|
# @private
|
387
425
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -428,6 +466,8 @@ module Google
|
|
428
466
|
class CommonFeatureSpec
|
429
467
|
# @private
|
430
468
|
class Representation < Google::Apis::Core::JsonRepresentation
|
469
|
+
property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1::AppDevExperienceFeatureSpec, decorator: Google::Apis::GkehubV1::AppDevExperienceFeatureSpec::Representation
|
470
|
+
|
431
471
|
property :multiclusteringress, as: 'multiclusteringress', class: Google::Apis::GkehubV1::MultiClusterIngressFeatureSpec, decorator: Google::Apis::GkehubV1::MultiClusterIngressFeatureSpec::Representation
|
432
472
|
|
433
473
|
end
|
@@ -436,6 +476,8 @@ module Google
|
|
436
476
|
class CommonFeatureState
|
437
477
|
# @private
|
438
478
|
class Representation < Google::Apis::Core::JsonRepresentation
|
479
|
+
property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1::AppDevExperienceFeatureState::Representation
|
480
|
+
|
439
481
|
property :state, as: 'state', class: Google::Apis::GkehubV1::FeatureState, decorator: Google::Apis::GkehubV1::FeatureState::Representation
|
440
482
|
|
441
483
|
end
|
@@ -444,10 +486,10 @@ module Google
|
|
444
486
|
class ConfigManagementConfigSync
|
445
487
|
# @private
|
446
488
|
class Representation < Google::Apis::Core::JsonRepresentation
|
489
|
+
property :enabled, as: 'enabled'
|
447
490
|
property :git, as: 'git', class: Google::Apis::GkehubV1::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1::ConfigManagementGitConfig::Representation
|
448
491
|
|
449
|
-
|
450
|
-
|
492
|
+
property :prevent_drift, as: 'preventDrift'
|
451
493
|
property :source_format, as: 'sourceFormat'
|
452
494
|
end
|
453
495
|
end
|
@@ -490,17 +532,6 @@ module Google
|
|
490
532
|
end
|
491
533
|
end
|
492
534
|
|
493
|
-
class ConfigManagementContainerResourceRequirements
|
494
|
-
# @private
|
495
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
496
|
-
property :container_name, as: 'containerName'
|
497
|
-
property :cpu_limit, as: 'cpuLimit', class: Google::Apis::GkehubV1::ConfigManagementQuantity, decorator: Google::Apis::GkehubV1::ConfigManagementQuantity::Representation
|
498
|
-
|
499
|
-
property :memory_limit, as: 'memoryLimit', class: Google::Apis::GkehubV1::ConfigManagementQuantity, decorator: Google::Apis::GkehubV1::ConfigManagementQuantity::Representation
|
500
|
-
|
501
|
-
end
|
502
|
-
end
|
503
|
-
|
504
535
|
class ConfigManagementErrorResource
|
505
536
|
# @private
|
506
537
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -525,11 +556,9 @@ module Google
|
|
525
556
|
class Representation < Google::Apis::Core::JsonRepresentation
|
526
557
|
property :gcp_service_account_email, as: 'gcpServiceAccountEmail'
|
527
558
|
property :https_proxy, as: 'httpsProxy'
|
528
|
-
property :no_ssl_verify, as: 'noSslVerify'
|
529
559
|
property :policy_dir, as: 'policyDir'
|
530
560
|
property :secret_type, as: 'secretType'
|
531
561
|
property :sync_branch, as: 'syncBranch'
|
532
|
-
property :sync_depth, :numeric_string => true, as: 'syncDepth'
|
533
562
|
property :sync_repo, as: 'syncRepo'
|
534
563
|
property :sync_rev, as: 'syncRev'
|
535
564
|
property :sync_wait_secs, :numeric_string => true, as: 'syncWaitSecs'
|
@@ -656,13 +685,6 @@ module Google
|
|
656
685
|
end
|
657
686
|
end
|
658
687
|
|
659
|
-
class ConfigManagementQuantity
|
660
|
-
# @private
|
661
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
662
|
-
property :string, as: 'string'
|
663
|
-
end
|
664
|
-
end
|
665
|
-
|
666
688
|
class ConfigManagementSyncError
|
667
689
|
# @private
|
668
690
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -786,6 +808,19 @@ module Google
|
|
786
808
|
end
|
787
809
|
end
|
788
810
|
|
811
|
+
class KubernetesResource
|
812
|
+
# @private
|
813
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
814
|
+
collection :connect_resources, as: 'connectResources', class: Google::Apis::GkehubV1::ResourceManifest, decorator: Google::Apis::GkehubV1::ResourceManifest::Representation
|
815
|
+
|
816
|
+
property :membership_cr_manifest, as: 'membershipCrManifest'
|
817
|
+
collection :membership_resources, as: 'membershipResources', class: Google::Apis::GkehubV1::ResourceManifest, decorator: Google::Apis::GkehubV1::ResourceManifest::Representation
|
818
|
+
|
819
|
+
property :resource_options, as: 'resourceOptions', class: Google::Apis::GkehubV1::ResourceOptions, decorator: Google::Apis::GkehubV1::ResourceOptions::Representation
|
820
|
+
|
821
|
+
end
|
822
|
+
end
|
823
|
+
|
789
824
|
class ListFeaturesResponse
|
790
825
|
# @private
|
791
826
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -862,6 +897,8 @@ module Google
|
|
862
897
|
|
863
898
|
property :kubernetes_metadata, as: 'kubernetesMetadata', class: Google::Apis::GkehubV1::KubernetesMetadata, decorator: Google::Apis::GkehubV1::KubernetesMetadata::Representation
|
864
899
|
|
900
|
+
property :kubernetes_resource, as: 'kubernetesResource', class: Google::Apis::GkehubV1::KubernetesResource, decorator: Google::Apis::GkehubV1::KubernetesResource::Representation
|
901
|
+
|
865
902
|
property :multi_cloud_cluster, as: 'multiCloudCluster', class: Google::Apis::GkehubV1::MultiCloudCluster, decorator: Google::Apis::GkehubV1::MultiCloudCluster::Representation
|
866
903
|
|
867
904
|
property :on_prem_cluster, as: 'onPremCluster', class: Google::Apis::GkehubV1::OnPremCluster, decorator: Google::Apis::GkehubV1::OnPremCluster::Representation
|
@@ -880,6 +917,8 @@ module Google
|
|
880
917
|
class MembershipFeatureState
|
881
918
|
# @private
|
882
919
|
class Representation < Google::Apis::Core::JsonRepresentation
|
920
|
+
property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1::AppDevExperienceFeatureState::Representation
|
921
|
+
|
883
922
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1::ConfigManagementMembershipState::Representation
|
884
923
|
|
885
924
|
property :state, as: 'state', class: Google::Apis::GkehubV1::FeatureState, decorator: Google::Apis::GkehubV1::FeatureState::Representation
|
@@ -955,6 +994,22 @@ module Google
|
|
955
994
|
end
|
956
995
|
end
|
957
996
|
|
997
|
+
class ResourceManifest
|
998
|
+
# @private
|
999
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1000
|
+
property :cluster_scoped, as: 'clusterScoped'
|
1001
|
+
property :manifest, as: 'manifest'
|
1002
|
+
end
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
class ResourceOptions
|
1006
|
+
# @private
|
1007
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1008
|
+
property :connect_version, as: 'connectVersion'
|
1009
|
+
property :v1beta1_crd, as: 'v1beta1Crd'
|
1010
|
+
end
|
1011
|
+
end
|
1012
|
+
|
958
1013
|
class SetIamPolicyRequest
|
959
1014
|
# @private
|
960
1015
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -964,6 +1019,14 @@ module Google
|
|
964
1019
|
end
|
965
1020
|
end
|
966
1021
|
|
1022
|
+
class Status
|
1023
|
+
# @private
|
1024
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1025
|
+
property :code, as: 'code'
|
1026
|
+
property :description, as: 'description'
|
1027
|
+
end
|
1028
|
+
end
|
1029
|
+
|
967
1030
|
class TestIamPermissionsRequest
|
968
1031
|
# @private
|
969
1032
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -254,13 +254,16 @@ module Google
|
|
254
254
|
# REQUIRED: The resource for which the policy is being requested. See the
|
255
255
|
# operation documentation for the appropriate value for this field.
|
256
256
|
# @param [Fixnum] options_requested_policy_version
|
257
|
-
# Optional. The policy
|
258
|
-
# 3. Requests specifying an invalid value will be
|
259
|
-
# policies with any conditional bindings must
|
260
|
-
#
|
261
|
-
# field unset.
|
262
|
-
#
|
263
|
-
#
|
257
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
258
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
259
|
+
# rejected. Requests for policies with any conditional role bindings must
|
260
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
261
|
+
# valid value or leave the field unset. The policy in the response might use the
|
262
|
+
# policy version that you specified, or it might use a lower policy version. For
|
263
|
+
# example, if you specify version 3, but the policy has no conditional role
|
264
|
+
# bindings, the response uses version 1. To learn which resources support
|
265
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
266
|
+
# google.com/iam/help/conditions/resource-policies).
|
264
267
|
# @param [String] fields
|
265
268
|
# Selector specifying which fields to include in a partial response.
|
266
269
|
# @param [String] quota_user
|
@@ -662,13 +665,16 @@ module Google
|
|
662
665
|
# REQUIRED: The resource for which the policy is being requested. See the
|
663
666
|
# operation documentation for the appropriate value for this field.
|
664
667
|
# @param [Fixnum] options_requested_policy_version
|
665
|
-
# Optional. The policy
|
666
|
-
# 3. Requests specifying an invalid value will be
|
667
|
-
# policies with any conditional bindings must
|
668
|
-
#
|
669
|
-
# field unset.
|
670
|
-
#
|
671
|
-
#
|
668
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
669
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
670
|
+
# rejected. Requests for policies with any conditional role bindings must
|
671
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
672
|
+
# valid value or leave the field unset. The policy in the response might use the
|
673
|
+
# policy version that you specified, or it might use a lower policy version. For
|
674
|
+
# example, if you specify version 3, but the policy has no conditional role
|
675
|
+
# bindings, the response uses version 1. To learn which resources support
|
676
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
677
|
+
# google.com/iam/help/conditions/resource-policies).
|
672
678
|
# @param [String] fields
|
673
679
|
# Selector specifying which fields to include in a partial response.
|
674
680
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.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-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.16.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|