google-apis-gkehub_v1beta 0.36.0 → 0.38.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: 352b8974288818a736c8d654e5f6c8d5acdccf4b4207e70effc0e307146347d7
4
- data.tar.gz: 2b526c6c4d86a051517d694ec36e6fb1bc1f51431cdbaadb517f8a8902cc3855
3
+ metadata.gz: 711e1bcf32d9719f3d7586500ef11655a9c339127d07471deaff29b17f384cb8
4
+ data.tar.gz: 4703ff3b4158f96deef311c4a937e308cbbcf27e097cf93e0a24f260b19aaf25
5
5
  SHA512:
6
- metadata.gz: 8f381fd0686dd7a7ea9eda3c4ba8319cfb159611879d356318475c3618704e39074e73fd93463bfbbb95481ac1618eb804ffb50096fd243ac65eefd8fb0a9352
7
- data.tar.gz: 03ee185fef76b64166296e0b43ad5e367aaaef8d1b550f2abac5e60f361ad3c2cd1aa2f872057316f99d2bdc74e3bf1de96f009bd83dfdfa702ec387ac2df30d
6
+ metadata.gz: 0140d11794323e115ca1cb8870cb0316e3e5777e81f8feeb0c732959e07a0f5a8de7c90c3ad6d5cfd8e6012f79c3544debf0b9ee859b5eccda7d12db258749c9
7
+ data.tar.gz: f19da1f37cb121e51434fac1003288bccf963803457d0048367f45352569f0b39e8c35c2ec89dbdfa095323e6687958916ec2843c5fbaef8d2ddb17bd64b7b70
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.38.0 (2023-01-29)
4
+
5
+ * Regenerated from discovery document revision 20230119
6
+
7
+ ### v0.37.0 (2023-01-22)
8
+
9
+ * Regenerated from discovery document revision 20230106
10
+ * Regenerated using generator version 0.11.1
11
+
3
12
  ### v0.36.0 (2022-12-13)
4
13
 
5
14
  * Regenerated from discovery document revision 20221207
@@ -340,6 +340,26 @@ module Google
340
340
  end
341
341
  end
342
342
 
343
+ # CommonFleetDefaultMemberConfigSpec contains default configuration information
344
+ # for memberships of a fleet
345
+ class CommonFleetDefaultMemberConfigSpec
346
+ include Google::Apis::Core::Hashable
347
+
348
+ # **Anthos Identity Service**: Configuration for a single Membership.
349
+ # Corresponds to the JSON property `identityservice`
350
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec]
351
+ attr_accessor :identityservice
352
+
353
+ def initialize(**args)
354
+ update!(**args)
355
+ end
356
+
357
+ # Update properties of this object
358
+ def update!(**args)
359
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
360
+ end
361
+ end
362
+
343
363
  # Configuration for Binauthz
344
364
  class ConfigManagementBinauthzConfig
345
365
  include Google::Apis::Core::Hashable
@@ -1391,6 +1411,12 @@ module Google
1391
1411
  # @return [String]
1392
1412
  attr_accessor :delete_time
1393
1413
 
1414
+ # CommonFleetDefaultMemberConfigSpec contains default configuration information
1415
+ # for memberships of a fleet
1416
+ # Corresponds to the JSON property `fleetDefaultMemberConfig`
1417
+ # @return [Google::Apis::GkehubV1beta::CommonFleetDefaultMemberConfigSpec]
1418
+ attr_accessor :fleet_default_member_config
1419
+
1394
1420
  # GCP labels for this Feature.
1395
1421
  # Corresponds to the JSON property `labels`
1396
1422
  # @return [Hash<String,String>]
@@ -1480,6 +1506,7 @@ module Google
1480
1506
  def update!(**args)
1481
1507
  @create_time = args[:create_time] if args.key?(:create_time)
1482
1508
  @delete_time = args[:delete_time] if args.key?(:delete_time)
1509
+ @fleet_default_member_config = args[:fleet_default_member_config] if args.key?(:fleet_default_member_config)
1483
1510
  @labels = args[:labels] if args.key?(:labels)
1484
1511
  @membership_specs = args[:membership_specs] if args.key?(:membership_specs)
1485
1512
  @membership_states = args[:membership_states] if args.key?(:membership_states)
@@ -2463,6 +2490,32 @@ module Google
2463
2490
  end
