google-apis-gkehub_v1beta 0.36.0 → 0.37.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: 352b8974288818a736c8d654e5f6c8d5acdccf4b4207e70effc0e307146347d7
4
- data.tar.gz: 2b526c6c4d86a051517d694ec36e6fb1bc1f51431cdbaadb517f8a8902cc3855
3
+ metadata.gz: 7f458314460ff6ae47ca0a80bb8d3b03b26b21fa37ebe0e24ff29b05a2568366
4
+ data.tar.gz: 7d2c0adc38532e3f4c1da5b0918a7a2f9d05ea1ed1842dcb52548f52a7db069b
5
5
  SHA512:
6
- metadata.gz: 8f381fd0686dd7a7ea9eda3c4ba8319cfb159611879d356318475c3618704e39074e73fd93463bfbbb95481ac1618eb804ffb50096fd243ac65eefd8fb0a9352
7
- data.tar.gz: 03ee185fef76b64166296e0b43ad5e367aaaef8d1b550f2abac5e60f361ad3c2cd1aa2f872057316f99d2bdc74e3bf1de96f009bd83dfdfa702ec387ac2df30d
6
+ metadata.gz: adfde34058a00755d4afbe70c997bd6b5fee0bd5e26a682d6d58b02146219dbebbc14e4324e43deaf8d61506b4043277d2122fe0aa76455a40c8ba986e7f6923
7
+ data.tar.gz: d821c8273955656e44fd6482f7e6b380730d920b4e3f7174717b774c45ca2bc06812e3816aaa3227173a7240f03c88ab85b74fe21fe0675f3e3f50ec172eaa2e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.37.0 (2023-01-22)
4
+
5
+ * Regenerated from discovery document revision 20230106
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.36.0 (2022-12-13)
4
9
 
5
10
  * Regenerated from discovery document revision 20221207
@@ -2463,6 +2463,32 @@ module Google
2463
2463
  end
2464
2464
  end
2465
2465
 
2466
+ # BundleInstallSpec is the specification configuration for a single managed
2467
+ # bundle.
2468
+ class PolicyControllerBundleInstallSpec
2469
+ include Google::Apis::Core::Hashable
2470
+
2471
+ # the set of namespaces to be exempted from the bundle
2472
+ # Corresponds to the JSON property `exemptedNamespaces`
2473
+ # @return [Array<String>]
2474
+ attr_accessor :exempted_namespaces
2475
+
2476
+ # Management specifies how the bundle will be managed by the controller.
2477
+ # Corresponds to the JSON property `management`
2478
+ # @return [String]
2479
+ attr_accessor :management
2480
+
2481
+ def initialize(**args)
2482
+ update!(**args)
2483
+ end
2484
+
2485
+ # Update properties of this object
2486
+ def update!(**args)
2487
+ @exempted_namespaces = args[:exempted_namespaces] if args.key?(:exempted_namespaces)
2488
+ @management = args[:management] if args.key?(:management)
2489
+ end
2490
+ end
2491
+
2466
2492
  # Configuration for Policy Controller
2467
2493
  class PolicyControllerHubConfig
2468
2494
  include Google::Apis::Core::Hashable
@@ -2506,6 +2532,12 @@ module Google
2506
2532
  attr_accessor :mutation_enabled
2507
2533
  alias_method :mutation_enabled?, :mutation_enabled
2508
2534
 
2535
+ # PolicyContentSpec defines the user's desired content configuration on the
2536
+ # cluster.
2537
+ # Corresponds to the JSON property `policyContent`
2538
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerPolicyContentSpec]
2539
+ attr_accessor :policy_content
2540
+
2509
2541
  # Enables the ability to use Constraint Templates that reference to objects
2510
2542
  # other than the object currently being evaluated.
2511
2543
  # Corresponds to the JSON property `referentialRulesEnabled`
@@ -2530,6 +2562,7 @@ module Google
2530
2562
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
2531
2563
  @monitoring = args[:monitoring] if args.key?(:monitoring)
2532
2564
  @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
2565
+ @policy_content = args[:policy_content] if args.key?(:policy_content)
2533
2566
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
2534
2567
  @template_library_config = args[:template_library_config] if args.key?(:template_library_config)
2535
2568
  end
@@ -2566,11 +2599,17 @@ module Google
2566
2599
  include Google::Apis::Core::Hashable
2567
2600
 
2568
2601
  # Currently these include (also serving as map keys): 1. "admission" 2. "audit"
2569
- # 3. "mutation" 4. "constraint template library"
2602
+ # 3. "mutation"
2570
2603
  # Corresponds to the JSON property `componentStates`
2571
2604
  # @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>]
2572
2605
  attr_accessor :component_states
2573
2606
 
