google-apis-gkehub_v1 0.20.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 +4 -0
- data/lib/google/apis/gkehub_v1/classes.rb +0 -197
- data/lib/google/apis/gkehub_v1/gem_version.rb +2 -2
- data/lib/google/apis/gkehub_v1/representations.rb +0 -95
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d86dde9c141706608fd11bd69672e961ac66322ff6340ff48da18577f852fd3
|
4
|
+
data.tar.gz: e7eb11e1959348d42787b75afea564e7b0936eeea7e6a6426e4bd25939cf9369
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 461439e0989f6aa1dd8a7cb9e337175dde8ae092ca1301a8fb1c02b7ede7fe472255e232014b33752b649200cced998ba22872344f7e89b99d7334b503ee825a
|
7
|
+
data.tar.gz: dd3f9f3c1c1cc89df340a71c44c8f0b556d3fb8509b7f6e11bbd29f35977400aad4ad104f8aeb3e979a9ef7372a4399c48205d84e9812d2df2b7be37346eae19
|
data/CHANGELOG.md
CHANGED
@@ -1915,11 +1915,6 @@ module Google
|
|
1915
1915
|
# @return [Google::Apis::GkehubV1::ConfigManagementMembershipState]
|
1916
1916
|
attr_accessor :configmanagement
|
1917
1917
|
|
1918
|
-
# **Policy Controller**: State for a single cluster.
|
1919
|
-
# Corresponds to the JSON property `policycontroller`
|
1920
|
-
# @return [Google::Apis::GkehubV1::PolicyControllerMembershipState]
|
1921
|
-
attr_accessor :policycontroller
|
1922
|
-
|
1923
1918
|
# FeatureState describes the high-level state of a Feature. It may be used to
|
1924
1919
|
# describe a Feature's state at the environ-level, or per-membershop, depending
|
1925
1920
|
# on the context.
|
@@ -1935,7 +1930,6 @@ module Google
|
|
1935
1930
|
def update!(**args)
|
1936
1931
|
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
1937
1932
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
1938
|
-
@policycontroller = args[:policycontroller] if args.key?(:policycontroller)
|
1939
1933
|
@state = args[:state] if args.key?(:state)
|
1940
1934
|
end
|
1941
1935
|
end
|
@@ -2263,197 +2257,6 @@ module Google
|
|
2263
2257
|
end
|
2264
2258
|
end
|
2265
2259
|
|
2266
|
-
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2267
|
-
# parallel the PolicyController CR.
|
2268
|
-
class PolicyControllerMembershipSpec
|
2269
|
-
include Google::Apis::Core::Hashable
|
2270
|
-
|
2271
|
-
# Configuration for Policy Controller
|
2272
|
-
# Corresponds to the JSON property `policyControllerHubConfig`
|
2273
|
-
# @return [Google::Apis::GkehubV1::PolicyControllerPolicyControllerHubConfig]
|
2274
|
-
attr_accessor :policy_controller_hub_config
|
2275
|
-
|
2276
|
-
# Version of Policy Controller installed.
|
2277
|
-
# Corresponds to the JSON property `version`
|
2278
|
-
# @return [String]
|
2279
|
-
attr_accessor :version
|
2280
|
-
|
2281
|
-
def initialize(**args)
|
2282
|
-
update!(**args)
|
2283
|
-
end
|
2284
|
-
|
2285
|
-
# Update properties of this object
|
2286
|
-
def update!(**args)
|
2287
|
-
@policy_controller_hub_config = args[:policy_controller_hub_config] if args.key?(:policy_controller_hub_config)
|
2288
|
-
@version = args[:version] if args.key?(:version)
|
2289
|
-
end
|
2290
|
-
end
|
2291
|
-
|
2292
|
-
# **Policy Controller**: State for a single cluster.
|
2293
|
-
class PolicyControllerMembershipState
|
2294
|
-
include Google::Apis::Core::Hashable
|
2295
|
-
|
2296
|
-
# The user-defined name for the cluster used by ClusterSelectors to group
|
2297
|
-
# clusters together. This should match Membership's membership_name, unless the
|
2298
|
-
# user installed PC on the cluster manually prior to enabling the PC hub feature.
|
2299
|
-
# Unique within a Policy Controller installation.
|
2300
|
-
# Corresponds to the JSON property `clusterName`
|
2301
|
-
# @return [String]
|
2302
|
-
attr_accessor :cluster_name
|
2303
|
-
|
2304
|
-
# **Policy Controller**: Configuration for a single cluster. Intended to
|
2305
|
-
# parallel the PolicyController CR.
|
2306
|
-
# Corresponds to the JSON property `membershipSpec`
|
2307
|
-
# @return [Google::Apis::GkehubV1::PolicyControllerMembershipSpec]
|
2308
|
-
attr_accessor :membership_spec
|
2309
|
-
|
2310
|
-
# State of the Policy Controller.
|
2311
|
-
# Corresponds to the JSON property `policyControllerHubState`
|
2312
|
-
# @return [Google::Apis::GkehubV1::PolicyControllerPolicyControllerHubState]
|
2313
|
-
attr_accessor :policy_controller_hub_state
|
2314
|
-
|
2315
|
-
# The lifecycle state Policy Controller is in.
|
2316
|
-
# Corresponds to the JSON property `state`
|
2317
|
-
# @return [String]
|
2318
|
-
attr_accessor :state
|
2319
|
-
|
2320
|
-
def initialize(**args)
|
2321
|
-
update!(**args)
|
2322
|
-
end
|
2323
|
-
|
2324
|
-
# Update properties of this object
|
2325
|
-
def update!(**args)
|
2326
|
-
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
2327
|
-
@membership_spec = args[:membership_spec] if args.key?(:membership_spec)
|
2328
|
-
@policy_controller_hub_state = args[:policy_controller_hub_state] if args.key?(:policy_controller_hub_state)
|
2329
|
-
@state = args[:state] if args.key?(:state)
|
2330
|
-
end
|
2331
|
-
end
|
2332
|
-
|
2333
|
-
# Configuration for Policy Controller
|
2334
|
-
class PolicyControllerPolicyControllerHubConfig
|
2335
|
-
include Google::Apis::Core::Hashable
|
2336
|
-
|
2337
|
-
# Sets the interval for Policy Controller Audit Scans (in seconds). When set to
|
2338
|
-
# 0, this disables audit functionality altogether.
|
2339
|
-
# Corresponds to the JSON property `auditIntervalSeconds`
|
2340
|
-
# @return [Fixnum]
|
2341
|
-
attr_accessor :audit_interval_seconds
|
2342
|
-
|
2343
|
-
# The set of namespaces that are excluded from Policy Controller checks.
|
2344
|
-
# Namespaces do not need to currently exist on the cluster.
|
2345
|
-
# Corresponds to the JSON property `exemptableNamespaces`
|
2346
|
-
# @return [Array<String>]
|
2347
|
-
attr_accessor :exemptable_namespaces
|
2348
|
-
|
2349
|
-
# The install_spec represents the intended state specified by the latest request
|
2350
|
-
# that mutated install_spec in the feature spec, not the lifecycle state of the
|
2351
|
-
# feature observed by the Hub feature controller that is reported in the feature
|
2352
|
-
# state.
|
2353
|
-
# Corresponds to the JSON property `installSpec`
|
2354
|
-
# @return [String]
|
2355
|
-
attr_accessor :install_spec
|
2356
|
-
|
2357
|
-
# Logs all denies and dry run failures.
|
2358
|
-
# Corresponds to the JSON property `logDeniesEnabled`
|
2359
|
-
# @return [Boolean]
|
2360
|
-
attr_accessor :log_denies_enabled
|
2361
|
-
alias_method :log_denies_enabled?, :log_denies_enabled
|
2362
|
-
|
2363
|
-
# Enables the ability to use Constraint Templates that reference to objects
|
2364
|
-
# other than the object currently being evaluated.
|
2365
|
-
# Corresponds to the JSON property `referentialRulesEnabled`
|
2366
|
-
# @return [Boolean]
|
2367
|
-
attr_accessor :referential_rules_enabled
|
2368
|
-
alias_method :referential_rules_enabled?, :referential_rules_enabled
|
2369
|
-
|
2370
|
-
# The config specifying which default library templates to install.
|
2371
|
-
# Corresponds to the JSON property `templateLibraryConfig`
|
2372
|
-
# @return [Google::Apis::GkehubV1::PolicyControllerTemplateLibraryConfig]
|
2373
|
-
attr_accessor :template_library_config
|
2374
|
-
|
2375
|
-
def initialize(**args)
|
2376
|
-
update!(**args)
|
2377
|
-
end
|
2378
|
-
|
2379
|
-
# Update properties of this object
|
2380
|
-
def update!(**args)
|
2381
|
-
@audit_interval_seconds = args[:audit_interval_seconds] if args.key?(:audit_interval_seconds)
|
2382
|
-
@exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
|
2383
|
-
@install_spec = args[:install_spec] if args.key?(:install_spec)
|
2384
|
-
@log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
|
2385
|
-
@referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
|
2386
|
-
@template_library_config = args[:template_library_config] if args.key?(:template_library_config)
|
2387
|
-
end
|
2388
|
-
end
|
2389
|
-
|
2390
|
-
# State of the Policy Controller.
|
2391
|
-
class PolicyControllerPolicyControllerHubState
|
2392
|
-
include Google::Apis::Core::Hashable
|
2393
|
-
|
2394
|
-
# Map from deployment name to deployment state. Example deployments are
|
2395
|
-
# gatekeeper-controller-manager, gatekeeper-audit deployment, and gatekeeper-
|
2396
|
-
# mutation.
|
2397
|
-
# Corresponds to the JSON property `deploymentStates`
|
2398
|
-
# @return [Hash<String,String>]
|
2399
|
-
attr_accessor :deployment_states
|
2400
|
-
|
2401
|
-
# The build version of Gatekeeper that Policy Controller is using.
|
2402
|
-
# Corresponds to the JSON property `version`
|
2403
|
-
# @return [Google::Apis::GkehubV1::PolicyControllerPolicyControllerHubVersion]
|
2404
|
-
attr_accessor :version
|
2405
|
-
|
2406
|
-
def initialize(**args)
|
2407
|
-
update!(**args)
|
2408
|
-
end
|
2409
|
-
|
2410
|
-
# Update properties of this object
|
2411
|
-
def update!(**args)
|
2412
|
-
@deployment_states = args[:deployment_states] if args.key?(:deployment_states)
|
2413
|
-
@version = args[:version] if args.key?(:version)
|
2414
|
-
end
|
2415
|
-
end
|
2416
|
-
|
2417
|
-
# The build version of Gatekeeper that Policy Controller is using.
|
2418
|
-
class PolicyControllerPolicyControllerHubVersion
|
2419
|
-
include Google::Apis::Core::Hashable
|
2420
|
-
|
2421
|
-
# The gatekeeper image tag that is composed of ACM version, git tag, build
|
2422
|
-
# number.
|
2423
|
-
# Corresponds to the JSON property `version`
|
2424
|
-
# @return [String]
|
2425
|
-
attr_accessor :version
|
2426
|
-
|
2427
|
-
def initialize(**args)
|
2428
|
-
update!(**args)
|
2429
|
-
end
|
2430
|
-
|
2431
|
-
# Update properties of this object
|
2432
|
-
def update!(**args)
|
2433
|
-
@version = args[:version] if args.key?(:version)
|
2434
|
-
end
|
2435
|
-
end
|
2436
|
-
|
2437
|
-
# The config specifying which default library templates to install.
|
2438
|
-
class PolicyControllerTemplateLibraryConfig
|
2439
|
-
include Google::Apis::Core::Hashable
|
2440
|
-
|
2441
|
-
# Whether the standard template library should be installed or not.
|
2442
|
-
# Corresponds to the JSON property `included`
|
2443
|
-
# @return [Boolean]
|
2444
|
-
attr_accessor :included
|
2445
|
-
alias_method :included?, :included
|
2446
|
-
|
2447
|
-
def initialize(**args)
|
2448
|
-
update!(**args)
|
2449
|
-
end
|
2450
|
-
|
2451
|
-
# Update properties of this object
|
2452
|
-
def update!(**args)
|
2453
|
-
@included = args[:included] if args.key?(:included)
|
2454
|
-
end
|
2455
|
-
end
|
2456
|
-
|
2457
2260
|
# ResourceManifest represents a single Kubernetes resource to be applied to the
|
2458
2261
|
# cluster.
|
2459
2262
|
class ResourceManifest
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1
|
18
18
|
# Version of the google-apis-gkehub_v1 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
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220204"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -370,42 +370,6 @@ module Google
|
|
370
370
|
include Google::Apis::Core::JsonObjectSupport
|
371
371
|
end
|
372
372
|
|
373
|
-
class PolicyControllerMembershipSpec
|
374
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
-
|
376
|
-
include Google::Apis::Core::JsonObjectSupport
|
377
|
-
end
|
378
|
-
|
379
|
-
class PolicyControllerMembershipState
|
380
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
-
|
382
|
-
include Google::Apis::Core::JsonObjectSupport
|
383
|
-
end
|
384
|
-
|
385
|
-
class PolicyControllerPolicyControllerHubConfig
|
386
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
-
|
388
|
-
include Google::Apis::Core::JsonObjectSupport
|
389
|
-
end
|
390
|
-
|
391
|
-
class PolicyControllerPolicyControllerHubState
|
392
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
-
|
394
|
-
include Google::Apis::Core::JsonObjectSupport
|
395
|
-
end
|
396
|
-
|
397
|
-
class PolicyControllerPolicyControllerHubVersion
|
398
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
-
|
400
|
-
include Google::Apis::Core::JsonObjectSupport
|
401
|
-
end
|
402
|
-
|
403
|
-
class PolicyControllerTemplateLibraryConfig
|
404
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
-
|
406
|
-
include Google::Apis::Core::JsonObjectSupport
|
407
|
-
end
|
408
|
-
|
409
373
|
class ResourceManifest
|
410
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
375
|
|
@@ -972,8 +936,6 @@ module Google
|
|
972
936
|
|
973
937
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1::ConfigManagementMembershipState::Representation
|
974
938
|
|
975
|
-
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1::PolicyControllerMembershipState, decorator: Google::Apis::GkehubV1::PolicyControllerMembershipState::Representation
|
976
|
-
|
977
939
|
property :state, as: 'state', class: Google::Apis::GkehubV1::FeatureState, decorator: Google::Apis::GkehubV1::FeatureState::Representation
|
978
940
|
|
979
941
|
end
|
@@ -1047,63 +1009,6 @@ module Google
|
|
1047
1009
|
end
|
1048
1010
|
end
|
1049
1011
|
|
1050
|
-
class PolicyControllerMembershipSpec
|
1051
|
-
# @private
|
1052
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1053
|
-
property :policy_controller_hub_config, as: 'policyControllerHubConfig', class: Google::Apis::GkehubV1::PolicyControllerPolicyControllerHubConfig, decorator: Google::Apis::GkehubV1::PolicyControllerPolicyControllerHubConfig::Representation
|
1054
|
-
|
1055
|
-
property :version, as: 'version'
|
1056
|
-
end
|
1057
|
-
end
|
1058
|
-
|
1059
|
-
class PolicyControllerMembershipState
|
1060
|
-
# @private
|
1061
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1062
|
-
property :cluster_name, as: 'clusterName'
|
1063
|
-
property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1::PolicyControllerMembershipSpec::Representation
|
1064
|
-
|
1065
|
-
property :policy_controller_hub_state, as: 'policyControllerHubState', class: Google::Apis::GkehubV1::PolicyControllerPolicyControllerHubState, decorator: Google::Apis::GkehubV1::PolicyControllerPolicyControllerHubState::Representation
|
1066
|
-
|
1067
|
-
property :state, as: 'state'
|
1068
|
-
end
|
1069
|
-
end
|
1070
|
-
|
1071
|
-
class PolicyControllerPolicyControllerHubConfig
|
1072
|
-
# @private
|
1073
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1074
|
-
property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
|
1075
|
-
collection :exemptable_namespaces, as: 'exemptableNamespaces'
|
1076
|
-
property :install_spec, as: 'installSpec'
|
1077
|
-
property :log_denies_enabled, as: 'logDeniesEnabled'
|
1078
|
-
property :referential_rules_enabled, as: 'referentialRulesEnabled'
|
1079
|
-
property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1::PolicyControllerTemplateLibraryConfig::Representation
|
1080
|
-
|
1081
|
-
end
|
1082
|
-
end
|
1083
|
-
|
1084
|
-
class PolicyControllerPolicyControllerHubState
|
1085
|
-
# @private
|
1086
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1087
|
-
hash :deployment_states, as: 'deploymentStates'
|
1088
|
-
property :version, as: 'version', class: Google::Apis::GkehubV1::PolicyControllerPolicyControllerHubVersion, decorator: Google::Apis::GkehubV1::PolicyControllerPolicyControllerHubVersion::Representation
|
1089
|
-
|
1090
|
-
end
|
1091
|
-
end
|
1092
|
-
|
1093
|
-
class PolicyControllerPolicyControllerHubVersion
|
1094
|
-
# @private
|
1095
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1096
|
-
property :version, as: 'version'
|
1097
|
-
end
|
1098
|
-
end
|
1099
|
-
|
1100
|
-
class PolicyControllerTemplateLibraryConfig
|
1101
|
-
# @private
|
1102
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1103
|
-
property :included, as: 'included'
|
1104
|
-
end
|
1105
|
-
end
|
1106
|
-
|
1107
1012
|
class ResourceManifest
|
1108
1013
|
# @private
|
1109
1014
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1
|
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: 2022-
|
11
|
+
date: 2022-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.21.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|