2464
2491
  end
2465
2492
 
2493
+ # BundleInstallSpec is the specification configuration for a single managed
2494
+ # bundle.
2495
+ class PolicyControllerBundleInstallSpec
2496
+ include Google::Apis::Core::Hashable
2497
+
2498
+ # the set of namespaces to be exempted from the bundle
2499
+ # Corresponds to the JSON property `exemptedNamespaces`
2500
+ # @return [Array<String>]
2501
+ attr_accessor :exempted_namespaces
2502
+
2503
+ # Management specifies how the bundle will be managed by the controller.
2504
+ # Corresponds to the JSON property `management`
2505
+ # @return [String]
2506
+ attr_accessor :management
2507
+
2508
+ def initialize(**args)
2509
+ update!(**args)
2510
+ end
2511
+
2512
+ # Update properties of this object
2513
+ def update!(**args)
2514
+ @exempted_namespaces = args[:exempted_namespaces] if args.key?(:exempted_namespaces)
2515
+ @management = args[:management] if args.key?(:management)
2516
+ end
2517
+ end
2518
+
2466
2519
  # Configuration for Policy Controller
2467
2520
  class PolicyControllerHubConfig
2468
2521
  include Google::Apis::Core::Hashable
@@ -2506,6 +2559,12 @@ module Google
2506
2559
  attr_accessor :mutation_enabled
2507
2560
  alias_method :mutation_enabled?, :mutation_enabled
2508
2561
 
2562
+ # PolicyContentSpec defines the user's desired content configuration on the
2563
+ # cluster.
2564
+ # Corresponds to the JSON property `policyContent`
2565
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerPolicyContentSpec]
2566
+ attr_accessor :policy_content
2567
+
2509
2568
  # Enables the ability to use Constraint Templates that reference to objects
2510
2569
  # other than the object currently being evaluated.
2511
2570
  # Corresponds to the JSON property `referentialRulesEnabled`
@@ -2530,6 +2589,7 @@ module Google
2530
2589
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
2531
2590
  @monitoring = args[:monitoring] if args.key?(:monitoring)
2532
2591
  @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
2592
+ @policy_content = args[:policy_content] if args.key?(:policy_content)
2533
2593
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
2534
2594
  @template_library_config = args[:template_library_config] if args.key?(:template_library_config)
2535
2595
  end
@@ -2566,11 +2626,17 @@ module Google
2566
2626
  include Google::Apis::Core::Hashable
2567
2627
 
2568
2628
  # Currently these include (also serving as map keys): 1. "admission" 2. "audit"
2569
- # 3. "mutation" 4. "constraint template library"
2629
+ # 3. "mutation"
2570
2630
  # Corresponds to the JSON property `componentStates`
2571
2631
  # @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>]
2572
2632
  attr_accessor :component_states
2573
2633
 
2634
+ # The state of the template library and any bundles included in the chosen
2635
+ # version of the manifest
2636
+ # Corresponds to the JSON property `contentStates`
2637
+ # @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>]
2638
+ attr_accessor :content_states
2639
+
2574
2640
  # The overall Policy Controller lifecycle state observed by the Hub Feature
2575
2641
  # controller.
2576
2642
  # Corresponds to the JSON property `state`
@@ -2584,6 +2650,7 @@ module Google
2584
2650
  # Update properties of this object
2585
2651
  def update!(**args)
2586
2652
  @component_states = args[:component_states] if args.key?(:component_states)
2653
+ @content_states = args[:content_states] if args.key?(:content_states)
2587
2654
  @state = args[:state] if args.key?(:state)
2588
2655
  end
2589
2656
  end
@@ -2635,6 +2702,28 @@ module Google
2635
2702
  end
2636
2703
  end
2637
2704
 
2705
+ # PolicyContentSpec defines the user's desired content configuration on the
2706
+ # cluster.
2707
+ class PolicyControllerPolicyContentSpec
2708
+ include Google::Apis::Core::Hashable
2709
+
2710
+ # map of bundle name to BundleInstallSpec. The bundle name maps to the `
2711
+ # bundleName` key in the `policycontroller.gke.io/constraintData` annotation on
2712
+ # a constraint.
2713
+ # Corresponds to the JSON property `bundles`
2714
+ # @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerBundleInstallSpec>]
2715
+ attr_accessor :bundles
2716
+
2717
+ def initialize(**args)
2718
+ update!(**args)
2719
+ end
2720
+
2721
+ # Update properties of this object
2722
+ def update!(**args)
2723
+ @bundles = args[:bundles] if args.key?(:bundles)
2724
+ end
2725
+ end
2726
+
2638
2727
  # The config specifying which default library templates to install.
