google-apis-gkehub_v1alpha 0.13.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8755f66b0fbea06bf87f0a12a99df85c96df1d240b6cd248e3e7cba8e59f51f
|
4
|
+
data.tar.gz: 41620756799f442a5304590fafb61ae99a8bef1dee087352bc55577b0fd782b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7126b77193bfdecc566939e5abc3ab816c0e78f51a6b3866854b7331ef051e8abc6dcd6c957d7b9c23acfcfe1efa399f7be33104e8359617c37452ae65ff42a
|
7
|
+
data.tar.gz: fa20b27c76205a3a4f56ad5622043875d57446360375de5a7e6aa776cc9c396bdb95920efeae9c09425e4f80e294c6f8fff0ea64f7b1a8eecdc257f2b1af3770
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha
|
2
2
|
|
3
|
+
### v0.17.0 (2021-12-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211203
|
6
|
+
|
7
|
+
### v0.16.0 (2021-11-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211111
|
10
|
+
|
11
|
+
### v0.15.0 (2021-11-13)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211105
|
14
|
+
|
15
|
+
### v0.14.0 (2021-10-30)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211021
|
18
|
+
|
3
19
|
### v0.13.0 (2021-10-24)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20211015
|
@@ -22,6 +22,68 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module GkehubV1alpha
|
24
24
|
|
25
|
+
# **Anthosobservability**: Per-Membership Feature spec.
|
26
|
+
class AnthosObservabilityMembershipSpec
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# use full of metrics rather than optimized metrics. See https://cloud.google.
|
30
|
+
# com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#
|
31
|
+
# optimized_metrics_default_metrics
|
32
|
+
# Corresponds to the JSON property `doNotOptimizeMetrics`
|
33
|
+
# @return [Boolean]
|
34
|
+
attr_accessor :do_not_optimize_metrics
|
35
|
+
alias_method :do_not_optimize_metrics?, :do_not_optimize_metrics
|
36
|
+
|
37
|
+
# enable collecting and reporting metrics and logs from user apps See go/onyx-
|
38
|
+
# application-metrics-logs-user-guide
|
39
|
+
# Corresponds to the JSON property `enableStackdriverOnApplications`
|
40
|
+
# @return [Boolean]
|
41
|
+
attr_accessor :enable_stackdriver_on_applications
|
42
|
+
alias_method :enable_stackdriver_on_applications?, :enable_stackdriver_on_applications
|
43
|
+
|
44
|
+
def initialize(**args)
|
45
|
+
update!(**args)
|
46
|
+
end
|
47
|
+
|
48
|
+
# Update properties of this object
|
49
|
+
def update!(**args)
|
50
|
+
@do_not_optimize_metrics = args[:do_not_optimize_metrics] if args.key?(:do_not_optimize_metrics)
|
51
|
+
@enable_stackdriver_on_applications = args[:enable_stackdriver_on_applications] if args.key?(:enable_stackdriver_on_applications)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
# Spec for App Dev Experience Feature.
|
56
|
+
class AppDevExperienceFeatureSpec
|
57
|
+
include Google::Apis::Core::Hashable
|
58
|
+
|
59
|
+
def initialize(**args)
|
60
|
+
update!(**args)
|
61
|
+
end
|
62
|
+
|
63
|
+
# Update properties of this object
|
64
|
+
def update!(**args)
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
# State for App Dev Exp Feature.
|
69
|
+
class AppDevExperienceFeatureState
|
70
|
+
include Google::Apis::Core::Hashable
|
71
|
+
|
72
|
+
# Status specifies state for the subcomponent.
|
73
|
+
# Corresponds to the JSON property `networkingInstallSucceeded`
|
74
|
+
# @return [Google::Apis::GkehubV1alpha::Status]
|
75
|
+
attr_accessor :networking_install_succeeded
|
76
|
+
|
77
|
+
def initialize(**args)
|
78
|
+
update!(**args)
|
79
|
+
end
|
80
|
+
|
81
|
+
# Update properties of this object
|
82
|
+
def update!(**args)
|
83
|
+
@networking_install_succeeded = args[:networking_install_succeeded] if args.key?(:networking_install_succeeded)
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
25
87
|
# Specifies the audit configuration for a service. The configuration determines
|
26
88
|
# which permission types are logged, and what identities, if any, are exempted
|
27
89
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
@@ -258,6 +320,11 @@ module Google
|
|
258
320
|
class CommonFeatureSpec
|
259
321
|
include Google::Apis::Core::Hashable
|
260
322
|
|
323
|
+
# Spec for App Dev Experience Feature.
|
324
|
+
# Corresponds to the JSON property `appdevexperience`
|
325
|
+
# @return [Google::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec]
|
326
|
+
attr_accessor :appdevexperience
|
327
|
+
|
261
328
|
# **Cloud Audit Logging**: Spec for Audit Logging Allowlisting.
|
262
329
|
# Corresponds to the JSON property `cloudauditlogging`
|
263
330
|
# @return [Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec]
|
@@ -275,6 +342,7 @@ module Google
|
|
275
342
|
|
276
343
|
# Update properties of this object
|
277
344
|
def update!(**args)
|
345
|
+
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
278
346
|
@cloudauditlogging = args[:cloudauditlogging] if args.key?(:cloudauditlogging)
|
279
347
|
@multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
|
280
348
|
end
|
@@ -284,6 +352,11 @@ module Google
|
|
284
352
|
class CommonFeatureState
|
285
353
|
include Google::Apis::Core::Hashable
|
286
354
|
|
355
|
+
# State for App Dev Exp Feature.
|
356
|
+
# Corresponds to the JSON property `appdevexperience`
|
357
|
+
# @return [Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState]
|
358
|
+
attr_accessor :appdevexperience
|
359
|
+
|
287
360
|
# **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub
|
288
361
|
# Controller.
|
289
362
|
# Corresponds to the JSON property `servicemesh`
|
@@ -303,6 +376,7 @@ module Google
|
|
303
376
|
|
304
377
|
# Update properties of this object
|
305
378
|
def update!(**args)
|
379
|
+
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
306
380
|
@servicemesh = args[:servicemesh] if args.key?(:servicemesh)
|
307
381
|
@state = args[:state] if args.key?(:state)
|
308
382
|
end
|
@@ -391,6 +465,14 @@ module Google
|
|
391
465
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementGitConfig]
|
392
466
|
attr_accessor :git
|
393
467
|
|
468
|
+
# Set to true to enable the Config Sync admission webhook to prevent drifts. If
|
469
|
+
# set to `false`, disables the Config Sync admission webhook and does not
|
470
|
+
# prevent drifts.
|
471
|
+
# Corresponds to the JSON property `preventDrift`
|
472
|
+
# @return [Boolean]
|
473
|
+
attr_accessor :prevent_drift
|
474
|
+
alias_method :prevent_drift?, :prevent_drift
|
475
|
+
|
394
476
|
# Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured”
|
395
477
|
# mode.
|
396
478
|
# Corresponds to the JSON property `sourceFormat`
|
@@ -405,6 +487,7 @@ module Google
|
|
405
487
|
def update!(**args)
|
406
488
|
@enabled = args[:enabled] if args.key?(:enabled)
|
407
489
|
@git = args[:git] if args.key?(:git)
|
490
|
+
@prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
|
408
491
|
@source_format = args[:source_format] if args.key?(:source_format)
|
409
492
|
end
|
410
493
|
end
|
@@ -639,7 +722,9 @@ module Google
|
|
639
722
|
# @return [String]
|
640
723
|
attr_accessor :policy_dir
|
641
724
|
|
642
|
-
# Type of secret configured for access to the Git repo.
|
725
|
+
# Type of secret configured for access to the Git repo. Must be one of ssh,
|
726
|
+
# cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this
|
727
|
+
# is case-sensitive. Required.
|
643
728
|
# Corresponds to the JSON property `secretType`
|
644
729
|
# @return [String]
|
645
730
|
attr_accessor :secret_type
|
@@ -1416,6 +1501,72 @@ module Google
|
|
1416
1501
|
end
|
1417
1502
|
end
|
1418
1503
|
|
1504
|
+
# Fleet contains the Fleet-wide metadata and configuration.
|
1505
|
+
class Fleet
|
1506
|
+
include Google::Apis::Core::Hashable
|
1507
|
+
|
1508
|
+
# Output only. When the Fleet was created.
|
1509
|
+
# Corresponds to the JSON property `createTime`
|
1510
|
+
# @return [String]
|
1511
|
+
attr_accessor :create_time
|
1512
|
+
|
1513
|
+
# Output only. When the Fleet was deleted.
|
1514
|
+
# Corresponds to the JSON property `deleteTime`
|
1515
|
+
# @return [String]
|
1516
|
+
attr_accessor :delete_time
|
1517
|
+
|
1518
|
+
# Optional. A user-assigned display name of the Fleet. When present, it must be
|
1519
|
+
# between 4 to 30 characters. Allowed characters are: lowercase and uppercase
|
1520
|
+
# letters, numbers, hyphen, single-quote, double-quote, space, and exclamation
|
1521
|
+
# point. Example: `Production Fleet`
|
1522
|
+
# Corresponds to the JSON property `displayName`
|
1523
|
+
# @return [String]
|
1524
|
+
attr_accessor :display_name
|
1525
|
+
|
1526
|
+
# The name for the fleet. The name must meet the following constraints: + The
|
1527
|
+
# name of a fleet should be unique within the organization; + It must consist of
|
1528
|
+
# lower case alphanumeric characters or `-`; + The length of the name must be
|
1529
|
+
# less than or equal to 63; + Unicode names must be expressed in Punycode format
|
1530
|
+
# (rfc3492). Examples: + prod-fleet + xn--wlq33vhyw9jb (Punycode form for "生产环境")
|
1531
|
+
# Corresponds to the JSON property `fleetName`
|
1532
|
+
# @return [String]
|
1533
|
+
attr_accessor :fleet_name
|
1534
|
+
|
1535
|
+
# Output only. The full, unique resource name of this fleet in the format of `
|
1536
|
+
# projects/`project`/locations/`location`/fleets/`fleet``. Each GCP project can
|
1537
|
+
# have at most one fleet resource, named "default".
|
1538
|
+
# Corresponds to the JSON property `name`
|
1539
|
+
# @return [String]
|
1540
|
+
attr_accessor :name
|
1541
|
+
|
1542
|
+
# Output only. Google-generated UUID for this resource. This is unique across
|
1543
|
+
# all Fleet resources. If a Fleet resource is deleted and another resource with
|
1544
|
+
# the same name is created, it gets a different uid.
|
1545
|
+
# Corresponds to the JSON property `uid`
|
1546
|
+
# @return [String]
|
1547
|
+
attr_accessor :uid
|
1548
|
+
|
1549
|
+
# Output only. When the Fleet was last updated.
|
1550
|
+
# Corresponds to the JSON property `updateTime`
|
1551
|
+
# @return [String]
|
1552
|
+
attr_accessor :update_time
|
1553
|
+
|
1554
|
+
def initialize(**args)
|
1555
|
+
update!(**args)
|
1556
|
+
end
|
1557
|
+
|
1558
|
+
# Update properties of this object
|
1559
|
+
def update!(**args)
|
1560
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1561
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
1562
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1563
|
+
@fleet_name = args[:fleet_name] if args.key?(:fleet_name)
|
1564
|
+
@name = args[:name] if args.key?(:name)
|
1565
|
+
@uid = args[:uid] if args.key?(:uid)
|
1566
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1567
|
+
end
|
1568
|
+
end
|
1569
|
+
|
1419
1570
|
# GenerateConnectManifestResponse contains manifest information for installing/
|
1420
1571
|
# upgrading a Connect agent.
|
1421
1572
|
class GenerateConnectManifestResponse
|
@@ -1733,6 +1884,61 @@ module Google
|
|
1733
1884
|
end
|
1734
1885
|
end
|
1735
1886
|
|
1887
|
+
# KubernetesResource contains the YAML manifests and configuration for
|
1888
|
+
# Membership Kubernetes resources in the cluster. After CreateMembership or
|
1889
|
+
# UpdateMembership, these resources should be re-applied in the cluster.
|
1890
|
+
class KubernetesResource
|
1891
|
+
include Google::Apis::Core::Hashable
|
1892
|
+
|
1893
|
+
# Output only. The Kubernetes resources for installing the GKE Connect agent
|
1894
|
+
# This field is only populated in the Membership returned from a successful long-
|
1895
|
+
# running operation from CreateMembership or UpdateMembership. It is not
|
1896
|
+
# populated during normal GetMembership or ListMemberships requests. To get the
|
1897
|
+
# resource manifest after the initial registration, the caller should make a
|
1898
|
+
# UpdateMembership call with an empty field mask.
|
1899
|
+
# Corresponds to the JSON property `connectResources`
|
1900
|
+
# @return [Array<Google::Apis::GkehubV1alpha::ResourceManifest>]
|
1901
|
+
attr_accessor :connect_resources
|
1902
|
+
|
1903
|
+
# Input only. The YAML representation of the Membership CR. This field is
|
1904
|
+
# ignored for GKE clusters where Hub can read the CR directly. Callers should
|
1905
|
+
# provide the CR that is currently present in the cluster during
|
1906
|
+
# CreateMembership or UpdateMembership, or leave this field empty if none exists.
|
1907
|
+
# The CR manifest is used to validate the cluster has not been registered with
|
1908
|
+
# another Membership.
|
1909
|
+
# Corresponds to the JSON property `membershipCrManifest`
|
1910
|
+
# @return [String]
|
1911
|
+
attr_accessor :membership_cr_manifest
|
1912
|
+
|
1913
|
+
# Output only. Additional Kubernetes resources that need to be applied to the
|
1914
|
+
# cluster after Membership creation, and after every update. This field is only
|
1915
|
+
# populated in the Membership returned from a successful long-running operation
|
1916
|
+
# from CreateMembership or UpdateMembership. It is not populated during normal
|
1917
|
+
# GetMembership or ListMemberships requests. To get the resource manifest after
|
1918
|
+
# the initial registration, the caller should make a UpdateMembership call with
|
1919
|
+
# an empty field mask.
|
1920
|
+
# Corresponds to the JSON property `membershipResources`
|
1921
|
+
# @return [Array<Google::Apis::GkehubV1alpha::ResourceManifest>]
|
1922
|
+
attr_accessor :membership_resources
|
1923
|
+
|
1924
|
+
# ResourceOptions represent options for Kubernetes resource generation.
|
1925
|
+
# Corresponds to the JSON property `resourceOptions`
|
1926
|
+
# @return [Google::Apis::GkehubV1alpha::ResourceOptions]
|
1927
|
+
attr_accessor :resource_options
|
1928
|
+
|
1929
|
+
def initialize(**args)
|
1930
|
+
update!(**args)
|
1931
|
+
end
|
1932
|
+
|
1933
|
+
# Update properties of this object
|
1934
|
+
def update!(**args)
|
1935
|
+
@connect_resources = args[:connect_resources] if args.key?(:connect_resources)
|
1936
|
+
@membership_cr_manifest = args[:membership_cr_manifest] if args.key?(:membership_cr_manifest)
|
1937
|
+
@membership_resources = args[:membership_resources] if args.key?(:membership_resources)
|
1938
|
+
@resource_options = args[:resource_options] if args.key?(:resource_options)
|
1939
|
+
end
|
1940
|
+
end
|
1941
|
+
|
1736
1942
|
# Response message for the `GkeHub.ListAdminClusterMemberships` method.
|
1737
1943
|
class ListAdminClusterMembershipsResponse
|
1738
1944
|
include Google::Apis::Core::Hashable
|
@@ -2041,6 +2247,13 @@ module Google
|
|
2041
2247
|
# @return [Google::Apis::GkehubV1alpha::KubernetesMetadata]
|
2042
2248
|
attr_accessor :kubernetes_metadata
|
2043
2249
|
|
2250
|
+
# KubernetesResource contains the YAML manifests and configuration for
|
2251
|
+
# Membership Kubernetes resources in the cluster. After CreateMembership or
|
2252
|
+
# UpdateMembership, these resources should be re-applied in the cluster.
|
2253
|
+
# Corresponds to the JSON property `kubernetesResource`
|
2254
|
+
# @return [Google::Apis::GkehubV1alpha::KubernetesResource]
|
2255
|
+
attr_accessor :kubernetes_resource
|
2256
|
+
|
2044
2257
|
# MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
|
2045
2258
|
# Corresponds to the JSON property `multiCloudCluster`
|
2046
2259
|
# @return [Google::Apis::GkehubV1alpha::MultiCloudCluster]
|
@@ -2059,6 +2272,7 @@ module Google
|
|
2059
2272
|
def update!(**args)
|
2060
2273
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
2061
2274
|
@kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
|
2275
|
+
@kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource)
|
2062
2276
|
@multi_cloud_cluster = args[:multi_cloud_cluster] if args.key?(:multi_cloud_cluster)
|
2063
2277
|
@on_prem_cluster = args[:on_prem_cluster] if args.key?(:on_prem_cluster)
|
2064
2278
|
end
|
@@ -2069,6 +2283,11 @@ module Google
|
|
2069
2283
|
class MembershipFeatureSpec
|
2070
2284
|
include Google::Apis::Core::Hashable
|
2071
2285
|
|
2286
|
+
# **Anthosobservability**: Per-Membership Feature spec.
|
2287
|
+
# Corresponds to the JSON property `anthosobservability`
|
2288
|
+
# @return [Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec]
|
2289
|
+
attr_accessor :anthosobservability
|
2290
|
+
|
2072
2291
|
# **Anthos Config Management**: Configuration for a single cluster. Intended to
|
2073
2292
|
# parallel the ConfigManagement CR.
|
2074
2293
|
# Corresponds to the JSON property `configmanagement`
|
@@ -2091,6 +2310,7 @@ module Google
|
|
2091
2310
|
|
2092
2311
|
# Update properties of this object
|
2093
2312
|
def update!(**args)
|
2313
|
+
@anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
|
2094
2314
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
2095
2315
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
2096
2316
|
@mesh = args[:mesh] if args.key?(:mesh)
|
@@ -2102,6 +2322,11 @@ module Google
|
|
2102
2322
|
class MembershipFeatureState
|
2103
2323
|
include Google::Apis::Core::Hashable
|
2104
2324
|
|
2325
|
+
# State for App Dev Exp Feature.
|
2326
|
+
# Corresponds to the JSON property `appdevexperience`
|
2327
|
+
# @return [Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState]
|
2328
|
+
attr_accessor :appdevexperience
|
2329
|
+
|
2105
2330
|
# **Anthos Config Management**: State for a single cluster.
|
2106
2331
|
# Corresponds to the JSON property `configmanagement`
|
2107
2332
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementMembershipState]
|
@@ -2136,6 +2361,7 @@ module Google
|
|
2136
2361
|
|
2137
2362
|
# Update properties of this object
|
2138
2363
|
def update!(**args)
|
2364
|
+
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
2139
2365
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
2140
2366
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
2141
2367
|
@metering = args[:metering] if args.key?(:metering)
|
@@ -2501,6 +2727,73 @@ module Google
|
|
2501
2727
|
end
|
2502
2728
|
end
|
2503
2729
|
|
2730
|
+
# ResourceManifest represents a single Kubernetes resource to be applied to the
|
2731
|
+
# cluster.
|
2732
|
+
class ResourceManifest
|
2733
|
+
include Google::Apis::Core::Hashable
|
2734
|
+
|
2735
|
+
# Whether the resource provided in the manifest is `cluster_scoped`. If unset,
|
2736
|
+
# the manifest is assumed to be namespace scoped. This field is used for REST
|
2737
|
+
# mapping when applying the resource in a cluster.
|
2738
|
+
# Corresponds to the JSON property `clusterScoped`
|
2739
|
+
# @return [Boolean]
|
2740
|
+
attr_accessor :cluster_scoped
|
2741
|
+
alias_method :cluster_scoped?, :cluster_scoped
|
2742
|
+
|
2743
|
+
# YAML manifest of the resource.
|
2744
|
+
# Corresponds to the JSON property `manifest`
|
2745
|
+
# @return [String]
|
2746
|
+
attr_accessor :manifest
|
2747
|
+
|
2748
|
+
def initialize(**args)
|
2749
|
+
update!(**args)
|
2750
|
+
end
|
2751
|
+
|
2752
|
+
# Update properties of this object
|
2753
|
+
def update!(**args)
|
2754
|
+
@cluster_scoped = args[:cluster_scoped] if args.key?(:cluster_scoped)
|
2755
|
+
@manifest = args[:manifest] if args.key?(:manifest)
|
2756
|
+
end
|
2757
|
+
end
|
2758
|
+
|
2759
|
+
# ResourceOptions represent options for Kubernetes resource generation.
|
2760
|
+
class ResourceOptions
|
2761
|
+
include Google::Apis::Core::Hashable
|
2762
|
+
|
2763
|
+
# Optional. The Connect agent version to use for connect_resources. Defaults to
|
2764
|
+
# the latest GKE Connect version. The version must be a currently supported
|
2765
|
+
# version, obsolete versions will be rejected.
|
2766
|
+
# Corresponds to the JSON property `connectVersion`
|
2767
|
+
# @return [String]
|
2768
|
+
attr_accessor :connect_version
|
2769
|
+
|
2770
|
+
# Optional. Major version of the Kubernetes cluster. This is only used to
|
2771
|
+
# determine which version to use for the CustomResourceDefinition resources, `
|
2772
|
+
# apiextensions/v1beta1` or`apiextensions/v1`.
|
2773
|
+
# Corresponds to the JSON property `k8sVersion`
|
2774
|
+
# @return [String]
|
2775
|
+
attr_accessor :k8s_version
|
2776
|
+
|
2777
|
+
# Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
|
2778
|
+
# CustomResourceDefinition resources. This option should be set for clusters
|
2779
|
+
# with Kubernetes apiserver versions <1.16.
|
2780
|
+
# Corresponds to the JSON property `v1beta1Crd`
|
2781
|
+
# @return [Boolean]
|
2782
|
+
attr_accessor :v1beta1_crd
|
2783
|
+
alias_method :v1beta1_crd?, :v1beta1_crd
|
2784
|
+
|
2785
|
+
def initialize(**args)
|
2786
|
+
update!(**args)
|
2787
|
+
end
|
2788
|
+
|
2789
|
+
# Update properties of this object
|
2790
|
+
def update!(**args)
|
2791
|
+
@connect_version = args[:connect_version] if args.key?(:connect_version)
|
2792
|
+
@k8s_version = args[:k8s_version] if args.key?(:k8s_version)
|
2793
|
+
@v1beta1_crd = args[:v1beta1_crd] if args.key?(:v1beta1_crd)
|
2794
|
+
end
|
2795
|
+
end
|
2796
|
+
|
2504
2797
|
# AnalysisMessage is a single message produced by an analyzer, and it used to
|
2505
2798
|
# communicate to the end user about the state of their Service Mesh
|
2506
2799
|
# configuration.
|
@@ -2722,6 +3015,31 @@ module Google
|
|
2722
3015
|
end
|
2723
3016
|
end
|
2724
3017
|
|
3018
|
+
# Status specifies state for the subcomponent.
|
3019
|
+
class Status
|
3020
|
+
include Google::Apis::Core::Hashable
|
3021
|
+
|
3022
|
+
# Code specifies AppDevExperienceFeature's subcomponent ready state.
|
3023
|
+
# Corresponds to the JSON property `code`
|
3024
|
+
# @return [String]
|
3025
|
+
attr_accessor :code
|
3026
|
+
|
3027
|
+
# Description is populated if Code is Failed, explaining why it has failed.
|
3028
|
+
# Corresponds to the JSON property `description`
|
3029
|
+
# @return [String]
|
3030
|
+
attr_accessor :description
|
3031
|
+
|
3032
|
+
def initialize(**args)
|
3033
|
+
update!(**args)
|
3034
|
+
end
|
3035
|
+
|
3036
|
+
# Update properties of this object
|
3037
|
+
def update!(**args)
|
3038
|
+
@code = args[:code] if args.key?(:code)
|
3039
|
+
@description = args[:description] if args.key?(:description)
|
3040
|
+
end
|
3041
|
+
end
|
3042
|
+
|
2725
3043
|
# Request message for `TestIamPermissions` method.
|
2726
3044
|
class TestIamPermissionsRequest
|
2727
3045
|
include Google::Apis::Core::Hashable
|
@@ -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.17.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 = "20211203"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,24 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module GkehubV1alpha
|
24
24
|
|
25
|
+
class AnthosObservabilityMembershipSpec
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AppDevExperienceFeatureSpec
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AppDevExperienceFeatureState
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
25
43
|
class AuditConfig
|
26
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
45
|
|
@@ -250,6 +268,12 @@ module Google
|
|
250
268
|
include Google::Apis::Core::JsonObjectSupport
|
251
269
|
end
|
252
270
|
|
271
|
+
class Fleet
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
253
277
|
class GenerateConnectManifestResponse
|
254
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
279
|
|
@@ -298,6 +322,12 @@ module Google
|
|
298
322
|
include Google::Apis::Core::JsonObjectSupport
|
299
323
|
end
|
300
324
|
|
325
|
+
class KubernetesResource
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
301
331
|
class ListAdminClusterMembershipsResponse
|
302
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
333
|
|
@@ -406,6 +436,18 @@ module Google
|
|
406
436
|
include Google::Apis::Core::JsonObjectSupport
|
407
437
|
end
|
408
438
|
|
439
|
+
class ResourceManifest
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
445
|
+
class ResourceOptions
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
409
451
|
class ServiceMeshAnalysisMessage
|
410
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
453
|
|
@@ -448,6 +490,12 @@ module Google
|
|
448
490
|
include Google::Apis::Core::JsonObjectSupport
|
449
491
|
end
|
450
492
|
|
493
|
+
class Status
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
451
499
|
class TestIamPermissionsRequest
|
452
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
501
|
|
@@ -466,6 +514,28 @@ module Google
|
|
466
514
|
include Google::Apis::Core::JsonObjectSupport
|
467
515
|
end
|
468
516
|
|
517
|
+
class AnthosObservabilityMembershipSpec
|
518
|
+
# @private
|
519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
520
|
+
property :do_not_optimize_metrics, as: 'doNotOptimizeMetrics'
|
521
|
+
property :enable_stackdriver_on_applications, as: 'enableStackdriverOnApplications'
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
525
|
+
class AppDevExperienceFeatureSpec
|
526
|
+
# @private
|
527
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
528
|
+
end
|
529
|
+
end
|
530
|
+
|
531
|
+
class AppDevExperienceFeatureState
|
532
|
+
# @private
|
533
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
534
|
+
property :networking_install_succeeded, as: 'networkingInstallSucceeded', class: Google::Apis::GkehubV1alpha::Status, decorator: Google::Apis::GkehubV1alpha::Status::Representation
|
535
|
+
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
469
539
|
class AuditConfig
|
470
540
|
# @private
|
471
541
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -519,6 +589,8 @@ module Google
|
|
519
589
|
class CommonFeatureSpec
|
520
590
|
# @private
|
521
591
|
class Representation < Google::Apis::Core::JsonRepresentation
|
592
|
+
property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec, decorator: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec::Representation
|
593
|
+
|
522
594
|
property :cloudauditlogging, as: 'cloudauditlogging', class: Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec, decorator: Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec::Representation
|
523
595
|
|
524
596
|
property :multiclusteringress, as: 'multiclusteringress', class: Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec, decorator: Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec::Representation
|
@@ -529,6 +601,8 @@ module Google
|
|
529
601
|
class CommonFeatureState
|
530
602
|
# @private
|
531
603
|
class Representation < Google::Apis::Core::JsonRepresentation
|
604
|
+
property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState::Representation
|
605
|
+
|
532
606
|
property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshFeatureState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshFeatureState::Representation
|
533
607
|
|
534
608
|
property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FeatureState, decorator: Google::Apis::GkehubV1alpha::FeatureState::Representation
|
@@ -565,6 +639,7 @@ module Google
|
|
565
639
|
property :enabled, as: 'enabled'
|
566
640
|
property :git, as: 'git', class: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig::Representation
|
567
641
|
|
642
|
+
property :prevent_drift, as: 'preventDrift'
|
568
643
|
property :source_format, as: 'sourceFormat'
|
569
644
|
end
|
570
645
|
end
|
@@ -852,6 +927,19 @@ module Google
|
|
852
927
|
end
|
853
928
|
end
|
854
929
|
|
930
|
+
class Fleet
|
931
|
+
# @private
|
932
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
933
|
+
property :create_time, as: 'createTime'
|
934
|
+
property :delete_time, as: 'deleteTime'
|
935
|
+
property :display_name, as: 'displayName'
|
936
|
+
property :fleet_name, as: 'fleetName'
|
937
|
+
property :name, as: 'name'
|
938
|
+
property :uid, as: 'uid'
|
939
|
+
property :update_time, as: 'updateTime'
|
940
|
+
end
|
941
|
+
end
|
942
|
+
|
855
943
|
class GenerateConnectManifestResponse
|
856
944
|
# @private
|
857
945
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -935,6 +1023,19 @@ module Google
|
|
935
1023
|
end
|
936
1024
|
end
|
937
1025
|
|
1026
|
+
class KubernetesResource
|
1027
|
+
# @private
|
1028
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1029
|
+
collection :connect_resources, as: 'connectResources', class: Google::Apis::GkehubV1alpha::ResourceManifest, decorator: Google::Apis::GkehubV1alpha::ResourceManifest::Representation
|
1030
|
+
|
1031
|
+
property :membership_cr_manifest, as: 'membershipCrManifest'
|
1032
|
+
collection :membership_resources, as: 'membershipResources', class: Google::Apis::GkehubV1alpha::ResourceManifest, decorator: Google::Apis::GkehubV1alpha::ResourceManifest::Representation
|
1033
|
+
|
1034
|
+
property :resource_options, as: 'resourceOptions', class: Google::Apis::GkehubV1alpha::ResourceOptions, decorator: Google::Apis::GkehubV1alpha::ResourceOptions::Representation
|
1035
|
+
|
1036
|
+
end
|
1037
|
+
end
|
1038
|
+
|
938
1039
|
class ListAdminClusterMembershipsResponse
|
939
1040
|
# @private
|
940
1041
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1021,6 +1122,8 @@ module Google
|
|
1021
1122
|
|
1022
1123
|
property :kubernetes_metadata, as: 'kubernetesMetadata', class: Google::Apis::GkehubV1alpha::KubernetesMetadata, decorator: Google::Apis::GkehubV1alpha::KubernetesMetadata::Representation
|
1023
1124
|
|
1125
|
+
property :kubernetes_resource, as: 'kubernetesResource', class: Google::Apis::GkehubV1alpha::KubernetesResource, decorator: Google::Apis::GkehubV1alpha::KubernetesResource::Representation
|
1126
|
+
|
1024
1127
|
property :multi_cloud_cluster, as: 'multiCloudCluster', class: Google::Apis::GkehubV1alpha::MultiCloudCluster, decorator: Google::Apis::GkehubV1alpha::MultiCloudCluster::Representation
|
1025
1128
|
|
1026
1129
|
property :on_prem_cluster, as: 'onPremCluster', class: Google::Apis::GkehubV1alpha::OnPremCluster, decorator: Google::Apis::GkehubV1alpha::OnPremCluster::Representation
|
@@ -1031,6 +1134,8 @@ module Google
|
|
1031
1134
|
class MembershipFeatureSpec
|
1032
1135
|
# @private
|
1033
1136
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1137
|
+
property :anthosobservability, as: 'anthosobservability', class: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec::Representation
|
1138
|
+
|
1034
1139
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec::Representation
|
1035
1140
|
|
1036
1141
|
property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
|
@@ -1043,6 +1148,8 @@ module Google
|
|
1043
1148
|
class MembershipFeatureState
|
1044
1149
|
# @private
|
1045
1150
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1151
|
+
property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState::Representation
|
1152
|
+
|
1046
1153
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipState::Representation
|
1047
1154
|
|
1048
1155
|
property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipState, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipState::Representation
|
@@ -1133,6 +1240,23 @@ module Google
|
|
1133
1240
|
end
|
1134
1241
|
end
|
1135
1242
|
|
1243
|
+
class ResourceManifest
|
1244
|
+
# @private
|
1245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1246
|
+
property :cluster_scoped, as: 'clusterScoped'
|
1247
|
+
property :manifest, as: 'manifest'
|
1248
|
+
end
|
1249
|
+
end
|
1250
|
+
|
1251
|
+
class ResourceOptions
|
1252
|
+
# @private
|
1253
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1254
|
+
property :connect_version, as: 'connectVersion'
|
1255
|
+
property :k8s_version, as: 'k8sVersion'
|
1256
|
+
property :v1beta1_crd, as: 'v1beta1Crd'
|
1257
|
+
end
|
1258
|
+
end
|
1259
|
+
|
1136
1260
|
class ServiceMeshAnalysisMessage
|
1137
1261
|
# @private
|
1138
1262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1193,6 +1317,14 @@ module Google
|
|
1193
1317
|
end
|
1194
1318
|
end
|
1195
1319
|
|
1320
|
+
class Status
|
1321
|
+
# @private
|
1322
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1323
|
+
property :code, as: 'code'
|
1324
|
+
property :description, as: 'description'
|
1325
|
+
end
|
1326
|
+
end
|
1327
|
+
|
1196
1328
|
class TestIamPermissionsRequest
|
1197
1329
|
# @private
|
1198
1330
|
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
|
@@ -462,6 +465,140 @@ module Google
|
|
462
465
|
execute_or_queue_command(command, &block)
|
463
466
|
end
|
464
467
|
|
468
|
+
# Creates a fleet.
|
469
|
+
# @param [String] parent
|
470
|
+
# Required. The parent (project and location) where the Fleet will be created.
|
471
|
+
# Specified in the format `projects/*/locations/*`.
|
472
|
+
# @param [Google::Apis::GkehubV1alpha::Fleet] fleet_object
|
473
|
+
# @param [String] fields
|
474
|
+
# Selector specifying which fields to include in a partial response.
|
475
|
+
# @param [String] quota_user
|
476
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
477
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
478
|
+
# @param [Google::Apis::RequestOptions] options
|
479
|
+
# Request-specific options
|
480
|
+
#
|
481
|
+
# @yield [result, err] Result & error if block supplied
|
482
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Fleet] parsed result object
|
483
|
+
# @yieldparam err [StandardError] error object if request failed
|
484
|
+
#
|
485
|
+
# @return [Google::Apis::GkehubV1alpha::Fleet]
|
486
|
+
#
|
487
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
488
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
489
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
490
|
+
def create_project_location_fleet(parent, fleet_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
491
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/fleets', options)
|
492
|
+
command.request_representation = Google::Apis::GkehubV1alpha::Fleet::Representation
|
493
|
+
command.request_object = fleet_object
|
494
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Fleet::Representation
|
495
|
+
command.response_class = Google::Apis::GkehubV1alpha::Fleet
|
496
|
+
command.params['parent'] = parent unless parent.nil?
|
497
|
+
command.query['fields'] = fields unless fields.nil?
|
498
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
499
|
+
execute_or_queue_command(command, &block)
|
500
|
+
end
|
501
|
+
|
502
|
+
# Removes a Fleet. There must be no memberships remaining in the Fleet.
|
503
|
+
# @param [String] name
|
504
|
+
# Required. The Fleet resource name in the format `projects/*/locations/*/fleets/
|
505
|
+
# *`.
|
506
|
+
# @param [String] fields
|
507
|
+
# Selector specifying which fields to include in a partial response.
|
508
|
+
# @param [String] quota_user
|
509
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
510
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
511
|
+
# @param [Google::Apis::RequestOptions] options
|
512
|
+
# Request-specific options
|
513
|
+
#
|
514
|
+
# @yield [result, err] Result & error if block supplied
|
515
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Empty] parsed result object
|
516
|
+
# @yieldparam err [StandardError] error object if request failed
|
517
|
+
#
|
518
|
+
# @return [Google::Apis::GkehubV1alpha::Empty]
|
519
|
+
#
|
520
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
521
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
522
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
523
|
+
def delete_project_location_fleet(name, fields: nil, quota_user: nil, options: nil, &block)
|
524
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
525
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Empty::Representation
|
526
|
+
command.response_class = Google::Apis::GkehubV1alpha::Empty
|
527
|
+
command.params['name'] = name unless name.nil?
|
528
|
+
command.query['fields'] = fields unless fields.nil?
|
529
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
530
|
+
execute_or_queue_command(command, &block)
|
531
|
+
end
|
532
|
+
|
533
|
+
# Returns the details of a fleet.
|
534
|
+
# @param [String] name
|
535
|
+
# Required. The Fleet resource name in the format `projects/*/locations/*/fleets/
|
536
|
+
# *`.
|
537
|
+
# @param [String] fields
|
538
|
+
# Selector specifying which fields to include in a partial response.
|
539
|
+
# @param [String] quota_user
|
540
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
541
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
542
|
+
# @param [Google::Apis::RequestOptions] options
|
543
|
+
# Request-specific options
|
544
|
+
#
|
545
|
+
# @yield [result, err] Result & error if block supplied
|
546
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Fleet] parsed result object
|
547
|
+
# @yieldparam err [StandardError] error object if request failed
|
548
|
+
#
|
549
|
+
# @return [Google::Apis::GkehubV1alpha::Fleet]
|
550
|
+
#
|
551
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
552
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
553
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
554
|
+
def get_project_location_fleet(name, fields: nil, quota_user: nil, options: nil, &block)
|
555
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
556
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Fleet::Representation
|
557
|
+
command.response_class = Google::Apis::GkehubV1alpha::Fleet
|
558
|
+
command.params['name'] = name unless name.nil?
|
559
|
+
command.query['fields'] = fields unless fields.nil?
|
560
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
561
|
+
execute_or_queue_command(command, &block)
|
562
|
+
end
|
563
|
+
|
564
|
+
# Updates a fleet.
|
565
|
+
# @param [String] name
|
566
|
+
# Output only. The full, unique resource name of this fleet in the format of `
|
567
|
+
# projects/`project`/locations/`location`/fleets/`fleet``. Each GCP project can
|
568
|
+
# have at most one fleet resource, named "default".
|
569
|
+
# @param [Google::Apis::GkehubV1alpha::Fleet] fleet_object
|
570
|
+
# @param [String] update_mask
|
571
|
+
# Required. The fields to be updated;
|
572
|
+
# @param [String] fields
|
573
|
+
# Selector specifying which fields to include in a partial response.
|
574
|
+
# @param [String] quota_user
|
575
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
576
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
577
|
+
# @param [Google::Apis::RequestOptions] options
|
578
|
+
# Request-specific options
|
579
|
+
#
|
580
|
+
# @yield [result, err] Result & error if block supplied
|
581
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Fleet] parsed result object
|
582
|
+
# @yieldparam err [StandardError] error object if request failed
|
583
|
+
#
|
584
|
+
# @return [Google::Apis::GkehubV1alpha::Fleet]
|
585
|
+
#
|
586
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
587
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
588
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
589
|
+
def patch_project_location_fleet(name, fleet_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
590
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
591
|
+
command.request_representation = Google::Apis::GkehubV1alpha::Fleet::Representation
|
592
|
+
command.request_object = fleet_object
|
593
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Fleet::Representation
|
594
|
+
command.response_class = Google::Apis::GkehubV1alpha::Fleet
|
595
|
+
command.params['name'] = name unless name.nil?
|
596
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
597
|
+
command.query['fields'] = fields unless fields.nil?
|
598
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
599
|
+
execute_or_queue_command(command, &block)
|
600
|
+
end
|
601
|
+
|
465
602
|
# Creates a new Membership. **This is currently only supported for GKE clusters
|
466
603
|
# on Google Cloud**. To register other clusters, follow the instructions at
|
467
604
|
# https://cloud.google.com/anthos/multicluster-management/connect/registering-a-
|
@@ -662,13 +799,16 @@ module Google
|
|
662
799
|
# REQUIRED: The resource for which the policy is being requested. See the
|
663
800
|
# operation documentation for the appropriate value for this field.
|
664
801
|
# @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
|
-
#
|
802
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
803
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
804
|
+
# rejected. Requests for policies with any conditional role bindings must
|
805
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
806
|
+
# valid value or leave the field unset. The policy in the response might use the
|
807
|
+
# policy version that you specified, or it might use a lower policy version. For
|
808
|
+
# example, if you specify version 3, but the policy has no conditional role
|
809
|
+
# bindings, the response uses version 1. To learn which resources support
|
810
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
811
|
+
# google.com/iam/help/conditions/resource-policies).
|
672
812
|
# @param [String] fields
|
673
813
|
# Selector specifying which fields to include in a partial response.
|
674
814
|
# @param [String] quota_user
|
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.17.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-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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/main/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.17.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|