google-apis-gkehub_v1alpha 0.19.0 → 0.20.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
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
@@ -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
|
@@ -1285,6 +1310,27 @@ module Google
|
|
1285
1310
|
end
|
1286
1311
|
end
|
1287
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
|
+
|
1288
1334
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1289
1335
|
# messages in your APIs. A typical example is to use it as the request or the
|
1290
1336
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -2236,6 +2282,11 @@ module Google
|
|
2236
2282
|
class MembershipEndpoint
|
2237
2283
|
include Google::Apis::Core::Hashable
|
2238
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
|
+
|
2239
2290
|
# GkeCluster contains information specific to GKE clusters.
|
2240
2291
|
# Corresponds to the JSON property `gkeCluster`
|
2241
2292
|
# @return [Google::Apis::GkehubV1alpha::GkeCluster]
|
@@ -2270,6 +2321,7 @@ module Google
|
|
2270
2321
|
|
2271
2322
|
# Update properties of this object
|
2272
2323
|
def update!(**args)
|
2324
|
+
@edge_cluster = args[:edge_cluster] if args.key?(:edge_cluster)
|
2273
2325
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
2274
2326
|
@kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
|
2275
2327
|
@kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource)
|
@@ -2288,6 +2340,11 @@ module Google
|
|
2288
2340
|
# @return [Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec]
|
2289
2341
|
attr_accessor :anthosobservability
|
2290
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
|
+
|
2291
2348
|
# **Anthos Config Management**: Configuration for a single cluster. Intended to
|
2292
2349
|
# parallel the ConfigManagement CR.
|
2293
2350
|
# Corresponds to the JSON property `configmanagement`
|
@@ -2304,6 +2361,12 @@ module Google
|
|
2304
2361
|
# @return [Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec]
|
2305
2362
|
attr_accessor :mesh
|
2306
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
|
+
|
2307
2370
|
def initialize(**args)
|
2308
2371
|
update!(**args)
|
2309
2372
|
end
|
@@ -2311,9 +2374,11 @@ module Google
|
|
2311
2374
|
# Update properties of this object
|
2312
2375
|
def update!(**args)
|
2313
2376
|
@anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
|
2377
|
+
@cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
|
2314
2378
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
2315
2379
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
2316
2380
|
@mesh = args[:mesh] if args.key?(:mesh)
|
2381
|
+
@policycontroller = args[:policycontroller] if args.key?(:policycontroller)
|
2317
2382
|
end
|
2318
2383
|
end
|
2319
2384
|
|
@@ -2342,6 +2407,11 @@ module Google
|
|
2342
2407
|
# @return [Google::Apis::GkehubV1alpha::MeteringMembershipState]
|
2343
2408
|
attr_accessor :metering
|
2344
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
|
+
|
2345
2415
|
# **Service Mesh**: State for a single Membership, as analyzed by the Service
|
2346
2416
|
# Mesh Hub Controller.
|
2347
2417
|
# Corresponds to the JSON property `servicemesh`
|
@@ -2365,6 +2435,7 @@ module Google
|
|
2365
2435
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
2366
2436
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
2367
2437
|
@metering = args[:metering] if args.key?(:metering)
|
2438
|
+
@policycontroller = args[:policycontroller] if args.key?(:policycontroller)
|
2368
2439
|
@servicemesh = args[:servicemesh] if args.key?(:servicemesh)
|
2369
2440
|
@state = args[:state] if args.key?(:state)
|
2370
2441
|
end
|
@@ -2727,6 +2798,204 @@ module Google
|
|
2727
2798
|
end
|
2728
2799
|
end
|
2729
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
|
+
|
2730
2999
|
# ResourceManifest represents a single Kubernetes resource to be applied to the
|
2731
3000
|
# cluster.
|
2732
3001
|
class ResourceManifest
|
@@ -2876,6 +3145,31 @@ module Google
|
|
2876
3145
|
end
|
2877
3146
|
end
|
2878
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
|
+
|
2879
3173
|
# **Service Mesh**: State for the whole Hub, as analyzed by the Service Mesh Hub
|
2880
3174
|
# Controller.
|
2881
3175
|
class ServiceMeshFeatureState
|
@@ -2900,12 +3194,18 @@ module Google
|
|
2900
3194
|
class ServiceMeshMembershipSpec
|
2901
3195
|
include Google::Apis::Core::Hashable
|
2902
3196
|
|
3197
|
+
# Enables automatic control plane management.
|
3198
|
+
# Corresponds to the JSON property `controlPlane`
|
3199
|
+
# @return [String]
|
3200
|
+
attr_accessor :control_plane
|
3201
|
+
|
2903
3202
|
def initialize(**args)
|
2904
3203
|
update!(**args)
|
2905
3204
|
end
|
2906
3205
|
|
2907
3206
|
# Update properties of this object
|
2908
3207
|
def update!(**args)
|
3208
|
+
@control_plane = args[:control_plane] if args.key?(:control_plane)
|
2909
3209
|
end
|
2910
3210
|
end
|
2911
3211
|
|
@@ -2919,6 +3219,11 @@ module Google
|
|
2919
3219
|
# @return [Array<Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage>]
|
2920
3220
|
attr_accessor :analysis_messages
|
2921
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
|
+
|
2922
3227
|
def initialize(**args)
|
2923
3228
|
update!(**args)
|
2924
3229
|
end
|
@@ -2926,6 +3231,32 @@ module Google
|
|
2926
3231
|
# Update properties of this object
|
2927
3232
|
def update!(**args)
|
2928
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)
|
2929
3260
|
end
|
2930
3261
|
end
|
2931
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
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
|
@@ -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
|
|
@@ -436,6 +448,42 @@ module Google
|
|
436
448
|
include Google::Apis::Core::JsonObjectSupport
|
437
449
|
end
|
438
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
|
+
|
439
487
|
class ResourceManifest
|
440
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
489
|
|
@@ -460,6 +508,12 @@ module Google
|
|
460
508
|
include Google::Apis::Core::JsonObjectSupport
|
461
509
|
end
|
462
510
|
|
511
|
+
class ServiceMeshControlPlaneManagement
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
463
517
|
class ServiceMeshFeatureState
|
464
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
519
|
|
@@ -478,6 +532,12 @@ module Google
|
|
478
532
|
include Google::Apis::Core::JsonObjectSupport
|
479
533
|
end
|
480
534
|
|
535
|
+
class ServiceMeshStatusDetails
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
481
541
|
class ServiceMeshType
|
482
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
543
|
|
@@ -586,6 +646,14 @@ module Google
|
|
586
646
|
end
|
587
647
|
end
|
588
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
|
+
|
589
657
|
class CommonFeatureSpec
|
590
658
|
# @private
|
591
659
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -874,6 +942,13 @@ module Google
|
|
874
942
|
end
|
875
943
|
end
|
876
944
|
|
945
|
+
class EdgeCluster
|
946
|
+
# @private
|
947
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
948
|
+
property :resource_link, as: 'resourceLink'
|
949
|
+
end
|
950
|
+
end
|
951
|
+
|
877
952
|
class Empty
|
878
953
|
# @private
|
879
954
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1118,6 +1193,8 @@ module Google
|
|
1118
1193
|
class MembershipEndpoint
|
1119
1194
|
# @private
|
1120
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
|
+
|
1121
1198
|
property :gke_cluster, as: 'gkeCluster', class: Google::Apis::GkehubV1alpha::GkeCluster, decorator: Google::Apis::GkehubV1alpha::GkeCluster::Representation
|
1122
1199
|
|
1123
1200
|
property :kubernetes_metadata, as: 'kubernetesMetadata', class: Google::Apis::GkehubV1alpha::KubernetesMetadata, decorator: Google::Apis::GkehubV1alpha::KubernetesMetadata::Representation
|
@@ -1136,12 +1213,16 @@ module Google
|
|
1136
1213
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1137
1214
|
property :anthosobservability, as: 'anthosobservability', class: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec::Representation
|
1138
1215
|
|
1216
|
+
property :cloudbuild, as: 'cloudbuild', class: Google::Apis::GkehubV1alpha::CloudBuildMembershipSpec, decorator: Google::Apis::GkehubV1alpha::CloudBuildMembershipSpec::Representation
|
1217
|
+
|
1139
1218
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec::Representation
|
1140
1219
|
|
1141
1220
|
property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
|
1142
1221
|
|
1143
1222
|
property :mesh, as: 'mesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec::Representation
|
1144
1223
|
|
1224
|
+
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipSpec::Representation
|
1225
|
+
|
1145
1226
|
end
|
1146
1227
|
end
|
1147
1228
|
|
@@ -1156,6 +1237,8 @@ module Google
|
|
1156
1237
|
|
1157
1238
|
property :metering, as: 'metering', class: Google::Apis::GkehubV1alpha::MeteringMembershipState, decorator: Google::Apis::GkehubV1alpha::MeteringMembershipState::Representation
|
1158
1239
|
|
1240
|
+
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipState, decorator: Google::Apis::GkehubV1alpha::PolicycontrollerMembershipState::Representation
|
1241
|
+
|
1159
1242
|
property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState::Representation
|
1160
1243
|
|
1161
1244
|
property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FeatureState, decorator: Google::Apis::GkehubV1alpha::FeatureState::Representation
|
@@ -1240,6 +1323,64 @@ module Google
|
|
1240
1323
|
end
|
1241
1324
|
end
|
1242
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
|
+
|
1243
1384
|
class ResourceManifest
|
1244
1385
|
# @private
|
1245
1386
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1278,6 +1419,15 @@ module Google
|
|
1278
1419
|
end
|
1279
1420
|
end
|
1280
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
|
+
|
1281
1431
|
class ServiceMeshFeatureState
|
1282
1432
|
# @private
|
1283
1433
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1289,6 +1439,7 @@ module Google
|
|
1289
1439
|
class ServiceMeshMembershipSpec
|
1290
1440
|
# @private
|
1291
1441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1442
|
+
property :control_plane, as: 'controlPlane'
|
1292
1443
|
end
|
1293
1444
|
end
|
1294
1445
|
|
@@ -1297,6 +1448,16 @@ module Google
|
|
1297
1448
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1298
1449
|
collection :analysis_messages, as: 'analysisMessages', class: Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage, decorator: Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage::Representation
|
1299
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'
|
1300
1461
|
end
|
1301
1462
|
end
|
1302
1463
|
|
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: 2022-01-
|
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: []
|