2639
2728
  class PolicyControllerTemplateLibraryConfig
2640
2729
  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.38.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 = "20230119"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class CommonFleetDefaultMemberConfigSpec
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class ConfigManagementBinauthzConfig
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -406,6 +412,12 @@ module Google
406
412
  include Google::Apis::Core::JsonObjectSupport
407
413
  end
408
414
 
415
+ class PolicyControllerBundleInstallSpec
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
409
421
  class PolicyControllerHubConfig
410
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
423
 
@@ -436,6 +448,12 @@ module Google
436
448
  include Google::Apis::Core::JsonObjectSupport
437
449
  end
438
450
 
451
+ class PolicyControllerPolicyContentSpec
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
439
457
  class PolicyControllerTemplateLibraryConfig
440
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
459
 
@@ -598,6 +616,14 @@ module Google
598
616
  end
599
617
  end
600
618
 
619
+ class CommonFleetDefaultMemberConfigSpec
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec::Representation
623
+
624
+ end
625
+ end
626
+
601
627
  class ConfigManagementBinauthzConfig
602
628
  # @private
603
629
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -897,6 +923,8 @@ module Google
897
923
  class Representation < Google::Apis::Core::JsonRepresentation
898
924
  property :create_time, as: 'createTime'
899
925
  property :delete_time, as: 'deleteTime'
926
+ property :fleet_default_member_config, as: 'fleetDefaultMemberConfig', class: Google::Apis::GkehubV1beta::CommonFleetDefaultMemberConfigSpec, decorator: Google::Apis::GkehubV1beta::CommonFleetDefaultMemberConfigSpec::Representation
927
+
900
928
  hash :labels, as: 'labels'
901
929
  hash :membership_specs, as: 'membershipSpecs', class: Google::Apis::GkehubV1beta::MembershipFeatureSpec, decorator: Google::Apis::GkehubV1beta::MembershipFeatureSpec::Representation
902
930
 
@@ -1179,6 +1207,14 @@ module Google
1179
1207
  end
1180
1208
  end
1181
1209
 
1210
+ class PolicyControllerBundleInstallSpec
1211
+ # @private
1212
+ class Representation < Google::Apis::Core::JsonRepresentation
1213
+ collection :exempted_namespaces, as: 'exemptedNamespaces'
1214
+ property :management, as: 'management'
1215
+ end
1216
+ end
1217
+
1182
1218
  class PolicyControllerHubConfig
1183
1219
  # @private
1184
1220
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1189,6 +1225,8 @@ module Google
1189
1225
  property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1beta::PolicyControllerMonitoringConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerMonitoringConfig::Representation
1190
1226
 
1191
1227
  property :mutation_enabled, as: 'mutationEnabled'
1228
+ property :policy_content, as: 'policyContent', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentSpec, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentSpec::Representation
1229
+
1192
1230
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
1193
1231
  property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig::Representation
1194
1232
 
@@ -1209,6 +1247,8 @@ module Google
1209
1247
  class Representation < Google::Apis::Core::JsonRepresentation
1210
1248
  hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState::Representation
1211
1249
 
1250
+ hash :content_states, as: 'contentStates', class: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState::Representation
1251
+
1212
1252
  property :state, as: 'state'
1213
1253
  end
1214
1254
  end
@@ -1228,6 +1268,14 @@ module Google
1228
1268
  end
1229
1269
  end
1230
1270
 
1271
+ class PolicyControllerPolicyContentSpec
1272
+ # @private
1273
+ class Representation < Google::Apis::Core::JsonRepresentation
1274
+ hash :bundles, as: 'bundles', class: Google::Apis::GkehubV1beta::PolicyControllerBundleInstallSpec, decorator: Google::Apis::GkehubV1beta::PolicyControllerBundleInstallSpec::Representation
1275
+
1276
+ end
1277
+ end
1278
+
1231
1279
  class PolicyControllerTemplateLibraryConfig
1232
1280
  # @private
1233
1281
  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.38.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-29 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.38.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