google-apis-gkehub_v1alpha 0.17.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/gkehub_v1alpha/classes.rb +392 -0
- data/lib/google/apis/gkehub_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/gkehub_v1alpha/representations.rb +193 -0
- data/lib/google/apis/gkehub_v1alpha/service.rb +30 -27
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c335653e0fe91e6ecd687b3c0f807668a9eda95f5647ba40b919716a4a93e1b6
|
4
|
+
data.tar.gz: 18312abf9ec4b7cdb122e6b2b1b11e6d432735d67bd43e57bed0143291cb8779
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9905af78210a4ce9a86415a7e6aec569be16530eb14f6a2d8a225df13688e03d8637f1c7664e3363fbd55b7c480e2450aa7f5d2fc5f96f38a59e50d225a8026e
|
7
|
+
data.tar.gz: 5544536be8483c08fcc1e374b7fb3f483783bbdbb9200caff2da8c29607d11e8773d2c848de250af556cedcfc6b929d7005fee036c5133a0e0021a44fe5b3fa8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha
|
2
2
|
|
3
|
+
### v0.21.0 (2022-02-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220128
|
6
|
+
|
7
|
+
### v0.20.0 (2022-01-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220122
|
10
|
+
|
11
|
+
### v0.19.0 (2022-01-15)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220107
|
14
|
+
* Regenerated using generator version 0.4.1
|
15
|
+
|
16
|
+
### v0.18.0 (2021-12-16)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
3
20
|
### v0.17.0 (2021-12-12)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211203
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/gkehub_v1alpha"
|
|
51
51
|
client = Google::Apis::GkehubV1alpha::GKEHubService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -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.
|
@@ -2236,6 +2316,11 @@ module Google
|
|
2236
2316
|
class MembershipEndpoint
|
2237
2317
|
include Google::Apis::Core::Hashable
|
2238
2318
|
|
2319
|
+
# EdgeCluster contains information specific to Google Edge Clusters.
|
2320
|
+
# Corresponds to the JSON property `edgeCluster`
|
2321
|
+
# @return [Google::Apis::GkehubV1alpha::EdgeCluster]
|
2322
|
+
attr_accessor :edge_cluster
|
2323
|
+
|
2239
2324
|
# GkeCluster contains information specific to GKE clusters.
|
2240
2325
|
# Corresponds to the JSON property `gkeCluster`
|
2241
2326
|
# @return [Google::Apis::GkehubV1alpha::GkeCluster]
|
@@ -2270,6 +2355,7 @@ module Google
|
|
2270
2355
|
|
2271
2356
|
# Update properties of this object
|
2272
2357
|
def update!(**args)
|
2358
|
+
@edge_cluster = args[:edge_cluster] if args.key?(:edge_cluster)
|
2273
2359
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
2274
2360
|
@kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
|
2275
2361
|
@kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource)
|
@@ -2288,6 +2374,11 @@ module Google
|
|
2288
2374
|
# @return [Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec]
|
2289
2375
|
attr_accessor :anthosobservability
|
2290
2376
|
|
2377
|
+
# **Cloud Build**: Configurations for each Cloud Build enabled cluster.
|
2378
|
+
# Corresponds to the JSON property `cloudbuild`
|
2379
|
+
# @return [Google::Apis::GkehubV1alpha::CloudBuildMembershipSpec]
|
2380
|
+
attr_accessor :cloudbuild
|
2381
|
+
|
2291
2382
|
# **Anthos Config Management**: Configuration for a single cluster. Intended to
|
2292
2383
|
# parallel the ConfigManagement CR.
|
2293
2384
|
# Corresponds to the JSON property `configmanagement`
|
@@ -2304,6 +2395,18 @@ module Google
|
|
2304
2395
|
# @return [Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec]
|
2305
2396
|
attr_accessor :mesh
|
2306
2397
|
|
2398
|
+
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2399
|
+
# parallel the PolicyController CR.
|
2400
|
+
# Corresponds to the JSON property `policycontroller`
|
2401
|
+
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec]
|
2402
|
+
attr_accessor :policycontroller
|
2403
|
+
|
2404
|
+
# **Workload Certificate**: The membership-specific input for
|
2405
|
+
# WorkloadCertificate feature.
|
2406
|
+
# Corresponds to the JSON property `workloadcertificate`
|
2407
|
+
# @return [Google::Apis::GkehubV1alpha::MembershipSpec]
|
2408
|
+
attr_accessor :workloadcertificate
|
2409
|
+
|
2307
2410
|
def initialize(**args)
|
2308
2411
|
update!(**args)
|
2309
2412
|
end
|
@@ -2311,9 +2414,12 @@ module Google
|
|
2311
2414
|
# Update properties of this object
|
2312
2415
|
def update!(**args)
|
2313
2416
|
@anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
|
2417
|
+
@cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
|
2314
2418
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
2315
2419
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
2316
2420
|
@mesh = args[:mesh] if args.key?(:mesh)
|
2421
|
+
@policycontroller = args[:policycontroller] if args.key?(:policycontroller)
|
2422
|
+
@workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate)
|
2317
2423
|
end
|
2318
2424
|
end
|
2319
2425
|
|
@@ -2342,6 +2448,11 @@ module Google
|
|
2342
2448
|
# @return [Google::Apis::GkehubV1alpha::MeteringMembershipState]
|
2343
2449
|
attr_accessor :metering
|
2344
2450
|
|
2451
|
+
# **Policy Controller**: State for a single cluster.
|
2452
|
+
# Corresponds to the JSON property `policycontroller`
|
2453
|
+
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerMembershipState]
|
2454
|
+
attr_accessor :policycontroller
|
2455
|
+
|
2345
2456
|
# **Service Mesh**: State for a single Membership, as analyzed by the Service
|
2346
2457
|
# Mesh Hub Controller.
|
2347
2458
|
# Corresponds to the JSON property `servicemesh`
|
@@ -2365,11 +2476,32 @@ module Google
|
|
2365
2476
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
2366
2477
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
2367
2478
|
@metering = args[:metering] if args.key?(:metering)
|
2479
|
+
@policycontroller = args[:policycontroller] if args.key?(:policycontroller)
|
2368
2480
|
@servicemesh = args[:servicemesh] if args.key?(:servicemesh)
|
2369
2481
|
@state = args[:state] if args.key?(:state)
|
2370
2482
|
end
|
2371
2483
|
end
|
2372
2484
|
|
2485
|
+
# **Workload Certificate**: The membership-specific input for
|
2486
|
+
# WorkloadCertificate feature.
|
2487
|
+
class MembershipSpec
|
2488
|
+
include Google::Apis::Core::Hashable
|
2489
|
+
|
2490
|
+
# Specifies workload certificate management.
|
2491
|
+
# Corresponds to the JSON property `certificateManagement`
|
2492
|
+
# @return [String]
|
2493
|
+
attr_accessor :certificate_management
|
2494
|
+
|
2495
|
+
def initialize(**args)
|
2496
|
+
update!(**args)
|
2497
|
+
end
|
2498
|
+
|
2499
|
+
# Update properties of this object
|
2500
|
+
def update!(**args)
|
2501
|
+
@certificate_management = args[:certificate_management] if args.key?(:certificate_management)
|
2502
|
+
end
|
2503
|
+
end
|
2504
|
+
|
2373
2505
|
# MembershipState describes the state of a Membership resource.
|
2374
2506
|
class MembershipState
|
2375
2507
|
include Google::Apis::Core::Hashable
|
@@ -2727,6 +2859,204 @@ module Google
|
|
2727
2859
|
end
|
2728
2860
|
end
|
2729
2861
|
|
2862
|
+
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2863
|
+
# parallel the PolicyController CR.
|
2864
|
+
class PolicycontrollerMembershipSpec
|
2865
|
+
include Google::Apis::Core::Hashable
|
2866
|
+
|
2867
|
+
# Configuration for Policy Controller
|
2868
|
+
# Corresponds to the JSON property `policyControllerHubConfig`
|
2869
|
+
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubConfig]
|
2870
|
+
attr_accessor :policy_controller_hub_config
|
2871
|
+
|
2872
|
+
# Version of Policy Controller installed.
|
2873
|
+
# Corresponds to the JSON property `version`
|
2874
|
+
# @return [String]
|
2875
|
+
attr_accessor :version
|
2876
|
+
|
2877
|
+
def initialize(**args)
|
2878
|
+
update!(**args)
|
2879
|
+
end
|
2880
|
+
|
2881
|
+
# Update properties of this object
|
2882
|
+
def update!(**args)
|
2883
|
+
@policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config)
|
2884
|
+
@version = args[:version] if args.key?(:version)
|
2885
|
+
end
|
2886
|
+
end
|
2887
|
+
|
2888
|
+
# **Policy Controller**: State for a single cluster.
|
2889
|
+
class PolicycontrollerMembershipState
|
2890
|
+
include Google::Apis::Core::Hashable
|
2891
|
+
|
2892
|
+
# The user-defined name for the cluster used by ClusterSelectors to group
|
2893
|
+
# clusters together. This should match Membership's membership_name, unless the
|
2894
|
+
# user installed PC on the cluster manually prior to enabling the PC hub feature.
|
2895
|
+
# Unique within a Policy Controller installation.
|
2896
|
+
# Corresponds to the JSON property `clusterName`
|
2897
|
+
# @return [String]
|
2898
|
+
attr_accessor :cluster_name
|
2899
|
+
|
2900
|
+
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2901
|
+
# parallel the PolicyController CR.
|
2902
|
+
# Corresponds to the JSON property `membershipSpec`
|
2903
|
+
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec]
|
2904
|
+
attr_accessor :membership_spec
|
2905
|
+
|
2906
|
+
# State of the Policy Controller.
|
2907
|
+
# Corresponds to the JSON property `policyControllerHubState`
|
2908
|
+
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubState]
|
2909
|
+
attr_accessor :policy_controller_hub_state
|
2910
|
+
|
2911
|
+
# The lifecycle state Policy Controller is in.
|
2912
|
+
# Corresponds to the JSON property `state`
|
2913
|
+
# @return [String]
|
2914
|
+
attr_accessor :state
|
2915
|
+
|
2916
|
+
def initialize(**args)
|
2917
|
+
update!(**args)
|
2918
|
+
end
|
2919
|
+
|
2920
|
+
# Update properties of this object
|
2921
|
+
def update!(**args)
|
2922
|
+
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
2923
|
+
@membership_spec = args[:membership_spec] if args.key?(:membership_spec)
|
2924
|
+
@policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
|
2925
|
+
@state = args[:state] if args.key?(:state)
|
2926
|
+
end
|
2927
|
+
end
|
2928
|
+
|
2929
|
+
# Configuration for Policy Controller
|
2930
|
+
class PolicycontrollerPolicyControllerHubConfig
|
2931
|
+
include Google::Apis::Core::Hashable
|
2932
|
+
|
2933
|
+
# Sets the interval for Policy Controller Audit Scans (in seconds). When set to
|
2934
|
+
# 0, this disables audit functionality altogether.
|
2935
|
+
# Corresponds to the JSON property `auditIntervalSeconds`
|
2936
|
+
# @return [Fixnum]
|
2937
|
+
attr_accessor :audit_interval_seconds
|
2938
|
+
|
2939
|
+
# The set of namespaces that are excluded from Policy Controller checks.
|
2940
|
+
# Namespaces do not need to currently exist on the cluster.
|
2941
|
+
# Corresponds to the JSON property `exemptableNamespaces`
|
2942
|
+
# @return [Array<String>]
|
2943
|
+
attr_accessor :exemptable_namespaces
|
2944
|
+
|
2945
|
+
# The install_spec represents the intended state specified by the latest request
|
2946
|
+
# that mutated install_spec in the feature spec, not the lifecycle state of the
|
2947
|
+
# feature observed by the Hub feature controller that is reported in the feature
|
2948
|
+
# state.
|
2949
|
+
# Corresponds to the JSON property `installSpec`
|
2950
|
+
# @return [String]
|
2951
|
+
attr_accessor :install_spec
|
2952
|
+
|
2953
|
+
# Logs all denies and dry run failures.
|
2954
|
+
# Corresponds to the JSON property `logDeniesEnabled`
|
2955
|
+
# @return [Boolean]
|
2956
|
+
attr_accessor :log_denies_enabled
|
2957
|
+
alias_method :log_denies_enabled?, :log_denies_enabled
|
2958
|
+
|
2959
|
+
# Enables the ability to mutate resources using Policy Controller.
|
2960
|
+
# Corresponds to the JSON property `mutationEnabled`
|
2961
|
+
# @return [Boolean]
|
2962
|
+
attr_accessor :mutation_enabled
|
2963
|
+
alias_method :mutation_enabled?, :mutation_enabled
|
2964
|
+
|
2965
|
+
# Enables the ability to use Constraint Templates that reference to objects
|
2966
|
+
# other than the object currently being evaluated.
|
2967
|
+
# Corresponds to the JSON property `referentialRulesEnabled`
|
2968
|
+
# @return [Boolean]
|
2969
|
+
attr_accessor :referential_rules_enabled
|
2970
|
+
alias_method :referential_rules_enabled?, :referential_rules_enabled
|
2971
|
+
|
2972
|
+
# The config specifying which default library templates to install.
|
2973
|
+
# Corresponds to the JSON property `templateLibraryConfig`
|
2974
|
+
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerTemplateLibraryConfig]
|
2975
|
+
attr_accessor :template_library_config
|
2976
|
+
|
2977
|
+
def initialize(**args)
|
2978
|
+
update!(**args)
|
2979
|
+
end
|
2980
|
+
|
2981
|
+
# Update properties of this object
|
2982
|
+
def update!(**args)
|
2983
|
+
@audit_interval_seconds = args[:audit_interval_seconds] if args.key?(:audit_interval_seconds)
|
2984
|
+
@exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
|
2985
|
+
@install_spec = args[:install_spec] if args.key?(:install_spec)
|
2986
|
+
@log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
|
2987
|
+
@mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
|
2988
|
+
@referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
|
2989
|
+
@template_library_config = args[:template_library_config] if args.key?(:template_library_config)
|
2990
|
+
end
|
2991
|
+
end
|
2992
|
+
|
2993
|
+
# State of the Policy Controller.
|
2994
|
+
class PolicycontrollerPolicyControllerHubState
|
2995
|
+
include Google::Apis::Core::Hashable
|
2996
|
+
|
2997
|
+
# Map from deployment name to deployment state. Example deployments are
|
2998
|
+
# gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-
|
2999
|
+
# mutation.
|
3000
|
+
# Corresponds to the JSON property `deploymentStates`
|
3001
|
+
# @return [Hash<String,String>]
|
3002
|
+
attr_accessor :deployment_states
|
3003
|
+
|
3004
|
+
# The build version of Gatekeeper that Policy Controller is using.
|
3005
|
+
# Corresponds to the JSON property `version`
|
3006
|
+
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubVersion]
|
3007
|
+
attr_accessor :version
|
3008
|
+
|
3009
|
+
def initialize(**args)
|
3010
|
+
update!(**args)
|
3011
|
+
end
|
3012
|
+
|
3013
|
+
# Update properties of this object
|
3014
|
+
def update!(**args)
|
3015
|
+
@deployment_states = args[:deployment_states] if args.key?(:deployment_states)
|
3016
|
+
@version = args[:version] if args.key?(:version)
|
3017
|
+
end
|
3018
|
+
end
|
3019
|
+
|
3020
|
+
# The build version of Gatekeeper that Policy Controller is using.
|
3021
|
+
class PolicycontrollerPolicyControllerHubVersion
|
3022
|
+
include Google::Apis::Core::Hashable
|
3023
|
+
|
3024
|
+
# The gatekeeper image tag that is composed of ACM version, git tag, build
|
3025
|
+
# number.
|
3026
|
+
# Corresponds to the JSON property `version`
|
3027
|
+
# @return [String]
|
3028
|
+
attr_accessor :version
|
3029
|
+
|
3030
|
+
def initialize(**args)
|
3031
|
+
update!(**args)
|
3032
|
+
end
|
3033
|
+
|
3034
|
+
# Update properties of this object
|
3035
|
+
def update!(**args)
|
3036
|
+
@version = args[:version] if args.key?(:version)
|
3037
|
+
end
|
3038
|
+
end
|
3039
|
+
|
3040
|
+
# The config specifying which default library templates to install.
|
3041
|
+
class PolicycontrollerTemplateLibraryConfig
|
3042
|
+
include Google::Apis::Core::Hashable
|
3043
|
+
|
3044
|
+
# Whether the standard template library should be installed or not.
|
3045
|
+
# Corresponds to the JSON property `included`
|
3046
|
+
# @return [Boolean]
|
3047
|
+
attr_accessor :included
|
3048
|
+
alias_method :included?, :included
|
3049
|
+
|
3050
|
+
def initialize(**args)
|
3051
|
+
update!(**args)
|
3052
|
+
end
|
3053
|
+
|
3054
|
+
# Update properties of this object
|
3055
|
+
def update!(**args)
|
3056
|
+
@included = args[:included] if args.key?(:included)
|
3057
|
+
end
|
3058
|
+
end
|
3059
|
+
|
2730
3060
|
# ResourceManifest represents a single Kubernetes resource to be applied to the
|
2731
3061
|
# cluster.
|
2732
3062
|
class ResourceManifest
|
@@ -2876,6 +3206,31 @@ module Google
|
|
2876
3206
|
end
|
2877
3207
|
end
|
2878
3208
|
|
3209
|
+
# Status of control plane management.
|
3210
|
+
class ServiceMeshControlPlaneManagement
|
3211
|
+
include Google::Apis::Core::Hashable
|
3212
|
+
|
3213
|
+
# Explanation of state.
|
3214
|
+
# Corresponds to the JSON property `details`
|
3215
|
+
# @return [Array<Google::Apis::GkehubV1alpha::ServiceMeshStatusDetails>]
|
3216
|
+
attr_accessor :details
|
3217
|
+
|
3218
|
+
# LifecycleState of control plane management.
|
3219
|
+
# Corresponds to the JSON property `state`
|
3220
|
+
# @return [String]
|
3221
|
+
attr_accessor :state
|
3222
|
+
|
3223
|
+
def initialize(**args)
|
3224
|
+
update!(**args)
|
3225
|
+
end
|
3226
|
+
|
3227
|
+
# Update properties of this object
|
3228
|
+
def update!(**args)
|
3229
|
+
@details = args[:details] if args.key?(:details)
|
3230
|
+
@state = args[:state] if args.key?(:state)
|
3231
|
+
end
|
3232
|
+
end
|
3233
|
+
|
2879
3234
|
# **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub
|
2880
3235
|
# Controller.
|
2881
3236
|
class ServiceMeshFeatureState
|
@@ -2900,12 +3255,18 @@ module Google
|
|
2900
3255
|
class ServiceMeshMembershipSpec
|
2901
3256
|
include Google::Apis::Core::Hashable
|
2902
3257
|
|
3258
|
+
# Enables automatic control plane management.
|
3259
|
+
# Corresponds to the JSON property `controlPlane`
|
3260
|
+
# @return [String]
|
3261
|
+
attr_accessor :control_plane
|
3262
|
+
|
2903
3263
|
def initialize(**args)
|
2904
3264
|
update!(**args)
|
2905
3265
|
end
|
2906
3266
|
|
2907
3267
|
# Update properties of this object
|
2908
3268
|
def update!(**args)
|
3269
|
+
@control_plane = args[:control_plane] if args.key?(:control_plane)
|
2909
3270
|
end
|
2910
3271
|
end
|
2911
3272
|
|
@@ -2919,6 +3280,11 @@ module Google
|
|
2919
3280
|
# @return [Array<Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage>]
|
2920
3281
|
attr_accessor :analysis_messages
|
2921
3282
|
|
3283
|
+
# Status of control plane management.
|
3284
|
+
# Corresponds to the JSON property `controlPlaneManagement`
|
3285
|
+
# @return [Google::Apis::GkehubV1alpha::ServiceMeshControlPlaneManagement]
|
3286
|
+
attr_accessor :control_plane_management
|
3287
|
+
|
2922
3288
|
def initialize(**args)
|
2923
3289
|
update!(**args)
|
2924
3290
|
end
|
@@ -2926,6 +3292,32 @@ module Google
|
|
2926
3292
|
# Update properties of this object
|
2927
3293
|
def update!(**args)
|
2928
3294
|
@analysis_messages = args[:analysis_messages] if args.key?(:analysis_messages)
|
3295
|
+
@control_plane_management = args[:control_plane_management] if args.key?(:control_plane_management)
|
3296
|
+
end
|
3297
|
+
end
|
3298
|
+
|
3299
|
+
# Structured and human-readable details for a status.
|
3300
|
+
class ServiceMeshStatusDetails
|
3301
|
+
include Google::Apis::Core::Hashable
|
3302
|
+
|
3303
|
+
# A machine-readable code that further describes a broad status.
|
3304
|
+
# Corresponds to the JSON property `code`
|
3305
|
+
# @return [String]
|
3306
|
+
attr_accessor :code
|
3307
|
+
|
3308
|
+
# Human-readable explanation of code.
|
3309
|
+
# Corresponds to the JSON property `details`
|
3310
|
+
# @return [String]
|
3311
|
+
attr_accessor :details
|
3312
|
+
|
3313
|
+
def initialize(**args)
|
3314
|
+
update!(**args)
|
3315
|
+
end
|
3316
|
+
|
3317
|
+
# Update properties of this object
|
3318
|
+
def update!(**args)
|
3319
|
+
@code = args[:code] if args.key?(:code)
|
3320
|
+
@details = args[:details] if args.key?(:details)
|
2929
3321
|
end
|
2930
3322
|
end
|
2931
3323
|
|
@@ -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.21.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 = "20220128"
|
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
|
@@ -1118,6 +1216,8 @@ module Google
|
|
1118
1216
|
class MembershipEndpoint
|
1119
1217
|
# @private
|
1120
1218
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1219
|
+
property :edge_cluster, as: 'edgeCluster', class: Google::Apis::GkehubV1alpha::EdgeCluster, decorator: Google::Apis::GkehubV1alpha::EdgeCluster::Representation
|
1220
|
+
|
1121
1221
|
property :gke_cluster, as: 'gkeCluster', class: Google::Apis::GkehubV1alpha::GkeCluster, decorator: Google::Apis::GkehubV1alpha::GkeCluster::Representation
|
1122
1222
|
|
1123
1223
|
property :kubernetes_metadata, as: 'kubernetesMetadata', class: Google::Apis::GkehubV1alpha::KubernetesMetadata, decorator: Google::Apis::GkehubV1alpha::KubernetesMetadata::Representation
|
@@ -1136,12 +1236,18 @@ module Google
|
|
1136
1236
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1137
1237
|
property :anthosobservability, as: 'anthosobservability', class: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec::Representation
|
1138
1238
|
|
1239
|
+
property :cloudbuild, as: 'cloudbuild', class: Google::Apis::GkehubV1alpha::CloudBuildMembershipSpec, decorator: Google::Apis::GkehubV1alpha::CloudBuildMembershipSpec::Representation
|
1240
|
+
|
1139
1241
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec::Representation
|
1140
1242
|
|
1141
1243
|
property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
|
1142
1244
|
|
1143
1245
|
property :mesh, as: 'mesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec::Representation
|
1144
1246
|
|
1247
|
+
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec::Representation
|
1248
|
+
|
1249
|
+
property :workloadcertificate, as: 'workloadcertificate', class: Google::Apis::GkehubV1alpha::MembershipSpec, decorator: Google::Apis::GkehubV1alpha::MembershipSpec::Representation
|
1250
|
+
|
1145
1251
|
end
|
1146
1252
|
end
|
1147
1253
|
|
@@ -1156,6 +1262,8 @@ module Google
|
|
1156
1262
|
|
1157
1263
|
property :metering, as: 'metering', class: Google::Apis::GkehubV1alpha::MeteringMembershipState, decorator: Google::Apis::GkehubV1alpha::MeteringMembershipState::Representation
|
1158
1264
|
|
1265
|
+
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipState, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipState::Representation
|
1266
|
+
|
1159
1267
|
property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState::Representation
|
1160
1268
|
|
1161
1269
|
property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FeatureState, decorator: Google::Apis::GkehubV1alpha::FeatureState::Representation
|
@@ -1163,6 +1271,13 @@ module Google
|
|
1163
1271
|
end
|
1164
1272
|
end
|
1165
1273
|
|
1274
|
+
class MembershipSpec
|
1275
|
+
# @private
|
1276
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1277
|
+
property :certificate_management, as: 'certificateManagement'
|
1278
|
+
end
|
1279
|
+
end
|
1280
|
+
|
1166
1281
|
class MembershipState
|
1167
1282
|
# @private
|
1168
1283
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1240,6 +1355,64 @@ module Google
|
|
1240
1355
|
end
|
1241
1356
|
end
|
1242
1357
|
|
1358
|
+
class PolicycontrollerMembershipSpec
|
1359
|
+
# @private
|
1360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1361
|
+
property :policy_controller_hub_config, as: 'policyControllerHubConfig', class: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubConfig, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubConfig::Representation
|
1362
|
+
|
1363
|
+
property :version, as: 'version'
|
1364
|
+
end
|
1365
|
+
end
|
1366
|
+
|
1367
|
+
class PolicycontrollerMembershipState
|
1368
|
+
# @private
|
1369
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1370
|
+
property :cluster_name, as: 'clusterName'
|
1371
|
+
property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec::Representation
|
1372
|
+
|
1373
|
+
property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubState, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubState::Representation
|
1374
|
+
|
1375
|
+
property :state, as: 'state'
|
1376
|
+
end
|
1377
|
+
end
|
1378
|
+
|
1379
|
+
class PolicycontrollerPolicyControllerHubConfig
|
1380
|
+
# @private
|
1381
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1382
|
+
property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
|
1383
|
+
collection :exemptable_namespaces, as: 'exemptableNamespaces'
|
1384
|
+
property :install_spec, as: 'installSpec'
|
1385
|
+
property :log_denies_enabled, as: 'logDeniesEnabled'
|
1386
|
+
property :mutation_enabled, as: 'mutationEnabled'
|
1387
|
+
property :referential_rules_enabled, as: 'referentialRulesEnabled'
|
1388
|
+
property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicycontrollerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerTemplateLibraryConfig::Representation
|
1389
|
+
|
1390
|
+
end
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
class PolicycontrollerPolicyControllerHubState
|
1394
|
+
# @private
|
1395
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1396
|
+
hash :deployment_states, as: 'deploymentStates'
|
1397
|
+
property :version, as: 'version', class: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubVersion, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubVersion::Representation
|
1398
|
+
|
1399
|
+
end
|
1400
|
+
end
|
1401
|
+
|
1402
|
+
class PolicycontrollerPolicyControllerHubVersion
|
1403
|
+
# @private
|
1404
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1405
|
+
property :version, as: 'version'
|
1406
|
+
end
|
1407
|
+
end
|
1408
|
+
|
1409
|
+
class PolicycontrollerTemplateLibraryConfig
|
1410
|
+
# @private
|
1411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1412
|
+
property :included, as: 'included'
|
1413
|
+
end
|
1414
|
+
end
|
1415
|
+
|
1243
1416
|
class ResourceManifest
|
1244
1417
|
# @private
|
1245
1418
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1278,6 +1451,15 @@ module Google
|
|
1278
1451
|
end
|
1279
1452
|
end
|
1280
1453
|
|
1454
|
+
class ServiceMeshControlPlaneManagement
|
1455
|
+
# @private
|
1456
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1457
|
+
collection :details, as: 'details', class: Google::Apis::GkehubV1alpha::ServiceMeshStatusDetails, decorator: Google::Apis::GkehubV1alpha::ServiceMeshStatusDetails::Representation
|
1458
|
+
|
1459
|
+
property :state, as: 'state'
|
1460
|
+
end
|
1461
|
+
end
|
1462
|
+
|
1281
1463
|
class ServiceMeshFeatureState
|
1282
1464
|
# @private
|
1283
1465
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1289,6 +1471,7 @@ module Google
|
|
1289
1471
|
class ServiceMeshMembershipSpec
|
1290
1472
|
# @private
|
1291
1473
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1474
|
+
property :control_plane, as: 'controlPlane'
|
1292
1475
|
end
|
1293
1476
|
end
|
1294
1477
|
|
@@ -1297,6 +1480,16 @@ module Google
|
|
1297
1480
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1298
1481
|
collection :analysis_messages, as: 'analysisMessages', class: Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage, decorator: Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage::Representation
|
1299
1482
|
|
1483
|
+
property :control_plane_management, as: 'controlPlaneManagement', class: Google::Apis::GkehubV1alpha::ServiceMeshControlPlaneManagement, decorator: Google::Apis::GkehubV1alpha::ServiceMeshControlPlaneManagement::Representation
|
1484
|
+
|
1485
|
+
end
|
1486
|
+
end
|
1487
|
+
|
1488
|
+
class ServiceMeshStatusDetails
|
1489
|
+
# @private
|
1490
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1491
|
+
property :code, as: 'code'
|
1492
|
+
property :details, as: 'details'
|
1300
1493
|
end
|
1301
1494
|
end
|
1302
1495
|
|
@@ -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.21.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:
|
11
|
+
date: 2022-02-07 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.21.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.
|
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
|