google-apis-gkehub_v1alpha 0.16.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/gkehub_v1alpha/classes.rb +375 -0
- data/lib/google/apis/gkehub_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/gkehub_v1alpha/representations.rb +178 -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: e3b1c05248dfe6e28c6b48270f02731628af5172f5d0867cb95afb211b601bb4
|
4
|
+
data.tar.gz: 34c096cc35735c9149ef1f1262f70e2c22354842d1a5d5e65c6822ff2ecda9a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f296213edb6a18448f2ae17361121b43390855447df670e7423c8e10188a0b703652df9f32c832b327833393c3672a312f670f8fcbf268532bad7cf4be05bb90
|
7
|
+
data.tar.gz: 65372d02a7f551b0c6daa006a7216f13d9350c62e872c878a2e53db0b87d68d5d56bb7daf044ed7ae17d7c8878ba5adb40e73f15a078423801e32df655850f3a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha
|
2
2
|
|
3
|
+
### v0.20.0 (2022-01-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220122
|
6
|
+
|
7
|
+
### v0.19.0 (2022-01-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220107
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.18.0 (2021-12-16)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.17.0 (2021-12-12)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211203
|
19
|
+
|
3
20
|
### v0.16.0 (2021-11-20)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211111
|
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.
|
@@ -22,6 +22,36 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module GkehubV1alpha
|
24
24
|
|
25
|
+
# **Anthosobservability**: Per-Membership Feature spec.
|
26
|
+
class AnthosObservabilityMembershipSpec
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# use full of metrics rather than optimized metrics. See https://cloud.google.
|
30
|
+
# com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#
|
31
|
+
# optimized_metrics_default_metrics
|
32
|
+
# Corresponds to the JSON property `doNotOptimizeMetrics`
|
33
|
+
# @return [Boolean]
|
34
|
+
attr_accessor :do_not_optimize_metrics
|
35
|
+
alias_method :do_not_optimize_metrics?, :do_not_optimize_metrics
|
36
|
+
|
37
|
+
# enable collecting and reporting metrics and logs from user apps See go/onyx-
|
38
|
+
# application-metrics-logs-user-guide
|
39
|
+
# Corresponds to the JSON property `enableStackdriverOnApplications`
|
40
|
+
# @return [Boolean]
|
41
|
+
attr_accessor :enable_stackdriver_on_applications
|
42
|
+
alias_method :enable_stackdriver_on_applications?, :enable_stackdriver_on_applications
|
43
|
+
|
44
|
+
def initialize(**args)
|
45
|
+
update!(**args)
|
46
|
+
end
|
47
|
+
|
48
|
+
# Update properties of this object
|
49
|
+
def update!(**args)
|
50
|
+
@do_not_optimize_metrics = args[:do_not_optimize_metrics] if args.key?(:do_not_optimize_metrics)
|
51
|
+
@enable_stackdriver_on_applications = args[:enable_stackdriver_on_applications] if args.key?(:enable_stackdriver_on_applications)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
25
55
|
# Spec for App Dev Experience Feature.
|
26
56
|
class AppDevExperienceFeatureSpec
|
27
57
|
include Google::Apis::Core::Hashable
|
@@ -286,6 +316,31 @@ module Google
|
|
286
316
|
end
|
287
317
|
end
|
288
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
|
+
|
289
344
|
# CommonFeatureSpec contains Hub-wide configuration information
|
290
345
|
class CommonFeatureSpec
|
291
346
|
include Google::Apis::Core::Hashable
|
@@ -1255,6 +1310,27 @@ module Google
|
|
1255
1310
|
end
|
1256
1311
|
end
|
1257
1312
|
|
1313
|
+
# EdgeCluster contains information specific to Google Edge Clusters.
|
1314
|
+
class EdgeCluster
|
1315
|
+
include Google::Apis::Core::Hashable
|
1316
|
+
|
1317
|
+
# Immutable. Self-link of the GCP resource for the Edge Cluster. For example: //
|
1318
|
+
# edgecontainer.googleapis.com/projects/my-project/locations/us-west1-a/clusters/
|
1319
|
+
# my-cluster
|
1320
|
+
# Corresponds to the JSON property `resourceLink`
|
1321
|
+
# @return [String]
|
1322
|
+
attr_accessor :resource_link
|
1323
|
+
|
1324
|
+
def initialize(**args)
|
1325
|
+
update!(**args)
|
1326
|
+
end
|
1327
|
+
|
1328
|
+
# Update properties of this object
|
1329
|
+
def update!(**args)
|
1330
|
+
@resource_link = args[:resource_link] if args.key?(:resource_link)
|
1331
|
+
end
|
1332
|
+
end
|
1333
|
+
|
1258
1334
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1259
1335
|
# messages in your APIs. A typical example is to use it as the request or the
|
1260
1336
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -2206,6 +2282,11 @@ module Google
|
|
2206
2282
|
class MembershipEndpoint
|
2207
2283
|
include Google::Apis::Core::Hashable
|
2208
2284
|
|
2285
|
+
# EdgeCluster contains information specific to Google Edge Clusters.
|
2286
|
+
# Corresponds to the JSON property `edgeCluster`
|
2287
|
+
# @return [Google::Apis::GkehubV1alpha::EdgeCluster]
|
2288
|
+
attr_accessor :edge_cluster
|
2289
|
+
|
2209
2290
|
# GkeCluster contains information specific to GKE clusters.
|
2210
2291
|
# Corresponds to the JSON property `gkeCluster`
|
2211
2292
|
# @return [Google::Apis::GkehubV1alpha::GkeCluster]
|
@@ -2240,6 +2321,7 @@ module Google
|
|
2240
2321
|
|
2241
2322
|
# Update properties of this object
|
2242
2323
|
def update!(**args)
|
2324
|
+
@edge_cluster = args[:edge_cluster] if args.key?(:edge_cluster)
|
2243
2325
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
2244
2326
|
@kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
|
2245
2327
|
@kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource)
|
@@ -2253,6 +2335,16 @@ module Google
|
|
2253
2335
|
class MembershipFeatureSpec
|
2254
2336
|
include Google::Apis::Core::Hashable
|
2255
2337
|
|
2338
|
+
# **Anthosobservability**: Per-Membership Feature spec.
|
2339
|
+
# Corresponds to the JSON property `anthosobservability`
|
2340
|
+
# @return [Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec]
|
2341
|
+
attr_accessor :anthosobservability
|
2342
|
+
|
2343
|
+
# **Cloud Build**: Configurations for each Cloud Build enabled cluster.
|
2344
|
+
# Corresponds to the JSON property `cloudbuild`
|
2345
|
+
# @return [Google::Apis::GkehubV1alpha::CloudBuildMembershipSpec]
|
2346
|
+
attr_accessor :cloudbuild
|
2347
|
+
|
2256
2348
|
# **Anthos Config Management**: Configuration for a single cluster. Intended to
|
2257
2349
|
# parallel the ConfigManagement CR.
|
2258
2350
|
# Corresponds to the JSON property `configmanagement`
|
@@ -2269,15 +2361,24 @@ module Google
|
|
2269
2361
|
# @return [Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec]
|
2270
2362
|
attr_accessor :mesh
|
2271
2363
|
|
2364
|
+
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2365
|
+
# parallel the PolicyController CR.
|
2366
|
+
# Corresponds to the JSON property `policycontroller`
|
2367
|
+
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec]
|
2368
|
+
attr_accessor :policycontroller
|
2369
|
+
|
2272
2370
|
def initialize(**args)
|
2273
2371
|
update!(**args)
|
2274
2372
|
end
|
2275
2373
|
|
2276
2374
|
# Update properties of this object
|
2277
2375
|
def update!(**args)
|
2376
|
+
@anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
|
2377
|
+
@cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
|
2278
2378
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
2279
2379
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
2280
2380
|
@mesh = args[:mesh] if args.key?(:mesh)
|
2381
|
+
@policycontroller = args[:policycontroller] if args.key?(:policycontroller)
|
2281
2382
|
end
|
2282
2383
|
end
|
2283
2384
|
|
@@ -2306,6 +2407,11 @@ module Google
|
|
2306
2407
|
# @return [Google::Apis::GkehubV1alpha::MeteringMembershipState]
|
2307
2408
|
attr_accessor :metering
|
2308
2409
|
|
2410
|
+
# **Policy Controller**: State for a single cluster.
|
2411
|
+
# Corresponds to the JSON property `policycontroller`
|
2412
|
+
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerMembershipState]
|
2413
|
+
attr_accessor :policycontroller
|
2414
|
+
|
2309
2415
|
# **Service Mesh**: State for a single Membership, as analyzed by the Service
|
2310
2416
|
# Mesh Hub Controller.
|
2311
2417
|
# Corresponds to the JSON property `servicemesh`
|
@@ -2329,6 +2435,7 @@ module Google
|
|
2329
2435
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
2330
2436
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
2331
2437
|
@metering = args[:metering] if args.key?(:metering)
|
2438
|
+
@policycontroller = args[:policycontroller] if args.key?(:policycontroller)
|
2332
2439
|
@servicemesh = args[:servicemesh] if args.key?(:servicemesh)
|
2333
2440
|
@state = args[:state] if args.key?(:state)
|
2334
2441
|
end
|
@@ -2691,6 +2798,204 @@ module Google
|
|
2691
2798
|
end
|
2692
2799
|
end
|
2693
2800
|
|
2801
|
+
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2802
|
+
# parallel the PolicyController CR.
|
2803
|
+
class PolicycontrollerMembershipSpec
|
2804
|
+
include Google::Apis::Core::Hashable
|
2805
|
+
|
2806
|
+
# Configuration for Policy Controller
|
2807
|
+
# Corresponds to the JSON property `policyControllerHubConfig`
|
2808
|
+
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubConfig]
|
2809
|
+
attr_accessor :policy_controller_hub_config
|
2810
|
+
|
2811
|
+
# Version of Policy Controller installed.
|
2812
|
+
# Corresponds to the JSON property `version`
|
2813
|
+
# @return [String]
|
2814
|
+
attr_accessor :version
|
2815
|
+
|
2816
|
+
def initialize(**args)
|
2817
|
+
update!(**args)
|
2818
|
+
end
|
2819
|
+
|
2820
|
+
# Update properties of this object
|
2821
|
+
def update!(**args)
|
2822
|
+
@policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config)
|
2823
|
+
@version = args[:version] if args.key?(:version)
|
2824
|
+
end
|
2825
|
+
end
|
2826
|
+
|
2827
|
+
# **Policy Controller**: State for a single cluster.
|
2828
|
+
class PolicycontrollerMembershipState
|
2829
|
+
include Google::Apis::Core::Hashable
|
2830
|
+
|
2831
|
+
# The user-defined name for the cluster used by ClusterSelectors to group
|
2832
|
+
# clusters together. This should match Membership's membership_name, unless the
|
2833
|
+
# user installed PC on the cluster manually prior to enabling the PC hub feature.
|
2834
|
+
# Unique within a Policy Controller installation.
|
2835
|
+
# Corresponds to the JSON property `clusterName`
|
2836
|
+
# @return [String]
|
2837
|
+
attr_accessor :cluster_name
|
2838
|
+
|
2839
|
+
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2840
|
+
# parallel the PolicyController CR.
|
2841
|
+
# Corresponds to the JSON property `membershipSpec`
|
2842
|
+
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec]
|
2843
|
+
attr_accessor :membership_spec
|
2844
|
+
|
2845
|
+
# State of the Policy Controller.
|
2846
|
+
# Corresponds to the JSON property `policyControllerHubState`
|
2847
|
+
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubState]
|
2848
|
+
attr_accessor :policy_controller_hub_state
|
2849
|
+
|
2850
|
+
# The lifecycle state Policy Controller is in.
|
2851
|
+
# Corresponds to the JSON property `state`
|
2852
|
+
# @return [String]
|
2853
|
+
attr_accessor :state
|
2854
|
+
|
2855
|
+
def initialize(**args)
|
2856
|
+
update!(**args)
|
2857
|
+
end
|
2858
|
+
|
2859
|
+
# Update properties of this object
|
2860
|
+
def update!(**args)
|
2861
|
+
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
2862
|
+
@membership_spec = args[:membership_spec] if args.key?(:membership_spec)
|
2863
|
+
@policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
|
2864
|
+
@state = args[:state] if args.key?(:state)
|
2865
|
+
end
|
2866
|
+
end
|
2867
|
+
|
2868
|
+
# Configuration for Policy Controller
|
2869
|
+
class PolicycontrollerPolicyControllerHubConfig
|
2870
|
+
include Google::Apis::Core::Hashable
|
2871
|
+
|
2872
|
+
# Sets the interval for Policy Controller Audit Scans (in seconds). When set to
|
2873
|
+
# 0, this disables audit functionality altogether.
|
2874
|
+
# Corresponds to the JSON property `auditIntervalSeconds`
|
2875
|
+
# @return [Fixnum]
|
2876
|
+
attr_accessor :audit_interval_seconds
|
2877
|
+
|
2878
|
+
# The set of namespaces that are excluded from Policy Controller checks.
|
2879
|
+
# Namespaces do not need to currently exist on the cluster.
|
2880
|
+
# Corresponds to the JSON property `exemptableNamespaces`
|
2881
|
+
# @return [Array<String>]
|
2882
|
+
attr_accessor :exemptable_namespaces
|
2883
|
+
|
2884
|
+
# The install_spec represents the intended state specified by the latest request
|
2885
|
+
# that mutated install_spec in the feature spec, not the lifecycle state of the
|
2886
|
+
# feature observed by the Hub feature controller that is reported in the feature
|
2887
|
+
# state.
|
2888
|
+
# Corresponds to the JSON property `installSpec`
|
2889
|
+
# @return [String]
|
2890
|
+
attr_accessor :install_spec
|
2891
|
+
|
2892
|
+
# Logs all denies and dry run failures.
|
2893
|
+
# Corresponds to the JSON property `logDeniesEnabled`
|
2894
|
+
# @return [Boolean]
|
2895
|
+
attr_accessor :log_denies_enabled
|
2896
|
+
alias_method :log_denies_enabled?, :log_denies_enabled
|
2897
|
+
|
2898
|
+
# Enables the ability to mutate resources using Policy Controller.
|
2899
|
+
# Corresponds to the JSON property `mutationEnabled`
|
2900
|
+
# @return [Boolean]
|
2901
|
+
attr_accessor :mutation_enabled
|
2902
|
+
alias_method :mutation_enabled?, :mutation_enabled
|
2903
|
+
|
2904
|
+
# Enables the ability to use Constraint Templates that reference to objects
|
2905
|
+
# other than the object currently being evaluated.
|
2906
|
+
# Corresponds to the JSON property `referentialRulesEnabled`
|
2907
|
+
# @return [Boolean]
|
2908
|
+
attr_accessor :referential_rules_enabled
|
2909
|
+
alias_method :referential_rules_enabled?, :referential_rules_enabled
|
2910
|
+
|
2911
|
+
# The config specifying which default library templates to install.
|
2912
|
+
# Corresponds to the JSON property `templateLibraryConfig`
|
2913
|
+
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerTemplateLibraryConfig]
|
2914
|
+
attr_accessor :template_library_config
|
2915
|
+
|
2916
|
+
def initialize(**args)
|
2917
|
+
update!(**args)
|
2918
|
+
end
|
2919
|
+
|
2920
|
+
# Update properties of this object
|
2921
|
+
def update!(**args)
|
2922
|
+
@audit_interval_seconds = args[:audit_interval_seconds] if args.key?(:audit_interval_seconds)
|
2923
|
+
@exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
|
2924
|
+
@install_spec = args[:install_spec] if args.key?(:install_spec)
|
2925
|
+
@log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
|
2926
|
+
@mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
|
2927
|
+
@referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
|
2928
|
+
@template_library_config = args[:template_library_config] if args.key?(:template_library_config)
|
2929
|
+
end
|
2930
|
+
end
|
2931
|
+
|
2932
|
+
# State of the Policy Controller.
|
2933
|
+
class PolicycontrollerPolicyControllerHubState
|
2934
|
+
include Google::Apis::Core::Hashable
|
2935
|
+
|
2936
|
+
# Map from deployment name to deployment state. Example deployments are
|
2937
|
+
# gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-
|
2938
|
+
# mutation.
|
2939
|
+
# Corresponds to the JSON property `deploymentStates`
|
2940
|
+
# @return [Hash<String,String>]
|
2941
|
+
attr_accessor :deployment_states
|
2942
|
+
|
2943
|
+
# The build version of Gatekeeper that Policy Controller is using.
|
2944
|
+
# Corresponds to the JSON property `version`
|
2945
|
+
# @return [Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubVersion]
|
2946
|
+
attr_accessor :version
|
2947
|
+
|
2948
|
+
def initialize(**args)
|
2949
|
+
update!(**args)
|
2950
|
+
end
|
2951
|
+
|
2952
|
+
# Update properties of this object
|
2953
|
+
def update!(**args)
|
2954
|
+
@deployment_states = args[:deployment_states] if args.key?(:deployment_states)
|
2955
|
+
@version = args[:version] if args.key?(:version)
|
2956
|
+
end
|
2957
|
+
end
|
2958
|
+
|
2959
|
+
# The build version of Gatekeeper that Policy Controller is using.
|
2960
|
+
class PolicycontrollerPolicyControllerHubVersion
|
2961
|
+
include Google::Apis::Core::Hashable
|
2962
|
+
|
2963
|
+
# The gatekeeper image tag that is composed of ACM version, git tag, build
|
2964
|
+
# number.
|
2965
|
+
# Corresponds to the JSON property `version`
|
2966
|
+
# @return [String]
|
2967
|
+
attr_accessor :version
|
2968
|
+
|
2969
|
+
def initialize(**args)
|
2970
|
+
update!(**args)
|
2971
|
+
end
|
2972
|
+
|
2973
|
+
# Update properties of this object
|
2974
|
+
def update!(**args)
|
2975
|
+
@version = args[:version] if args.key?(:version)
|
2976
|
+
end
|
2977
|
+
end
|
2978
|
+
|
2979
|
+
# The config specifying which default library templates to install.
|
2980
|
+
class PolicycontrollerTemplateLibraryConfig
|
2981
|
+
include Google::Apis::Core::Hashable
|
2982
|
+
|
2983
|
+
# Whether the standard template library should be installed or not.
|
2984
|
+
# Corresponds to the JSON property `included`
|
2985
|
+
# @return [Boolean]
|
2986
|
+
attr_accessor :included
|
2987
|
+
alias_method :included?, :included
|
2988
|
+
|
2989
|
+
def initialize(**args)
|
2990
|
+
update!(**args)
|
2991
|
+
end
|
2992
|
+
|
2993
|
+
# Update properties of this object
|
2994
|
+
def update!(**args)
|
2995
|
+
@included = args[:included] if args.key?(:included)
|
2996
|
+
end
|
2997
|
+
end
|
2998
|
+
|
2694
2999
|
# ResourceManifest represents a single Kubernetes resource to be applied to the
|
2695
3000
|
# cluster.
|
2696
3001
|
class ResourceManifest
|
@@ -2731,6 +3036,13 @@ module Google
|
|
2731
3036
|
# @return [String]
|
2732
3037
|
attr_accessor :connect_version
|
2733
3038
|
|
3039
|
+
# Optional. Major version of the Kubernetes cluster. This is only used to
|
3040
|
+
# determine which version to use for the CustomResourceDefinition resources, `
|
3041
|
+
# apiextensions/v1beta1` or`apiextensions/v1`.
|
3042
|
+
# Corresponds to the JSON property `k8sVersion`
|
3043
|
+
# @return [String]
|
3044
|
+
attr_accessor :k8s_version
|
3045
|
+
|
2734
3046
|
# Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for
|
2735
3047
|
# CustomResourceDefinition resources. This option should be set for clusters
|
2736
3048
|
# with Kubernetes apiserver versions <1.16.
|
@@ -2746,6 +3058,7 @@ module Google
|
|
2746
3058
|
# Update properties of this object
|
2747
3059
|
def update!(**args)
|
2748
3060
|
@connect_version = args[:connect_version] if args.key?(:connect_version)
|
3061
|
+
@k8s_version = args[:k8s_version] if args.key?(:k8s_version)
|
2749
3062
|
@v1beta1_crd = args[:v1beta1_crd] if args.key?(:v1beta1_crd)
|
2750
3063
|
end
|
2751
3064
|
end
|
@@ -2832,6 +3145,31 @@ module Google
|
|
2832
3145
|
end
|
2833
3146
|
end
|
2834
3147
|
|
3148
|
+
# Status of control plane management.
|
3149
|
+
class ServiceMeshControlPlaneManagement
|
3150
|
+
include Google::Apis::Core::Hashable
|
3151
|
+
|
3152
|
+
# Explanation of state.
|
3153
|
+
# Corresponds to the JSON property `details`
|
3154
|
+
# @return [Array<Google::Apis::GkehubV1alpha::ServiceMeshStatusDetails>]
|
3155
|
+
attr_accessor :details
|
3156
|
+
|
3157
|
+
# LifecycleState of control plane management.
|
3158
|
+
# Corresponds to the JSON property `state`
|
3159
|
+
# @return [String]
|
3160
|
+
attr_accessor :state
|
3161
|
+
|
3162
|
+
def initialize(**args)
|
3163
|
+
update!(**args)
|
3164
|
+
end
|
3165
|
+
|
3166
|
+
# Update properties of this object
|
3167
|
+
def update!(**args)
|
3168
|
+
@details = args[:details] if args.key?(:details)
|
3169
|
+
@state = args[:state] if args.key?(:state)
|
3170
|
+
end
|
3171
|
+
end
|
3172
|
+
|
2835
3173
|
# **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub
|
2836
3174
|
# Controller.
|
2837
3175
|
class ServiceMeshFeatureState
|
@@ -2856,12 +3194,18 @@ module Google
|
|
2856
3194
|
class ServiceMeshMembershipSpec
|
2857
3195
|
include Google::Apis::Core::Hashable
|
2858
3196
|
|
3197
|
+
# Enables automatic control plane management.
|
3198
|
+
# Corresponds to the JSON property `controlPlane`
|
3199
|
+
# @return [String]
|
3200
|
+
attr_accessor :control_plane
|
3201
|
+
|
2859
3202
|
def initialize(**args)
|
2860
3203
|
update!(**args)
|
2861
3204
|
end
|
2862
3205
|
|
2863
3206
|
# Update properties of this object
|
2864
3207
|
def update!(**args)
|
3208
|
+
@control_plane = args[:control_plane] if args.key?(:control_plane)
|
2865
3209
|
end
|
2866
3210
|
end
|
2867
3211
|
|
@@ -2875,6 +3219,11 @@ module Google
|
|
2875
3219
|
# @return [Array<Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage>]
|
2876
3220
|
attr_accessor :analysis_messages
|
2877
3221
|
|
3222
|
+
# Status of control plane management.
|
3223
|
+
# Corresponds to the JSON property `controlPlaneManagement`
|
3224
|
+
# @return [Google::Apis::GkehubV1alpha::ServiceMeshControlPlaneManagement]
|
3225
|
+
attr_accessor :control_plane_management
|
3226
|
+
|
2878
3227
|
def initialize(**args)
|
2879
3228
|
update!(**args)
|
2880
3229
|
end
|
@@ -2882,6 +3231,32 @@ module Google
|
|
2882
3231
|
# Update properties of this object
|
2883
3232
|
def update!(**args)
|
2884
3233
|
@analysis_messages = args[:analysis_messages] if args.key?(:analysis_messages)
|
3234
|
+
@control_plane_management = args[:control_plane_management] if args.key?(:control_plane_management)
|
3235
|
+
end
|
3236
|
+
end
|
3237
|
+
|
3238
|
+
# Structured and human-readable details for a status.
|
3239
|
+
class ServiceMeshStatusDetails
|
3240
|
+
include Google::Apis::Core::Hashable
|
3241
|
+
|
3242
|
+
# A machine-readable code that further describes a broad status.
|
3243
|
+
# Corresponds to the JSON property `code`
|
3244
|
+
# @return [String]
|
3245
|
+
attr_accessor :code
|
3246
|
+
|
3247
|
+
# Human-readable explanation of code.
|
3248
|
+
# Corresponds to the JSON property `details`
|
3249
|
+
# @return [String]
|
3250
|
+
attr_accessor :details
|
3251
|
+
|
3252
|
+
def initialize(**args)
|
3253
|
+
update!(**args)
|
3254
|
+
end
|
3255
|
+
|
3256
|
+
# Update properties of this object
|
3257
|
+
def update!(**args)
|
3258
|
+
@code = args[:code] if args.key?(:code)
|
3259
|
+
@details = args[:details] if args.key?(:details)
|
2885
3260
|
end
|
2886
3261
|
end
|
2887
3262
|
|
@@ -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.20.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 = "20220122"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module GkehubV1alpha
|
24
24
|
|
25
|
+
class AnthosObservabilityMembershipSpec
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AppDevExperienceFeatureSpec
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -70,6 +76,12 @@ module Google
|
|
70
76
|
include Google::Apis::Core::JsonObjectSupport
|
71
77
|
end
|
72
78
|
|
79
|
+
class CloudBuildMembershipSpec
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
73
85
|
class CommonFeatureSpec
|
74
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
87
|
|
@@ -232,6 +244,12 @@ module Google
|
|
232
244
|
include Google::Apis::Core::JsonObjectSupport
|
233
245
|
end
|
234
246
|
|
247
|
+
class EdgeCluster
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
235
253
|
class Empty
|
236
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
255
|
|
@@ -430,6 +448,42 @@ module Google
|
|
430
448
|
include Google::Apis::Core::JsonObjectSupport
|
431
449
|
end
|
432
450
|
|
451
|
+
class PolicycontrollerMembershipSpec
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
|
+
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
455
|
+
end
|
456
|
+
|
457
|
+
class PolicycontrollerMembershipState
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
463
|
+
class PolicycontrollerPolicyControllerHubConfig
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
469
|
+
class PolicycontrollerPolicyControllerHubState
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
475
|
+
class PolicycontrollerPolicyControllerHubVersion
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
481
|
+
class PolicycontrollerTemplateLibraryConfig
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
433
487
|
class ResourceManifest
|
434
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
489
|
|
@@ -454,6 +508,12 @@ module Google
|
|
454
508
|
include Google::Apis::Core::JsonObjectSupport
|
455
509
|
end
|
456
510
|
|
511
|
+
class ServiceMeshControlPlaneManagement
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
457
517
|
class ServiceMeshFeatureState
|
458
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
519
|
|
@@ -472,6 +532,12 @@ module Google
|
|
472
532
|
include Google::Apis::Core::JsonObjectSupport
|
473
533
|
end
|
474
534
|
|
535
|
+
class ServiceMeshStatusDetails
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
475
541
|
class ServiceMeshType
|
476
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
543
|
|
@@ -508,6 +574,14 @@ module Google
|
|
508
574
|
include Google::Apis::Core::JsonObjectSupport
|
509
575
|
end
|
510
576
|
|
577
|
+
class AnthosObservabilityMembershipSpec
|
578
|
+
# @private
|
579
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
580
|
+
property :do_not_optimize_metrics, as: 'doNotOptimizeMetrics'
|
581
|
+
property :enable_stackdriver_on_applications, as: 'enableStackdriverOnApplications'
|
582
|
+
end
|
583
|
+
end
|
584
|
+
|
511
585
|
class AppDevExperienceFeatureSpec
|
512
586
|
# @private
|
513
587
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -572,6 +646,14 @@ module Google
|
|
572
646
|
end
|
573
647
|
end
|
574
648
|
|
649
|
+
class CloudBuildMembershipSpec
|
650
|
+
# @private
|
651
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
652
|
+
property :security_policy, as: 'securityPolicy'
|
653
|
+
property :version, as: 'version'
|
654
|
+
end
|
655
|
+
end
|
656
|
+
|
575
657
|
class CommonFeatureSpec
|
576
658
|
# @private
|
577
659
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -860,6 +942,13 @@ module Google
|
|
860
942
|
end
|
861
943
|
end
|
862
944
|
|
945
|
+
class EdgeCluster
|
946
|
+
# @private
|
947
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
948
|
+
property :resource_link, as: 'resourceLink'
|
949
|
+
end
|
950
|
+
end
|
951
|
+
|
863
952
|
class Empty
|
864
953
|
# @private
|
865
954
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1104,6 +1193,8 @@ module Google
|
|
1104
1193
|
class MembershipEndpoint
|
1105
1194
|
# @private
|
1106
1195
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1196
|
+
property :edge_cluster, as: 'edgeCluster', class: Google::Apis::GkehubV1alpha::EdgeCluster, decorator: Google::Apis::GkehubV1alpha::EdgeCluster::Representation
|
1197
|
+
|
1107
1198
|
property :gke_cluster, as: 'gkeCluster', class: Google::Apis::GkehubV1alpha::GkeCluster, decorator: Google::Apis::GkehubV1alpha::GkeCluster::Representation
|
1108
1199
|
|
1109
1200
|
property :kubernetes_metadata, as: 'kubernetesMetadata', class: Google::Apis::GkehubV1alpha::KubernetesMetadata, decorator: Google::Apis::GkehubV1alpha::KubernetesMetadata::Representation
|
@@ -1120,12 +1211,18 @@ module Google
|
|
1120
1211
|
class MembershipFeatureSpec
|
1121
1212
|
# @private
|
1122
1213
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1214
|
+
property :anthosobservability, as: 'anthosobservability', class: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec::Representation
|
1215
|
+
|
1216
|
+
property :cloudbuild, as: 'cloudbuild', class: Google::Apis::GkehubV1alpha::CloudBuildMembershipSpec, decorator: Google::Apis::GkehubV1alpha::CloudBuildMembershipSpec::Representation
|
1217
|
+
|
1123
1218
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec::Representation
|
1124
1219
|
|
1125
1220
|
property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
|
1126
1221
|
|
1127
1222
|
property :mesh, as: 'mesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec::Representation
|
1128
1223
|
|
1224
|
+
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec::Representation
|
1225
|
+
|
1129
1226
|
end
|
1130
1227
|
end
|
1131
1228
|
|
@@ -1140,6 +1237,8 @@ module Google
|
|
1140
1237
|
|
1141
1238
|
property :metering, as: 'metering', class: Google::Apis::GkehubV1alpha::MeteringMembershipState, decorator: Google::Apis::GkehubV1alpha::MeteringMembershipState::Representation
|
1142
1239
|
|
1240
|
+
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipState, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipState::Representation
|
1241
|
+
|
1143
1242
|
property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState::Representation
|
1144
1243
|
|
1145
1244
|
property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FeatureState, decorator: Google::Apis::GkehubV1alpha::FeatureState::Representation
|
@@ -1224,6 +1323,64 @@ module Google
|
|
1224
1323
|
end
|
1225
1324
|
end
|
1226
1325
|
|
1326
|
+
class PolicycontrollerMembershipSpec
|
1327
|
+
# @private
|
1328
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1329
|
+
property :policy_controller_hub_config, as: 'policyControllerHubConfig', class: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubConfig, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubConfig::Representation
|
1330
|
+
|
1331
|
+
property :version, as: 'version'
|
1332
|
+
end
|
1333
|
+
end
|
1334
|
+
|
1335
|
+
class PolicycontrollerMembershipState
|
1336
|
+
# @private
|
1337
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1338
|
+
property :cluster_name, as: 'clusterName'
|
1339
|
+
property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec::Representation
|
1340
|
+
|
1341
|
+
property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubState, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubState::Representation
|
1342
|
+
|
1343
|
+
property :state, as: 'state'
|
1344
|
+
end
|
1345
|
+
end
|
1346
|
+
|
1347
|
+
class PolicycontrollerPolicyControllerHubConfig
|
1348
|
+
# @private
|
1349
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1350
|
+
property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
|
1351
|
+
collection :exemptable_namespaces, as: 'exemptableNamespaces'
|
1352
|
+
property :install_spec, as: 'installSpec'
|
1353
|
+
property :log_denies_enabled, as: 'logDeniesEnabled'
|
1354
|
+
property :mutation_enabled, as: 'mutationEnabled'
|
1355
|
+
property :referential_rules_enabled, as: 'referentialRulesEnabled'
|
1356
|
+
property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicycontrollerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerTemplateLibraryConfig::Representation
|
1357
|
+
|
1358
|
+
end
|
1359
|
+
end
|
1360
|
+
|
1361
|
+
class PolicycontrollerPolicyControllerHubState
|
1362
|
+
# @private
|
1363
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1364
|
+
hash :deployment_states, as: 'deploymentStates'
|
1365
|
+
property :version, as: 'version', class: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubVersion, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerPolicyControllerHubVersion::Representation
|
1366
|
+
|
1367
|
+
end
|
1368
|
+
end
|
1369
|
+
|
1370
|
+
class PolicycontrollerPolicyControllerHubVersion
|
1371
|
+
# @private
|
1372
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1373
|
+
property :version, as: 'version'
|
1374
|
+
end
|
1375
|
+
end
|
1376
|
+
|
1377
|
+
class PolicycontrollerTemplateLibraryConfig
|
1378
|
+
# @private
|
1379
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1380
|
+
property :included, as: 'included'
|
1381
|
+
end
|
1382
|
+
end
|
1383
|
+
|
1227
1384
|
class ResourceManifest
|
1228
1385
|
# @private
|
1229
1386
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1236,6 +1393,7 @@ module Google
|
|
1236
1393
|
# @private
|
1237
1394
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1238
1395
|
property :connect_version, as: 'connectVersion'
|
1396
|
+
property :k8s_version, as: 'k8sVersion'
|
1239
1397
|
property :v1beta1_crd, as: 'v1beta1Crd'
|
1240
1398
|
end
|
1241
1399
|
end
|
@@ -1261,6 +1419,15 @@ module Google
|
|
1261
1419
|
end
|
1262
1420
|
end
|
1263
1421
|
|
1422
|
+
class ServiceMeshControlPlaneManagement
|
1423
|
+
# @private
|
1424
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1425
|
+
collection :details, as: 'details', class: Google::Apis::GkehubV1alpha::ServiceMeshStatusDetails, decorator: Google::Apis::GkehubV1alpha::ServiceMeshStatusDetails::Representation
|
1426
|
+
|
1427
|
+
property :state, as: 'state'
|
1428
|
+
end
|
1429
|
+
end
|
1430
|
+
|
1264
1431
|
class ServiceMeshFeatureState
|
1265
1432
|
# @private
|
1266
1433
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1272,6 +1439,7 @@ module Google
|
|
1272
1439
|
class ServiceMeshMembershipSpec
|
1273
1440
|
# @private
|
1274
1441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1442
|
+
property :control_plane, as: 'controlPlane'
|
1275
1443
|
end
|
1276
1444
|
end
|
1277
1445
|
|
@@ -1280,6 +1448,16 @@ module Google
|
|
1280
1448
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1281
1449
|
collection :analysis_messages, as: 'analysisMessages', class: Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage, decorator: Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage::Representation
|
1282
1450
|
|
1451
|
+
property :control_plane_management, as: 'controlPlaneManagement', class: Google::Apis::GkehubV1alpha::ServiceMeshControlPlaneManagement, decorator: Google::Apis::GkehubV1alpha::ServiceMeshControlPlaneManagement::Representation
|
1452
|
+
|
1453
|
+
end
|
1454
|
+
end
|
1455
|
+
|
1456
|
+
class ServiceMeshStatusDetails
|
1457
|
+
# @private
|
1458
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1459
|
+
property :code, as: 'code'
|
1460
|
+
property :details, as: 'details'
|
1283
1461
|
end
|
1284
1462
|
end
|
1285
1463
|
|
@@ -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.20.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-01-31 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.20.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
|