google-apis-gkehub_v1alpha 0.18.0 → 0.22.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: fd3f6a72758be01bf61ed188052cf74ef6f268d521696cb988c9953a9bd13fd8
|
4
|
+
data.tar.gz: 56eb089556b893fc38f4ba675685dc46ec4558251e52cc0fac3f3a32edd476c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4636ed72c2f0d0d9d2318c46a21f638d4a140f3136b6c8c4736d8a36c0804a22ae989fc54316c152ecd8b964965712b83dd07ae2cf9fe02e072c39d4c86259ef
|
7
|
+
data.tar.gz: b62e2eda163df67fe8da9d4c817acccd91953802d14b19046febddc268796447a2e028e5e82ce0492c87920aa1f13dfd464f6a6383e96431d0d948f207137911
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha
|
2
2
|
|
3
|
+
### v0.22.0 (2022-02-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220204
|
6
|
+
|
7
|
+
### v0.21.0 (2022-02-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220128
|
10
|
+
|
11
|
+
### v0.20.0 (2022-01-30)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220122
|
14
|
+
|
15
|
+
### v0.19.0 (2022-01-15)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20220107
|
18
|
+
* Regenerated using generator version 0.4.1
|
19
|
+
|
3
20
|
### v0.18.0 (2021-12-16)
|
4
21
|
|
5
22
|
* Unspecified changes
|
@@ -316,6 +316,31 @@ module Google
|
|
316
316
|
end
|
317
317
|
end
|
318
318
|
|
319
|
+
# **Cloud Build**: Configurations for each Cloud Build enabled cluster.
|
320
|
+
class CloudBuildMembershipSpec
|
321
|
+
include Google::Apis::Core::Hashable
|
322
|
+
|
323
|
+
# Whether it is allowed to run the privileged builds on the cluster or not.
|
324
|
+
# Corresponds to the JSON property `securityPolicy`
|
325
|
+
# @return [String]
|
326
|
+
attr_accessor :security_policy
|
327
|
+
|
328
|
+
# Version of the cloud build software on the cluster.
|
329
|
+
# Corresponds to the JSON property `version`
|
330
|
+
# @return [String]
|
331
|
+
attr_accessor :version
|
332
|
+
|
333
|
+
def initialize(**args)
|
334
|
+
update!(**args)
|
335
|
+
end
|
336
|
+
|
337
|
+
# Update properties of this object
|
338
|
+
def update!(**args)
|
339
|
+
@security_policy = args[:security_policy] if args.key?(:security_policy)
|
340
|
+
@version = args[:version] if args.key?(:version)
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
319
344
|
# CommonFeatureSpec contains Hub-wide configuration information
|
320
345
|
class CommonFeatureSpec
|
321
346
|
include Google::Apis::Core::Hashable
|
@@ -336,6 +361,12 @@ module Google
|
|
336
361
|
# @return [Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec]
|
337
362
|
attr_accessor :multiclusteringress
|
338
363
|
|
364
|
+
# **Workload Certificate**: The Hub-wide input for the WorkloadCertificate
|
365
|
+
# feature.
|
366
|
+
# Corresponds to the JSON property `workloadcertificate`
|
367
|
+
# @return [Google::Apis::GkehubV1alpha::FeatureSpec]
|
368
|
+
attr_accessor :workloadcertificate
|
369
|
+
|
339
370
|
def initialize(**args)
|
340
371
|
update!(**args)
|
341
372
|
end
|
@@ -345,6 +376,7 @@ module Google
|
|
345
376
|
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
346
377
|
@cloudauditlogging = args[:cloudauditlogging] if args.key?(:cloudauditlogging)
|
347
378
|
@multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
|
379
|
+
@workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate)
|
348
380
|
end
|
349
381
|
end
|
350
382
|
|
@@ -1285,6 +1317,27 @@ module Google
|
|
1285
1317
|
end
|
1286
1318
|
end
|
1287
1319
|
|
1320
|
+
# EdgeCluster contains information specific to Google Edge Clusters.
|
1321
|
+
class EdgeCluster
|
1322
|
+
include Google::Apis::Core::Hashable
|
1323
|
+
|
1324
|
+
# Immutable. Self-link of the GCP resource for the Edge Cluster. For example: //
|
1325
|
+
# edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/
|
1326
|
+
# my-cluster
|
1327
|
+
# Corresponds to the JSON property `resourceLink`
|
1328
|
+
# @return [String]
|
1329
|
+
attr_accessor :resource_link
|
1330
|
+
|
1331
|
+
def initialize(**args)
|
1332
|
+
update!(**args)
|
1333
|
+
end
|
1334
|
+
|
1335
|
+
# Update properties of this object
|
1336
|
+
def update!(**args)
|
1337
|
+
@resource_link = args[:resource_link] if args.key?(:resource_link)
|
1338
|
+
end
|
1339
|
+
end
|
1340
|
+
|
1288
1341
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1289
1342
|
# messages in your APIs. A typical example is to use it as the request or the
|
1290
1343
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -1468,6 +1521,33 @@ module Google
|
|
1468
1521
|
end
|
1469
1522
|
end
|
1470
1523
|
|
1524
|
+
# **Workload Certificate**: The Hub-wide input for the WorkloadCertificate
|
1525
|
+
# feature.
|
1526
|
+
class FeatureSpec
|
1527
|
+
include Google::Apis::Core::Hashable
|
1528
|
+
|
1529
|
+
# **Workload Certificate**: The membership-specific input for
|
1530
|
+
# WorkloadCertificate feature.
|
1531
|
+
# Corresponds to the JSON property `defaultConfig`
|
1532
|
+
# @return [Google::Apis::GkehubV1alpha::MembershipSpec]
|
1533
|
+
attr_accessor :default_config
|
1534
|
+
|
1535
|
+
# Immutable. Specifies CA configuration.
|
1536
|
+
# Corresponds to the JSON property `provisionGoogleCa`
|
1537
|
+
# @return [String]
|
1538
|
+
attr_accessor :provision_google_ca
|
1539
|
+
|
1540
|
+
def initialize(**args)
|
1541
|
+
update!(**args)
|
1542
|
+
end
|
1543
|
+
|
1544
|
+
# Update properties of this object
|
1545
|
+
def update!(**args)
|
1546
|
+
@default_config = args[:default_config] if args.key?(:default_config)
|
1547
|
+
@provision_google_ca = args[:provision_google_ca] if args.key?(:provision_google_ca)
|
1548
|
+
end
|
1549
|
+
end
|
1550
|
+
|
1471
1551
|
# FeatureState describes the high-level state of a Feature. It may be used to
|
1472
1552
|
# describe a Feature's state at the environ-level, or per-membershop, depending
|
1473
1553
|
# on the context.
|
@@ -1759,6 +1839,11 @@ module Google
|
|
1759
1839
|
# @return [String]
|
1760
1840
|
attr_accessor :client_id
|
1761
1841
|
|
1842
|
+
# Unencrypted OIDC client secret will be passed to the GKE Hub CLH.
|
1843
|
+
# Corresponds to the JSON property `clientSecret`
|
1844
|
+
# @return [String]
|
1845
|
+
attr_accessor :client_secret
|
1846
|
+
|
1762
1847
|
# Flag to denote if reverse proxy is used to connect to auth provider. This flag
|
1763
1848
|
# should be set to true when provider is not reachable by Google Cloud Console.
|
1764
1849
|
# Corresponds to the JSON property `deployCloudConsoleProxy`
|
@@ -1766,6 +1851,12 @@ module Google
|
|
1766
1851
|
attr_accessor :deploy_cloud_console_proxy
|
1767
1852
|
alias_method :deploy_cloud_console_proxy?, :deploy_cloud_console_proxy
|
1768
1853
|
|
1854
|
+
# Output only. Encrypted OIDC Client secret
|
1855
|
+
# Corresponds to the JSON property `encryptedClientSecret`
|
1856
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1857
|
+
# @return [String]
|
1858
|
+
attr_accessor :encrypted_client_secret
|
1859
|
+
|
1769
1860
|
# Comma-separated list of key-value pairs.
|
1770
1861
|
# Corresponds to the JSON property `extraParams`
|
1771
1862
|
# @return [String]
|
@@ -1816,7 +1907,9 @@ module Google
|
|
1816
1907
|
def update!(**args)
|
1817
1908
|
@certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
|
1818
1909
|
@client_id = args[:client_id] if args.key?(:client_id)
|
1910
|
+
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
1819
1911
|
@deploy_cloud_console_proxy = args[:deploy_cloud_console_proxy] if args.key?(:deploy_cloud_console_proxy)
|
1912
|
+
@encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
|
1820
1913
|
@extra_params = args[:extra_params] if args.key?(:extra_params)
|
1821
1914
|
@group_prefix = args[:group_prefix] if args.key?(:group_prefix)
|
1822
1915
|
@groups_claim = args[:groups_claim] if args.key?(:groups_claim)
|
@@ -2236,6 +2329,11 @@ module Google
|
|
2236
2329
|
class MembershipEndpoint
|
2237
2330
|
include Google::Apis::Core::Hashable
|
2238
2331
|
|
2332
|
+
# EdgeCluster contains information specific to Google Edge Clusters.
|
2333
|
+
# Corresponds to the JSON property `edgeCluster`
|
2334
|
+
# @return [Google::Apis::GkehubV1alpha::EdgeCluster]
|
2335
|
+
attr_accessor :edge_cluster
|
2336
|
+
|
2239
2337
|
# GkeCluster contains information specific to GKE clusters.
|
2240
2338
|
# Corresponds to the JSON property `gkeCluster`
|
2241
2339
|
# @return [Google::Apis::GkehubV1alpha::GkeCluster]
|
@@ -2270,6 +2368,7 @@ module Google
|
|
2270
2368
|
|
2271
2369
|
# Update properties of this object
|
2272
2370
|
def update!(**args)
|
2371
|
+
@edge_cluster = args[:edge_cluster] if args.key?(:edge_cluster)
|
2273
2372
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
2274
2373
|
@kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
|
2275
2374
|
@kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource)
|
@@ -2288,6 +2387,11 @@ module Google
|
|
2288
2387
|
# @return [Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec]
|
2289
2388
|
attr_accessor :anthosobservability
|
2290
2389
|
|
2390
|
+
# **Cloud Build**: Configurations for each Cloud Build enabled cluster.
|
2391
|
+
# Corresponds to the JSON property `cloudbuild`
|
2392
|
+
# @return [Google::Apis::GkehubV1alpha::CloudBuildMembershipSpec]
|
2393
|
+
attr_accessor :cloudbuild
|
2394
|
+
|
2291
2395
|
# **Anthos Config Management**: Configuration for a single cluster. Intended to
|
2292
2396
|
# parallel the ConfigManagement CR.
|
2293
2397
|
# Corresponds to the JSON property `configmanagement`
|
@@ -2304,6 +2408,18 @@ module Google
|
|
2304
2408
|
# @return [Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec]
|
2305
2409
|
attr_accessor :mesh
|
2306
2410
|
|
2411
|
+
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2412
|
+
# parallel the PolicyController CR.
|
2413
|
+
# Corresponds to the JSON property `policycontroller`
|
2414
|
+
# @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec]
|
2415
|
+
attr_accessor :policycontroller
|
2416
|
+
|
2417
|
+
# **Workload Certificate**: The membership-specific input for
|
2418
|
+
# WorkloadCertificate feature.
|
2419
|
+
# Corresponds to the JSON property `workloadcertificate`
|
2420
|
+
# @return [Google::Apis::GkehubV1alpha::MembershipSpec]
|
2421
|
+
attr_accessor :workloadcertificate
|
2422
|
+
|
2307
2423
|
def initialize(**args)
|
2308
2424
|
update!(**args)
|
2309
2425
|
end
|
@@ -2311,9 +2427,12 @@ module Google
|
|
2311
2427
|
# Update properties of this object
|
2312
2428
|
def update!(**args)
|
2313
2429
|
@anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
|
2430
|
+
@cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
|
2314
2431
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
2315
2432
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
2316
2433
|
@mesh = args[:mesh] if args.key?(:mesh)
|
2434
|
+
@policycontroller = args[:policycontroller] if args.key?(:policycontroller)
|
2435
|
+
@workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate)
|
2317
2436
|
end
|
2318
2437
|
end
|
2319
2438
|
|
@@ -2342,6 +2461,11 @@ module Google
|
|
2342
2461
|
# @return [Google::Apis::GkehubV1alpha::MeteringMembershipState]
|
2343
2462
|
attr_accessor :metering
|
2344
2463
|
|
2464
|
+
# **Policy Controller**: State for a single cluster.
|
2465
|
+
# Corresponds to the JSON property `policycontroller`
|
2466
|
+
# @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipState]
|
2467
|
+
attr_accessor :policycontroller
|
2468
|
+
|
2345
2469
|
# **Service Mesh**: State for a single Membership, as analyzed by the Service
|
2346
2470
|
# Mesh Hub Controller.
|
2347
2471
|
# Corresponds to the JSON property `servicemesh`
|
@@ -2365,11 +2489,32 @@ module Google
|
|
2365
2489
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
2366
2490
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
2367
2491
|
@metering = args[:metering] if args.key?(:metering)
|
2492
|
+
@policycontroller = args[:policycontroller] if args.key?(:policycontroller)
|
2368
2493
|
@servicemesh = args[:servicemesh] if args.key?(:servicemesh)
|
2369
2494
|
@state = args[:state] if args.key?(:state)
|
2370
2495
|
end
|
2371
2496
|
end
|
2372
2497
|
|
2498
|
+
# **Workload Certificate**: The membership-specific input for
|
2499
|
+
# WorkloadCertificate feature.
|
2500
|
+
class MembershipSpec
|
2501
|
+
include Google::Apis::Core::Hashable
|
2502
|
+
|
2503
|
+
# Specifies workload certificate management.
|
2504
|
+
# Corresponds to the JSON property `certificateManagement`
|
2505
|
+
# @return [String]
|
2506
|
+
attr_accessor :certificate_management
|
2507
|
+
|
2508
|
+
def initialize(**args)
|
2509
|
+
update!(**args)
|
2510
|
+
end
|
2511
|
+
|
2512
|
+
# Update properties of this object
|
2513
|
+
def update!(**args)
|
2514
|
+
@certificate_management = args[:certificate_management] if args.key?(:certificate_management)
|
2515
|
+
end
|
2516
|
+
end
|
2517
|
+
|
2373
2518
|
# MembershipState describes the state of a Membership resource.
|
2374
2519
|
class MembershipState
|
2375
2520
|
include Google::Apis::Core::Hashable
|
@@ -2727,6 +2872,204 @@ module Google
|
|
2727
2872
|
end
|
2728
2873
|
end
|
2729
2874
|
|
2875
|
+
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2876
|
+
# parallel the PolicyController CR.
|
2877
|
+
class PolicyControllerMembershipSpec
|
2878
|
+
include Google::Apis::Core::Hashable
|
2879
|
+
|
2880
|
+
# Configuration for Policy Controller
|
2881
|
+
# Corresponds to the JSON property `policyControllerHubConfig`
|
2882
|
+
# @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubConfig]
|
2883
|
+
attr_accessor :policy_controller_hub_config
|
2884
|
+
|
2885
|
+
# Version of Policy Controller installed.
|
2886
|
+
# Corresponds to the JSON property `version`
|
2887
|
+
# @return [String]
|
2888
|
+
attr_accessor :version
|
2889
|
+
|
2890
|
+
def initialize(**args)
|
2891
|
+
update!(**args)
|
2892
|
+
end
|
2893
|
+
|
2894
|
+
# Update properties of this object
|
2895
|
+
def update!(**args)
|
2896
|
+
@policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config)
|
2897
|
+
@version = args[:version] if args.key?(:version)
|
2898
|
+
end
|
2899
|
+
end
|
2900
|
+
|
2901
|
+
# **Policy Controller**: State for a single cluster.
|
2902
|
+
class PolicyControllerMembershipState
|
2903
|
+
include Google::Apis::Core::Hashable
|
2904
|
+
|
2905
|
+
# The user-defined name for the cluster used by ClusterSelectors to group
|
2906
|
+
# clusters together. This should match Membership's membership_name, unless the
|
2907
|
+
# user installed PC on the cluster manually prior to enabling the PC hub feature.
|
2908
|
+
# Unique within a Policy Controller installation.
|
2909
|
+
# Corresponds to the JSON property `clusterName`
|
2910
|
+
# @return [String]
|
2911
|
+
attr_accessor :cluster_name
|
2912
|
+
|
2913
|
+
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2914
|
+
# parallel the PolicyController CR.
|
2915
|
+
# Corresponds to the JSON property `membershipSpec`
|
2916
|
+
# @return [Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec]
|
2917
|
+
attr_accessor :membership_spec
|
2918
|
+
|
2919
|
+
# State of the Policy Controller.
|
2920
|
+
# Corresponds to the JSON property `policyControllerHubState`
|
2921
|
+
# @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubState]
|
2922
|
+
attr_accessor :policy_controller_hub_state
|
2923
|
+
|
2924
|
+
# The lifecycle state Policy Controller is in.
|
2925
|
+
# Corresponds to the JSON property `state`
|
2926
|
+
# @return [String]
|
2927
|
+
attr_accessor :state
|
2928
|
+
|
2929
|
+
def initialize(**args)
|
2930
|
+
update!(**args)
|
2931
|
+
end
|
2932
|
+
|
2933
|
+
# Update properties of this object
|
2934
|
+
def update!(**args)
|
2935
|
+
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
2936
|
+
@membership_spec = args[:membership_spec] if args.key?(:membership_spec)
|
2937
|
+
@policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
|
2938
|
+
@state = args[:state] if args.key?(:state)
|
2939
|
+
end
|
2940
|
+
end
|
2941
|
+
|
2942
|
+
# Configuration for Policy Controller
|
2943
|
+
class PolicyControllerPolicyControllerHubConfig
|
2944
|
+
include Google::Apis::Core::Hashable
|
2945
|
+
|
2946
|
+
# Sets the interval for Policy Controller Audit Scans (in seconds). When set to
|
2947
|
+
# 0, this disables audit functionality altogether.
|
2948
|
+
# Corresponds to the JSON property `auditIntervalSeconds`
|
2949
|
+
# @return [Fixnum]
|
2950
|
+
attr_accessor :audit_interval_seconds
|
2951
|
+
|
2952
|
+
# The set of namespaces that are excluded from Policy Controller checks.
|
2953
|
+
# Namespaces do not need to currently exist on the cluster.
|
2954
|
+
# Corresponds to the JSON property `exemptableNamespaces`
|
2955
|
+
# @return [Array<String>]
|
2956
|
+
attr_accessor :exemptable_namespaces
|
2957
|
+
|
2958
|
+
# The install_spec represents the intended state specified by the latest request
|
2959
|
+
# that mutated install_spec in the feature spec, not the lifecycle state of the
|
2960
|
+
# feature observed by the Hub feature controller that is reported in the feature
|
2961
|
+
# state.
|
2962
|
+
# Corresponds to the JSON property `installSpec`
|
2963
|
+
# @return [String]
|
2964
|
+
attr_accessor :install_spec
|
2965
|
+
|
2966
|
+
# Logs all denies and dry run failures.
|
2967
|
+
# Corresponds to the JSON property `logDeniesEnabled`
|
2968
|
+
# @return [Boolean]
|
2969
|
+
attr_accessor :log_denies_enabled
|
2970
|
+
alias_method :log_denies_enabled?, :log_denies_enabled
|
2971
|
+
|
2972
|
+
# Enables the ability to mutate resources using Policy Controller.
|
2973
|
+
# Corresponds to the JSON property `mutationEnabled`
|
2974
|
+
# @return [Boolean]
|
2975
|
+
attr_accessor :mutation_enabled
|
2976
|
+
alias_method :mutation_enabled?, :mutation_enabled
|
2977
|
+
|
2978
|
+
# Enables the ability to use Constraint Templates that reference to objects
|
2979
|
+
# other than the object currently being evaluated.
|
2980
|
+
# Corresponds to the JSON property `referentialRulesEnabled`
|
2981
|
+
# @return [Boolean]
|
2982
|
+
attr_accessor :referential_rules_enabled
|
2983
|
+
alias_method :referential_rules_enabled?, :referential_rules_enabled
|
2984
|
+
|
2985
|
+
# The config specifying which default library templates to install.
|
2986
|
+
# Corresponds to the JSON property `templateLibraryConfig`
|
2987
|
+
# @return [Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig]
|
2988
|
+
attr_accessor :template_library_config
|
2989
|
+
|
2990
|
+
def initialize(**args)
|
2991
|
+
update!(**args)
|
2992
|
+
end
|
2993
|
+
|
2994
|
+
# Update properties of this object
|
2995
|
+
def update!(**args)
|
2996
|
+
@audit_interval_seconds = args[:audit_interval_seconds] if args.key?(:audit_interval_seconds)
|
2997
|
+
@exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
|
2998
|
+
@install_spec = args[:install_spec] if args.key?(:install_spec)
|
2999
|
+
@log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
|
3000
|
+
@mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
|
3001
|
+
@referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
|
3002
|
+
@template_library_config = args[:template_library_config] if args.key?(:template_library_config)
|
3003
|
+
end
|
3004
|
+
end
|
3005
|
+
|
3006
|
+
# State of the Policy Controller.
|
3007
|
+
class PolicyControllerPolicyControllerHubState
|
3008
|
+
include Google::Apis::Core::Hashable
|
3009
|
+
|
3010
|
+
# Map from deployment name to deployment state. Example deployments are
|
3011
|
+
# gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-
|
3012
|
+
# mutation.
|
3013
|
+
# Corresponds to the JSON property `deploymentStates`
|
3014
|
+
# @return [Hash<String,String>]
|
3015
|
+
attr_accessor :deployment_states
|
3016
|
+
|
3017
|
+
# The build version of Gatekeeper that Policy Controller is using.
|
3018
|
+
# Corresponds to the JSON property `version`
|
3019
|
+
# @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubVersion]
|
3020
|
+
attr_accessor :version
|
3021
|
+
|
3022
|
+
def initialize(**args)
|
3023
|
+
update!(**args)
|
3024
|
+
end
|
3025
|
+
|
3026
|
+
# Update properties of this object
|
3027
|
+
def update!(**args)
|
3028
|
+
@deployment_states = args[:deployment_states] if args.key?(:deployment_states)
|
3029
|
+
@version = args[:version] if args.key?(:version)
|
3030
|
+
end
|
3031
|
+
end
|
3032
|
+
|
3033
|
+
# The build version of Gatekeeper that Policy Controller is using.
|
3034
|
+
class PolicyControllerPolicyControllerHubVersion
|
3035
|
+
include Google::Apis::Core::Hashable
|
3036
|
+
|
3037
|
+
# The gatekeeper image tag that is composed of ACM version, git tag, build
|
3038
|
+
# number.
|
3039
|
+
# Corresponds to the JSON property `version`
|
3040
|
+
# @return [String]
|
3041
|
+
attr_accessor :version
|
3042
|
+
|
3043
|
+
def initialize(**args)
|
3044
|
+
update!(**args)
|
3045
|
+
end
|
3046
|
+
|
3047
|
+
# Update properties of this object
|
3048
|
+
def update!(**args)
|
3049
|
+
@version = args[:version] if args.key?(:version)
|
3050
|
+
end
|
3051
|
+
end
|
3052
|
+
|
3053
|
+
# The config specifying which default library templates to install.
|
3054
|
+
class PolicyControllerTemplateLibraryConfig
|
3055
|
+
include Google::Apis::Core::Hashable
|
3056
|
+
|
3057
|
+
# Whether the standard template library should be installed or not.
|
3058
|
+
# Corresponds to the JSON property `included`
|
3059
|
+
# @return [Boolean]
|
3060
|
+
attr_accessor :included
|
3061
|
+
alias_method :included?, :included
|
3062
|
+
|
3063
|
+
def initialize(**args)
|
3064
|
+
update!(**args)
|
3065
|
+
end
|
3066
|
+
|
3067
|
+
# Update properties of this object
|
3068
|
+
def update!(**args)
|
3069
|
+
@included = args[:included] if args.key?(:included)
|
3070
|
+
end
|
3071
|
+
end
|
3072
|
+
|
2730
3073
|
# ResourceManifest represents a single Kubernetes resource to be applied to the
|
2731
3074
|
# cluster.
|
2732
3075
|
class ResourceManifest
|
@@ -2876,6 +3219,31 @@ module Google
|
|
2876
3219
|
end
|
2877
3220
|
end
|
2878
3221
|
|
3222
|
+
# Status of control plane management.
|
3223
|
+
class ServiceMeshControlPlaneManagement
|
3224
|
+
include Google::Apis::Core::Hashable
|
3225
|
+
|
3226
|
+
# Explanation of state.
|
3227
|
+
# Corresponds to the JSON property `details`
|
3228
|
+
# @return [Array<Google::Apis::GkehubV1alpha::ServiceMeshStatusDetails>]
|
3229
|
+
attr_accessor :details
|
3230
|
+
|
3231
|
+
# LifecycleState of control plane management.
|
3232
|
+
# Corresponds to the JSON property `state`
|
3233
|
+
# @return [String]
|
3234
|
+
attr_accessor :state
|
3235
|
+
|
3236
|
+
def initialize(**args)
|
3237
|
+
update!(**args)
|
3238
|
+
end
|
3239
|
+
|
3240
|
+
# Update properties of this object
|
3241
|
+
def update!(**args)
|
3242
|
+
@details = args[:details] if args.key?(:details)
|
3243
|
+
@state = args[:state] if args.key?(:state)
|
3244
|
+
end
|
3245
|
+
end
|
3246
|
+
|
2879
3247
|
# **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub
|
2880
3248
|
# Controller.
|
2881
3249
|
class ServiceMeshFeatureState
|
@@ -2900,12 +3268,18 @@ module Google
|
|
2900
3268
|
class ServiceMeshMembershipSpec
|
2901
3269
|
include Google::Apis::Core::Hashable
|
2902
3270
|
|
3271
|
+
# Enables automatic control plane management.
|
3272
|
+
# Corresponds to the JSON property `controlPlane`
|
3273
|
+
# @return [String]
|
3274
|
+
attr_accessor :control_plane
|
3275
|
+
|
2903
3276
|
def initialize(**args)
|
2904
3277
|
update!(**args)
|
2905
3278
|
end
|
2906
3279
|
|
2907
3280
|
# Update properties of this object
|
2908
3281
|
def update!(**args)
|
3282
|
+
@control_plane = args[:control_plane] if args.key?(:control_plane)
|
2909
3283
|
end
|
2910
3284
|
end
|
2911
3285
|
|
@@ -2919,6 +3293,11 @@ module Google
|
|
2919
3293
|
# @return [Array<Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage>]
|
2920
3294
|
attr_accessor :analysis_messages
|
2921
3295
|
|
3296
|
+
# Status of control plane management.
|
3297
|
+
# Corresponds to the JSON property `controlPlaneManagement`
|
3298
|
+
# @return [Google::Apis::GkehubV1alpha::ServiceMeshControlPlaneManagement]
|
3299
|
+
attr_accessor :control_plane_management
|
3300
|
+
|
2922
3301
|
def initialize(**args)
|
2923
3302
|
update!(**args)
|
2924
3303
|
end
|
@@ -2926,6 +3305,32 @@ module Google
|
|
2926
3305
|
# Update properties of this object
|
2927
3306
|
def update!(**args)
|
2928
3307
|
@analysis_messages = args[:analysis_messages] if args.key?(:analysis_messages)
|
3308
|
+
@control_plane_management = args[:control_plane_management] if args.key?(:control_plane_management)
|
3309
|
+
end
|
3310
|
+
end
|
3311
|
+
|
3312
|
+
# Structured and human-readable details for a status.
|
3313
|
+
class ServiceMeshStatusDetails
|
3314
|
+
include Google::Apis::Core::Hashable
|
3315
|
+
|
3316
|
+
# A machine-readable code that further describes a broad status.
|
3317
|
+
# Corresponds to the JSON property `code`
|
3318
|
+
# @return [String]
|
3319
|
+
attr_accessor :code
|
3320
|
+
|
3321
|
+
# Human-readable explanation of code.
|
3322
|
+
# Corresponds to the JSON property `details`
|
3323
|
+
# @return [String]
|
3324
|
+
attr_accessor :details
|
3325
|
+
|
3326
|
+
def initialize(**args)
|
3327
|
+
update!(**args)
|
3328
|
+
end
|
3329
|
+
|
3330
|
+
# Update properties of this object
|
3331
|
+
def update!(**args)
|
3332
|
+
@code = args[:code] if args.key?(:code)
|
3333
|
+
@details = args[:details] if args.key?(:details)
|
2929
3334
|
end
|
2930
3335
|
end
|
2931
3336
|
|
@@ -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.22.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220204"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,12 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class CloudBuildMembershipSpec
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
79
85
|
class CommonFeatureSpec
|
80
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
87
|
|
@@ -238,6 +244,12 @@ module Google
|
|
238
244
|
include Google::Apis::Core::JsonObjectSupport
|
239
245
|
end
|
240
246
|
|
247
|
+
class EdgeCluster
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
241
253
|
class Empty
|
242
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
255
|
|
@@ -262,6 +274,12 @@ module Google
|
|
262
274
|
include Google::Apis::Core::JsonObjectSupport
|
263
275
|
end
|
264
276
|
|
277
|
+
class FeatureSpec
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
265
283
|
class FeatureState
|
266
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
285
|
|
@@ -388,6 +406,12 @@ module Google
|
|
388
406
|
include Google::Apis::Core::JsonObjectSupport
|
389
407
|
end
|
390
408
|
|
409
|
+
class MembershipSpec
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
391
415
|
class MembershipState
|
392
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
417
|
|
@@ -436,6 +460,42 @@ module Google
|
|
436
460
|
include Google::Apis::Core::JsonObjectSupport
|
437
461
|
end
|
438
462
|
|
463
|
+
class PolicyControllerMembershipSpec
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
469
|
+
class PolicyControllerMembershipState
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
475
|
+
class PolicyControllerPolicyControllerHubConfig
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
481
|
+
class PolicyControllerPolicyControllerHubState
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
487
|
+
class PolicyControllerPolicyControllerHubVersion
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
493
|
+
class PolicyControllerTemplateLibraryConfig
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
439
499
|
class ResourceManifest
|
440
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
501
|
|
@@ -460,6 +520,12 @@ module Google
|
|
460
520
|
include Google::Apis::Core::JsonObjectSupport
|
461
521
|
end
|
462
522
|
|
523
|
+
class ServiceMeshControlPlaneManagement
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
|
+
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
527
|
+
end
|
528
|
+
|
463
529
|
class ServiceMeshFeatureState
|
464
530
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
531
|
|
@@ -478,6 +544,12 @@ module Google
|
|
478
544
|
include Google::Apis::Core::JsonObjectSupport
|
479
545
|
end
|
480
546
|
|
547
|
+
class ServiceMeshStatusDetails
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
|
+
|
550
|
+
include Google::Apis::Core::JsonObjectSupport
|
551
|
+
end
|
552
|
+
|
481
553
|
class ServiceMeshType
|
482
554
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
555
|
|
@@ -586,6 +658,14 @@ module Google
|
|
586
658
|
end
|
587
659
|
end
|
588
660
|
|
661
|
+
class CloudBuildMembershipSpec
|
662
|
+
# @private
|
663
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
664
|
+
property :security_policy, as: 'securityPolicy'
|
665
|
+
property :version, as: 'version'
|
666
|
+
end
|
667
|
+
end
|
668
|
+
|
589
669
|
class CommonFeatureSpec
|
590
670
|
# @private
|
591
671
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -595,6 +675,8 @@ module Google
|
|
595
675
|
|
596
676
|
property :multiclusteringress, as: 'multiclusteringress', class: Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec, decorator: Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec::Representation
|
597
677
|
|
678
|
+
property :workloadcertificate, as: 'workloadcertificate', class: Google::Apis::GkehubV1alpha::FeatureSpec, decorator: Google::Apis::GkehubV1alpha::FeatureSpec::Representation
|
679
|
+
|
598
680
|
end
|
599
681
|
end
|
600
682
|
|
@@ -874,6 +956,13 @@ module Google
|
|
874
956
|
end
|
875
957
|
end
|
876
958
|
|
959
|
+
class EdgeCluster
|
960
|
+
# @private
|
961
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
962
|
+
property :resource_link, as: 'resourceLink'
|
963
|
+
end
|
964
|
+
end
|
965
|
+
|
877
966
|
class Empty
|
878
967
|
# @private
|
879
968
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -918,6 +1007,15 @@ module Google
|
|
918
1007
|
end
|
919
1008
|
end
|
920
1009
|
|
1010
|
+
class FeatureSpec
|
1011
|
+
# @private
|
1012
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1013
|
+
property :default_config, as: 'defaultConfig', class: Google::Apis::GkehubV1alpha::MembershipSpec, decorator: Google::Apis::GkehubV1alpha::MembershipSpec::Representation
|
1014
|
+
|
1015
|
+
property :provision_google_ca, as: 'provisionGoogleCa'
|
1016
|
+
end
|
1017
|
+
end
|
1018
|
+
|
921
1019
|
class FeatureState
|
922
1020
|
# @private
|
923
1021
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -999,7 +1097,9 @@ module Google
|
|
999
1097
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1000
1098
|
property :certificate_authority_data, as: 'certificateAuthorityData'
|
1001
1099
|
property :client_id, as: 'clientId'
|
1100
|
+
property :client_secret, as: 'clientSecret'
|
1002
1101
|
property :deploy_cloud_console_proxy, as: 'deployCloudConsoleProxy'
|
1102
|
+
property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
|
1003
1103
|
property :extra_params, as: 'extraParams'
|
1004
1104
|
property :group_prefix, as: 'groupPrefix'
|
1005
1105
|
property :groups_claim, as: 'groupsClaim'
|
@@ -1118,6 +1218,8 @@ module Google
|
|
1118
1218
|
class MembershipEndpoint
|
1119
1219
|
# @private
|
1120
1220
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1221
|
+
property :edge_cluster, as: 'edgeCluster', class: Google::Apis::GkehubV1alpha::EdgeCluster, decorator: Google::Apis::GkehubV1alpha::EdgeCluster::Representation
|
1222
|
+
|
1121
1223
|
property :gke_cluster, as: 'gkeCluster', class: Google::Apis::GkehubV1alpha::GkeCluster, decorator: Google::Apis::GkehubV1alpha::GkeCluster::Representation
|
1122
1224
|
|
1123
1225
|
property :kubernetes_metadata, as: 'kubernetesMetadata', class: Google::Apis::GkehubV1alpha::KubernetesMetadata, decorator: Google::Apis::GkehubV1alpha::KubernetesMetadata::Representation
|
@@ -1136,12 +1238,18 @@ module Google
|
|
1136
1238
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1137
1239
|
property :anthosobservability, as: 'anthosobservability', class: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec::Representation
|
1138
1240
|
|
1241
|
+
property :cloudbuild, as: 'cloudbuild', class: Google::Apis::GkehubV1alpha::CloudBuildMembershipSpec, decorator: Google::Apis::GkehubV1alpha::CloudBuildMembershipSpec::Representation
|
1242
|
+
|
1139
1243
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec::Representation
|
1140
1244
|
|
1141
1245
|
property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
|
1142
1246
|
|
1143
1247
|
property :mesh, as: 'mesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec::Representation
|
1144
1248
|
|
1249
|
+
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
|
1250
|
+
|
1251
|
+
property :workloadcertificate, as: 'workloadcertificate', class: Google::Apis::GkehubV1alpha::MembershipSpec, decorator: Google::Apis::GkehubV1alpha::MembershipSpec::Representation
|
1252
|
+
|
1145
1253
|
end
|
1146
1254
|
end
|
1147
1255
|
|
@@ -1156,6 +1264,8 @@ module Google
|
|
1156
1264
|
|
1157
1265
|
property :metering, as: 'metering', class: Google::Apis::GkehubV1alpha::MeteringMembershipState, decorator: Google::Apis::GkehubV1alpha::MeteringMembershipState::Representation
|
1158
1266
|
|
1267
|
+
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipState::Representation
|
1268
|
+
|
1159
1269
|
property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState::Representation
|
1160
1270
|
|
1161
1271
|
property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FeatureState, decorator: Google::Apis::GkehubV1alpha::FeatureState::Representation
|
@@ -1163,6 +1273,13 @@ module Google
|
|
1163
1273
|
end
|
1164
1274
|
end
|
1165
1275
|
|
1276
|
+
class MembershipSpec
|
1277
|
+
# @private
|
1278
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1279
|
+
property :certificate_management, as: 'certificateManagement'
|
1280
|
+
end
|
1281
|
+
end
|
1282
|
+
|
1166
1283
|
class MembershipState
|
1167
1284
|
# @private
|
1168
1285
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1240,6 +1357,64 @@ module Google
|
|
1240
1357
|
end
|
1241
1358
|
end
|
1242
1359
|
|
1360
|
+
class PolicyControllerMembershipSpec
|
1361
|
+
# @private
|
1362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1363
|
+
property :policy_controller_hub_config, as: 'policyControllerHubConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubConfig::Representation
|
1364
|
+
|
1365
|
+
property :version, as: 'version'
|
1366
|
+
end
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
class PolicyControllerMembershipState
|
1370
|
+
# @private
|
1371
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1372
|
+
property :cluster_name, as: 'clusterName'
|
1373
|
+
property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
|
1374
|
+
|
1375
|
+
property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubState::Representation
|
1376
|
+
|
1377
|
+
property :state, as: 'state'
|
1378
|
+
end
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
class PolicyControllerPolicyControllerHubConfig
|
1382
|
+
# @private
|
1383
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1384
|
+
property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
|
1385
|
+
collection :exemptable_namespaces, as: 'exemptableNamespaces'
|
1386
|
+
property :install_spec, as: 'installSpec'
|
1387
|
+
property :log_denies_enabled, as: 'logDeniesEnabled'
|
1388
|
+
property :mutation_enabled, as: 'mutationEnabled'
|
1389
|
+
property :referential_rules_enabled, as: 'referentialRulesEnabled'
|
1390
|
+
property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig::Representation
|
1391
|
+
|
1392
|
+
end
|
1393
|
+
end
|
1394
|
+
|
1395
|
+
class PolicyControllerPolicyControllerHubState
|
1396
|
+
# @private
|
1397
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1398
|
+
hash :deployment_states, as: 'deploymentStates'
|
1399
|
+
property :version, as: 'version', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubVersion, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerHubVersion::Representation
|
1400
|
+
|
1401
|
+
end
|
1402
|
+
end
|
1403
|
+
|
1404
|
+
class PolicyControllerPolicyControllerHubVersion
|
1405
|
+
# @private
|
1406
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1407
|
+
property :version, as: 'version'
|
1408
|
+
end
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
class PolicyControllerTemplateLibraryConfig
|
1412
|
+
# @private
|
1413
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1414
|
+
property :included, as: 'included'
|
1415
|
+
end
|
1416
|
+
end
|
1417
|
+
|
1243
1418
|
class ResourceManifest
|
1244
1419
|
# @private
|
1245
1420
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1278,6 +1453,15 @@ module Google
|
|
1278
1453
|
end
|
1279
1454
|
end
|
1280
1455
|
|
1456
|
+
class ServiceMeshControlPlaneManagement
|
1457
|
+
# @private
|
1458
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1459
|
+
collection :details, as: 'details', class: Google::Apis::GkehubV1alpha::ServiceMeshStatusDetails, decorator: Google::Apis::GkehubV1alpha::ServiceMeshStatusDetails::Representation
|
1460
|
+
|
1461
|
+
property :state, as: 'state'
|
1462
|
+
end
|
1463
|
+
end
|
1464
|
+
|
1281
1465
|
class ServiceMeshFeatureState
|
1282
1466
|
# @private
|
1283
1467
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1289,6 +1473,7 @@ module Google
|
|
1289
1473
|
class ServiceMeshMembershipSpec
|
1290
1474
|
# @private
|
1291
1475
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1476
|
+
property :control_plane, as: 'controlPlane'
|
1292
1477
|
end
|
1293
1478
|
end
|
1294
1479
|
|
@@ -1297,6 +1482,16 @@ module Google
|
|
1297
1482
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1298
1483
|
collection :analysis_messages, as: 'analysisMessages', class: Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage, decorator: Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage::Representation
|
1299
1484
|
|
1485
|
+
property :control_plane_management, as: 'controlPlaneManagement', class: Google::Apis::GkehubV1alpha::ServiceMeshControlPlaneManagement, decorator: Google::Apis::GkehubV1alpha::ServiceMeshControlPlaneManagement::Representation
|
1486
|
+
|
1487
|
+
end
|
1488
|
+
end
|
1489
|
+
|
1490
|
+
class ServiceMeshStatusDetails
|
1491
|
+
# @private
|
1492
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1493
|
+
property :code, as: 'code'
|
1494
|
+
property :details, as: 'details'
|
1300
1495
|
end
|
1301
1496
|
end
|
1302
1497
|
|
@@ -124,22 +124,22 @@ module Google
|
|
124
124
|
|
125
125
|
# Adds a new Feature.
|
126
126
|
# @param [String] parent
|
127
|
-
# The parent (project and location) where the Feature will be created.
|
128
|
-
# in the format `projects/*/locations/*`.
|
127
|
+
# Required. The parent (project and location) where the Feature will be created.
|
128
|
+
# Specified in the format `projects/*/locations/*`.
|
129
129
|
# @param [Google::Apis::GkehubV1alpha::Feature] feature_object
|
130
130
|
# @param [String] feature_id
|
131
131
|
# The ID of the feature to create.
|
132
132
|
# @param [String] request_id
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
#
|
133
|
+
# A request ID to identify requests. Specify a unique request ID so that if you
|
134
|
+
# must retry your request, the server will know to ignore the request if it has
|
135
|
+
# already been completed. The server will guarantee that for at least 60 minutes
|
136
|
+
# after the first request. For example, consider a situation where you make an
|
137
|
+
# initial request and the request times out. If you make the request again with
|
138
|
+
# the same request ID, the server can check if original operation with the same
|
139
|
+
# request ID was received, and if so, will ignore the second request. This
|
140
|
+
# prevents clients from accidentally creating duplicate commitments. The request
|
141
|
+
# ID must be a valid UUID with the exception that zero UUID is not supported (
|
142
|
+
# 00000000-0000-0000-0000-000000000000).
|
143
143
|
# @param [String] fields
|
144
144
|
# Selector specifying which fields to include in a partial response.
|
145
145
|
# @param [String] quota_user
|
@@ -173,7 +173,8 @@ module Google
|
|
173
173
|
|
174
174
|
# Removes a Feature.
|
175
175
|
# @param [String] name
|
176
|
-
# The Feature resource name in the format `projects/*/locations/*/
|
176
|
+
# Required. The Feature resource name in the format `projects/*/locations/*/
|
177
|
+
# features/*`.
|
177
178
|
# @param [Boolean] force
|
178
179
|
# If set to true, the delete will ignore any outstanding resources for this
|
179
180
|
# Feature (that is, `FeatureState.has_resources` is set to true). These
|
@@ -220,7 +221,8 @@ module Google
|
|
220
221
|
|
221
222
|
# Gets details of a single Feature.
|
222
223
|
# @param [String] name
|
223
|
-
# The Feature resource name in the format `projects/*/locations/*/
|
224
|
+
# Required. The Feature resource name in the format `projects/*/locations/*/
|
225
|
+
# features/*`
|
224
226
|
# @param [String] fields
|
225
227
|
# Selector specifying which fields to include in a partial response.
|
226
228
|
# @param [String] quota_user
|
@@ -294,8 +296,8 @@ module Google
|
|
294
296
|
|
295
297
|
# Lists Features in a given project and location.
|
296
298
|
# @param [String] parent
|
297
|
-
# The parent (project and location) where the Features will be listed.
|
298
|
-
# in the format `projects/*/locations/*`.
|
299
|
+
# Required. The parent (project and location) where the Features will be listed.
|
300
|
+
# Specified in the format `projects/*/locations/*`.
|
299
301
|
# @param [String] filter
|
300
302
|
# Lists Features that match the filter expression, following the syntax outlined
|
301
303
|
# in https://google.aip.dev/160. Examples: - Feature with the name "servicemesh"
|
@@ -345,19 +347,20 @@ module Google
|
|
345
347
|
|
346
348
|
# Updates an existing Feature.
|
347
349
|
# @param [String] name
|
348
|
-
# The Feature resource name in the format `projects/*/locations/*/
|
350
|
+
# Required. The Feature resource name in the format `projects/*/locations/*/
|
351
|
+
# features/*`.
|
349
352
|
# @param [Google::Apis::GkehubV1alpha::Feature] feature_object
|
350
353
|
# @param [String] request_id
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
354
|
+
# A request ID to identify requests. Specify a unique request ID so that if you
|
355
|
+
# must retry your request, the server will know to ignore the request if it has
|
356
|
+
# already been completed. The server will guarantee that for at least 60 minutes
|
357
|
+
# after the first request. For example, consider a situation where you make an
|
358
|
+
# initial request and the request times out. If you make the request again with
|
359
|
+
# the same request ID, the server can check if original operation with the same
|
360
|
+
# request ID was received, and if so, will ignore the second request. This
|
361
|
+
# prevents clients from accidentally creating duplicate commitments. The request
|
362
|
+
# ID must be a valid UUID with the exception that zero UUID is not supported (
|
363
|
+
# 00000000-0000-0000-0000-000000000000).
|
361
364
|
# @param [String] update_mask
|
362
365
|
# Mask of fields to update.
|
363
366
|
# @param [String] fields
|
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.22.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: 2022-
|
11
|
+
date: 2022-02-14 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.22.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for GKE Hub API V1alpha
|