2607
+ # The state of the template library and any bundles included in the chosen
2608
+ # version of the manifest
2609
+ # Corresponds to the JSON property `contentStates`
2610
+ # @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>]
2611
+ attr_accessor :content_states
2612
+
2574
2613
  # The overall Policy Controller lifecycle state observed by the Hub Feature
2575
2614
  # controller.
2576
2615
  # Corresponds to the JSON property `state`
@@ -2584,6 +2623,7 @@ module Google
2584
2623
  # Update properties of this object
2585
2624
  def update!(**args)
2586
2625
  @component_states = args[:component_states] if args.key?(:component_states)
2626
+ @content_states = args[:content_states] if args.key?(:content_states)
2587
2627
  @state = args[:state] if args.key?(:state)
2588
2628
  end
2589
2629
  end
@@ -2635,6 +2675,28 @@ module Google
2635
2675
  end
2636
2676
  end
2637
2677
 
2678
+ # PolicyContentSpec defines the user's desired content configuration on the
2679
+ # cluster.
2680
+ class PolicyControllerPolicyContentSpec
2681
+ include Google::Apis::Core::Hashable
2682
+
2683
+ # map of bundle name to BundleInstallSpec. The bundle name maps to the `
2684
+ # bundleName` key in the `policycontroller.gke.io/constraintData` annotation on
2685
+ # a constraint.
2686
+ # Corresponds to the JSON property `bundles`
2687
+ # @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerBundleInstallSpec>]
2688
+ attr_accessor :bundles
2689
+
2690
+ def initialize(**args)
2691
+ update!(**args)
2692
+ end
2693
+
2694
+ # Update properties of this object
2695
+ def update!(**args)
2696
+ @bundles = args[:bundles] if args.key?(:bundles)
2697
+ end
2698
+ end
2699
+
2638
2700
  # The config specifying which default library templates to install.
2639
2701
  class PolicyControllerTemplateLibraryConfig
2640
2702
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1beta
18
18
  # Version of the google-apis-gkehub_v1beta gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221207"
25
+ REVISION = "20230106"
26
26
  end
27
27
  end
28
28
  end
@@ -406,6 +406,12 @@ module Google
406
406
  include Google::Apis::Core::JsonObjectSupport
407
407
  end
408
408
 
409
+ class PolicyControllerBundleInstallSpec
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
409
415
  class PolicyControllerHubConfig
410
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
417
 
@@ -436,6 +442,12 @@ module Google
436
442
  include Google::Apis::Core::JsonObjectSupport
437
443
  end
438
444
 
445
+ class PolicyControllerPolicyContentSpec
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
439
451
  class PolicyControllerTemplateLibraryConfig
440
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
453
 
@@ -1179,6 +1191,14 @@ module Google
1179
1191
  end
1180
1192
  end
1181
1193
 
1194
+ class PolicyControllerBundleInstallSpec
1195
+ # @private
1196
+ class Representation < Google::Apis::Core::JsonRepresentation
1197
+ collection :exempted_namespaces, as: 'exemptedNamespaces'
1198
+ property :management, as: 'management'
1199
+ end
1200
+ end
1201
+
1182
1202
  class PolicyControllerHubConfig
1183
1203
  # @private
1184
1204
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1189,6 +1209,8 @@ module Google
1189
1209
  property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1beta::PolicyControllerMonitoringConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerMonitoringConfig::Representation
1190
1210
 
1191
1211
  property :mutation_enabled, as: 'mutationEnabled'
1212
+ property :policy_content, as: 'policyContent', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentSpec, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentSpec::Representation
1213
+
1192
1214
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
1193
1215
  property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig::Representation
1194
1216
 
@@ -1209,6 +1231,8 @@ module Google
1209
1231
  class Representation < Google::Apis::Core::JsonRepresentation
1210
1232
  hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState::Representation
1211
1233
 
1234
+ hash :content_states, as: 'contentStates', class: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState::Representation
1235
+
1212
1236
  property :state, as: 'state'
1213
1237
  end
1214
1238
  end
@@ -1228,6 +1252,14 @@ module Google
1228
1252
  end
1229
1253
  end
1230
1254
 
1255
+ class PolicyControllerPolicyContentSpec
1256
+ # @private
1257
+ class Representation < Google::Apis::Core::JsonRepresentation
1258
+ hash :bundles, as: 'bundles', class: Google::Apis::GkehubV1beta::PolicyControllerBundleInstallSpec, decorator: Google::Apis::GkehubV1beta::PolicyControllerBundleInstallSpec::Representation
1259
+
1260
+ end
1261
+ end
1262
+
1231
1263
  class PolicyControllerTemplateLibraryConfig
1232
1264
  # @private
1233
1265
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.37.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: 2023-01-04 00:00:00.000000000 Z
11
+ date: 2023-01-22 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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.37.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta
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.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for GKE Hub API V1beta