google-apis-gkehub_v1 0.20.0 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7fd488230206adbb4f29dc96a92f7e9c5012d705e93055cd33dca7abdd0433a3
4
- data.tar.gz: f39fe7747d28debd43d4ab0ab97c524e49fca53703941217e7f60c416fb757f5
3
+ metadata.gz: c2e1dd871a404634c78670444c9360bc70bc367b454bb85526fdd22ddd0a490d
4
+ data.tar.gz: b63a1a161da6c87e23de53f8a754530f0fe34475e1a4ce0fc62af6ccf55c2078
5
5
  SHA512:
6
- metadata.gz: f8eced6503b78ec3f16ec9a4c1aa0b8f2a48828d1d38078b9267c5852eb36ffecc156f0e32c240b14dee2c4ce8c8f9c6ebad48dc96e60f49217fc3768801702b
7
- data.tar.gz: c6a420c2892b88b4793f9eec5165322844408d40fca63dcad9335b9aa8f057ff1dd93e91a3709b0b64d98402a2b9366d3302fef4907c21de3ab17802b16ed47d
6
+ metadata.gz: bd9e444a8284d09cfcd14f08c306ee5f7da332d14046d5541c8e0b9241027bc7730c854d0da587020bc12be218aeb68e7737d144fe0e6b2d2af460fbd70f1726
7
+ data.tar.gz: 914bec96e80336e4478d1a0797f5207553c6757b6f2cef26b73fdfa5b9f9cd350a2e139c7c8e8b4d333b8d564e952fd13a9fb5354d97d5cbdca006df9de64498
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.23.0 (2022-04-09)
4
+
5
+ * Regenerated from discovery document revision 20220401
6
+
7
+ ### v0.22.0 (2022-03-26)
8
+
9
+ * Regenerated from discovery document revision 20220318
10
+
11
+ ### v0.21.0 (2022-02-12)
12
+
13
+ * Regenerated from discovery document revision 20220204
14
+
3
15
  ### v0.20.0 (2022-01-30)
4
16
 
5
17
  * Regenerated from discovery document revision 20220122
@@ -1154,8 +1154,7 @@ module Google
1154
1154
  # A generic empty message that you can re-use to avoid defining duplicated empty
1155
1155
  # messages in your APIs. A typical example is to use it as the request or the
1156
1156
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1157
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1158
- # `Empty` is empty JSON object ````.
1157
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1159
1158
  class Empty
1160
1159
  include Google::Apis::Core::Hashable
1161
1160
 
@@ -1915,11 +1914,6 @@ module Google
1915
1914
  # @return [Google::Apis::GkehubV1::ConfigManagementMembershipState]
1916
1915
  attr_accessor :configmanagement
1917
1916
 
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
1917
  # FeatureState describes the high-level state of a Feature. It may be used to
1924
1918
  # describe a Feature's state at the environ-level, or per-membershop, depending
1925
1919
  # on the context.
@@ -1935,7 +1929,6 @@ module Google
1935
1929
  def update!(**args)
1936
1930
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
1937
1931
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
1938
- @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
1939
1932
  @state = args[:state] if args.key?(:state)
1940
1933
  end
1941
1934
  end
@@ -2263,197 +2256,6 @@ module Google
2263
2256
  end
2264
2257
  end
2265
2258
 
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
2259
  # ResourceManifest represents a single Kubernetes resource to be applied to the
2458
2260
  # cluster.
2459
2261
  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.20.0"
19
+ GEM_VERSION = "0.23.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 = "20220122"
25
+ REVISION = "20220401"
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
@@ -84,8 +84,8 @@ module Google
84
84
  # The resource that owns the locations collection, if applicable.
85
85
  # @param [String] filter
86
86
  # A filter to narrow down results to a preferred subset. The filtering language
87
- # accepts strings like "displayName=tokyo", and is documented in more detail in [
88
- # AIP-160](https://google.aip.dev/160).
87
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
88
+ # in [AIP-160](https://google.aip.dev/160).
89
89
  # @param [Fixnum] page_size
90
90
  # The maximum number of results to return. If not set, the service selects a
91
91
  # default.
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.20.0
4
+ version: 0.23.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-31 00:00:00.000000000 Z
11
+ date: 2022-04-11 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.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.23.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: []