google-apis-gkehub_v1beta 0.35.0 → 0.37.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: 3773f599e5b2ed32ecae6680ed6c4635e64cda056a9a3ce3aeced4deb66fb1dc
4
- data.tar.gz: '0954cd6cebf5aab313aa9eecd4b7bfcd400aabd44db0134086219312c2579560'
3
+ metadata.gz: 7f458314460ff6ae47ca0a80bb8d3b03b26b21fa37ebe0e24ff29b05a2568366
4
+ data.tar.gz: 7d2c0adc38532e3f4c1da5b0918a7a2f9d05ea1ed1842dcb52548f52a7db069b
5
5
  SHA512:
6
- metadata.gz: f605bd96b7c7fef5aa3272ac8a270038a427ff6a2e492b1c44a676c4de7054f2c1665cae202989f8b99b69d1b9fbd187bff1320c653e4813c08ccabe08ac8c65
7
- data.tar.gz: bb078e1ac41aa15c269c84f99108217a90807e36f139716dae1f2aa8abec32e76b94bff2400ac15557ee5d2e1a07117b08978e1bd0776061442b56d6f769ab58
6
+ metadata.gz: adfde34058a00755d4afbe70c997bd6b5fee0bd5e26a682d6d58b02146219dbebbc14e4324e43deaf8d61506b4043277d2122fe0aa76455a40c8ba986e7f6923
7
+ data.tar.gz: d821c8273955656e44fd6482f7e6b380730d920b4e3f7174717b774c45ca2bc06812e3816aaa3227173a7240f03c88ab85b74fe21fe0675f3e3f50ec172eaa2e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.36.0 (2022-12-13)
9
+
10
+ * Regenerated from discovery document revision 20221207
11
+
3
12
  ### v0.35.0 (2022-11-06)
4
13
 
5
14
  * Regenerated from discovery document revision 20221031
@@ -409,7 +409,7 @@ module Google
409
409
  include Google::Apis::Core::Hashable
410
410
 
411
411
  # Set to true to allow the vertical scaling. Defaults to false which disallows
412
- # vertical scaling.
412
+ # vertical scaling. This field is deprecated.
413
413
  # Corresponds to the JSON property `allowVerticalScale`
414
414
  # @return [Boolean]
415
415
  attr_accessor :allow_vertical_scale
@@ -2056,6 +2056,12 @@ module Google
2056
2056
  # @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec]
2057
2057
  attr_accessor :configmanagement
2058
2058
 
2059
+ # True if value of `feature_spec` was inherited from a fleet-level default.
2060
+ # Corresponds to the JSON property `fleetInherited`
2061
+ # @return [Boolean]
2062
+ attr_accessor :fleet_inherited
2063
+ alias_method :fleet_inherited?, :fleet_inherited
2064
+
2059
2065
  # **FleetObservability**: The membership-specific input for FleetObservability
2060
2066
  # feature.
2061
2067
  # Corresponds to the JSON property `fleetobservability`
@@ -2087,6 +2093,7 @@ module Google
2087
2093
  @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
2088
2094
  @cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
2089
2095
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
2096
+ @fleet_inherited = args[:fleet_inherited] if args.key?(:fleet_inherited)
2090
2097
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
2091
2098
  @identityservice = args[:identityservice] if args.key?(:identityservice)
2092
2099
  @mesh = args[:mesh] if args.key?(:mesh)
@@ -2456,6 +2463,32 @@ module Google
2456
2463
  end
2457
2464
  end
2458
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
+
2459
2492
  # Configuration for Policy Controller
2460
2493
  class PolicyControllerHubConfig
2461
2494
  include Google::Apis::Core::Hashable
@@ -2499,6 +2532,12 @@ module Google
2499
2532
  attr_accessor :mutation_enabled
2500
2533
  alias_method :mutation_enabled?, :mutation_enabled
2501
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
+
2502
2541
  # Enables the ability to use Constraint Templates that reference to objects
2503
2542
  # other than the object currently being evaluated.
2504
2543
  # Corresponds to the JSON property `referentialRulesEnabled`
@@ -2523,6 +2562,7 @@ module Google
2523
2562
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
2524
2563
  @monitoring = args[:monitoring] if args.key?(:monitoring)
2525
2564
  @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
2565
+ @policy_content = args[:policy_content] if args.key?(:policy_content)
2526
2566
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
2527
2567
  @template_library_config = args[:template_library_config] if args.key?(:template_library_config)
2528
2568
  end
@@ -2559,11 +2599,17 @@ module Google
2559
2599
  include Google::Apis::Core::Hashable
2560
2600
 
2561
2601
  # Currently these include (also serving as map keys): 1. "admission" 2. "audit"
2562
- # 3. "mutation" 4. "constraint template library"
2602
+ # 3. "mutation"
2563
2603
  # Corresponds to the JSON property `componentStates`
2564
2604
  # @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>]
2565
2605
  attr_accessor :component_states
2566
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
+
2567
2613
  # The overall Policy Controller lifecycle state observed by the Hub Feature
2568
2614
  # controller.
2569
2615
  # Corresponds to the JSON property `state`
@@ -2577,6 +2623,7 @@ module Google
2577
2623
  # Update properties of this object
2578
2624
  def update!(**args)
2579
2625
  @component_states = args[:component_states] if args.key?(:component_states)
2626
+ @content_states = args[:content_states] if args.key?(:content_states)
2580
2627
  @state = args[:state] if args.key?(:state)
2581
2628
  end
2582
2629
  end
@@ -2628,6 +2675,28 @@ module Google
2628
2675
  end
2629
2676
  end
2630
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
+
2631
2700
  # The config specifying which default library templates to install.
2632
2701
  class PolicyControllerTemplateLibraryConfig
2633
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.35.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 = "20221031"
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
 
@@ -1084,6 +1096,7 @@ module Google
1084
1096
 
1085
1097
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec::Representation
1086
1098
 
1099
+ property :fleet_inherited, as: 'fleetInherited'
1087
1100
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1beta::FleetObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1beta::FleetObservabilityMembershipSpec::Representation
1088
1101
 
1089
1102
  property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec::Representation
@@ -1178,6 +1191,14 @@ module Google
1178
1191
  end
1179
1192
  end
1180
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
+
1181
1202
  class PolicyControllerHubConfig
1182
1203
  # @private
1183
1204
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1188,6 +1209,8 @@ module Google
1188
1209
  property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1beta::PolicyControllerMonitoringConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerMonitoringConfig::Representation
1189
1210
 
1190
1211
  property :mutation_enabled, as: 'mutationEnabled'
1212
+ property :policy_content, as: 'policyContent', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentSpec, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentSpec::Representation
1213
+
1191
1214
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
1192
1215
  property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerTemplateLibraryConfig::Representation
1193
1216
 
@@ -1208,6 +1231,8 @@ module Google
1208
1231
  class Representation < Google::Apis::Core::JsonRepresentation
1209
1232
  hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState::Representation
1210
1233
 
1234
+ hash :content_states, as: 'contentStates', class: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState::Representation
1235
+
1211
1236
  property :state, as: 'state'
1212
1237
  end
1213
1238
  end
@@ -1227,6 +1252,14 @@ module Google
1227
1252
  end
1228
1253
  end
1229
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
+
1230
1263
  class PolicyControllerTemplateLibraryConfig
1231
1264
  # @private
1232
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.35.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: 2022-11-07 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.35.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