google-apis-gkehub_v1alpha 0.42.0 → 0.43.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: b8fa6f8df66d9928b1cf7b4e653fcc9e94c410b5f08caefab9ca830685635c3f
4
- data.tar.gz: 5e5499f0551a34304b8ba256a1b171a9f44e4718ccab8b11fbb27c232967419f
3
+ metadata.gz: 9d82a6ea13ff72b88566ad78f9805d73a06c0bb61cbd07fa7ac0566e9f15d2f7
4
+ data.tar.gz: b4d26407d2968ce48d9564f8eeb8746961253c7ada8c37e66cd9f13677d23933
5
5
  SHA512:
6
- metadata.gz: ca20a38e27c1cf7a87595f3b3e963cdd0391350694082f744eb473b957b252c3df87e9936d0a447461e0157b7a17678acd46d0bb5cd615d0848994618d77c9c9
7
- data.tar.gz: f21b1ef6112eb2525f92b849d2a8c0cdfc0764ce5d92e13be9f6d483a4e066316b45214c59e1d11e63f0c8bfff80525305952ffbef650135103b1fe5b3234dfc
6
+ metadata.gz: 199186abbdc03b424f8d4349c8004b155c3e16fc21911ff3db77068ef37a33362b899caed92bb7820b41c511ad265f108dc9af4f09b81d5fa4dec80998d95b46
7
+ data.tar.gz: 62cee8fad391d2cf21350039e1b02de9c7be83169decd5d1e96d906c82d7ac2e837a21ab1f9ba7d05226daeff69c5a1fa380196f246e7f0da58c2a9b743529c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.43.0 (2023-01-22)
4
+
5
+ * Regenerated from discovery document revision 20230106
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.42.0 (2022-12-09)
4
9
 
5
10
  * Regenerated from discovery document revision 20221207
@@ -3273,6 +3273,32 @@ module Google
3273
3273
  end
3274
3274
  end
3275
3275
 
3276
+ # BundleInstallSpec is the specification configuration for a single managed
3277
+ # bundle.
3278
+ class PolicyControllerBundleInstallSpec
3279
+ include Google::Apis::Core::Hashable
3280
+
3281
+ # the set of namespaces to be exempted from the bundle
3282
+ # Corresponds to the JSON property `exemptedNamespaces`
3283
+ # @return [Array<String>]
3284
+ attr_accessor :exempted_namespaces
3285
+
3286
+ # Management specifies how the bundle will be managed by the controller.
3287
+ # Corresponds to the JSON property `management`
3288
+ # @return [String]
3289
+ attr_accessor :management
3290
+
3291
+ def initialize(**args)
3292
+ update!(**args)
3293
+ end
3294
+
3295
+ # Update properties of this object
3296
+ def update!(**args)
3297
+ @exempted_namespaces = args[:exempted_namespaces] if args.key?(:exempted_namespaces)
3298
+ @management = args[:management] if args.key?(:management)
3299
+ end
3300
+ end
3301
+
3276
3302
  # Configuration for Policy Controller
3277
3303
  class PolicyControllerHubConfig
3278
3304
  include Google::Apis::Core::Hashable
@@ -3316,6 +3342,12 @@ module Google
3316
3342
  attr_accessor :mutation_enabled
3317
3343
  alias_method :mutation_enabled?, :mutation_enabled
3318
3344
 
3345
+ # PolicyContentSpec defines the user's desired content configuration on the
3346
+ # cluster.
3347
+ # Corresponds to the JSON property `policyContent`
3348
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec]
3349
+ attr_accessor :policy_content
3350
+
3319
3351
  # Enables the ability to use Constraint Templates that reference to objects
3320
3352
  # other than the object currently being evaluated.
3321
3353
  # Corresponds to the JSON property `referentialRulesEnabled`
@@ -3340,6 +3372,7 @@ module Google
3340
3372
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
3341
3373
  @monitoring = args[:monitoring] if args.key?(:monitoring)
3342
3374
  @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
3375
+ @policy_content = args[:policy_content] if args.key?(:policy_content)
3343
3376
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
3344
3377
  @template_library_config = args[:template_library_config] if args.key?(:template_library_config)
3345
3378
  end
@@ -3376,11 +3409,17 @@ module Google
3376
3409
  include Google::Apis::Core::Hashable
3377
3410
 
3378
3411
  # Currently these include (also serving as map keys): 1. "admission" 2. "audit"
3379
- # 3. "mutation" 4. "constraint template library"
3412
+ # 3. "mutation"
3380
3413
  # Corresponds to the JSON property `componentStates`
3381
3414
  # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
3382
3415
  attr_accessor :component_states
3383
3416
 
3417
+ # The state of the template library and any bundles included in the chosen
3418
+ # version of the manifest
3419
+ # Corresponds to the JSON property `contentStates`
3420
+ # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
3421
+ attr_accessor :content_states
3422
+
3384
3423
  # The overall Policy Controller lifecycle state observed by the Hub Feature
3385
3424
  # controller.
3386
3425
  # Corresponds to the JSON property `state`
@@ -3394,6 +3433,7 @@ module Google
3394
3433
  # Update properties of this object
3395
3434
  def update!(**args)
3396
3435
  @component_states = args[:component_states] if args.key?(:component_states)
3436
+ @content_states = args[:content_states] if args.key?(:content_states)
3397
3437
  @state = args[:state] if args.key?(:state)
3398
3438
  end
3399
3439
  end
@@ -3445,6 +3485,28 @@ module Google
3445
3485
  end
3446
3486
  end
3447
3487
 
3488
+ # PolicyContentSpec defines the user's desired content configuration on the
3489
+ # cluster.
3490
+ class PolicyControllerPolicyContentSpec
3491
+ include Google::Apis::Core::Hashable
3492
+
3493
+ # map of bundle name to BundleInstallSpec. The bundle name maps to the `
3494
+ # bundleName` key in the `policycontroller.gke.io/constraintData` annotation on
3495
+ # a constraint.
3496
+ # Corresponds to the JSON property `bundles`
3497
+ # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerBundleInstallSpec>]
3498
+ attr_accessor :bundles
3499
+
3500
+ def initialize(**args)
3501
+ update!(**args)
3502
+ end
3503
+
3504
+ # Update properties of this object
3505
+ def update!(**args)
3506
+ @bundles = args[:bundles] if args.key?(:bundles)
3507
+ end
3508
+ end
3509
+
3448
3510
  # The config specifying which default library templates to install.
3449
3511
  class PolicyControllerTemplateLibraryConfig
3450
3512
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1alpha
18
18
  # Version of the google-apis-gkehub_v1alpha gem
19
- GEM_VERSION = "0.42.0"
19
+ GEM_VERSION = "0.43.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
@@ -532,6 +532,12 @@ module Google
532
532
  include Google::Apis::Core::JsonObjectSupport
533
533
  end
534
534
 
535
+ class PolicyControllerBundleInstallSpec
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
535
541
  class PolicyControllerHubConfig
536
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
543
 
@@ -562,6 +568,12 @@ module Google
562
568
  include Google::Apis::Core::JsonObjectSupport
563
569
  end
564
570
 
571
+ class PolicyControllerPolicyContentSpec
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
565
577
  class PolicyControllerTemplateLibraryConfig
566
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
579
 
@@ -1586,6 +1598,14 @@ module Google
1586
1598
  end
1587
1599
  end
1588
1600
 
1601
+ class PolicyControllerBundleInstallSpec
1602
+ # @private
1603
+ class Representation < Google::Apis::Core::JsonRepresentation
1604
+ collection :exempted_namespaces, as: 'exemptedNamespaces'
1605
+ property :management, as: 'management'
1606
+ end
1607
+ end
1608
+
1589
1609
  class PolicyControllerHubConfig
1590
1610
  # @private
1591
1611
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1596,6 +1616,8 @@ module Google
1596
1616
  property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1alpha::PolicyControllerMonitoringConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMonitoringConfig::Representation
1597
1617
 
1598
1618
  property :mutation_enabled, as: 'mutationEnabled'
1619
+ property :policy_content, as: 'policyContent', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec::Representation
1620
+
1599
1621
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
1600
1622
  property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig::Representation
1601
1623
 
@@ -1616,6 +1638,8 @@ module Google
1616
1638
  class Representation < Google::Apis::Core::JsonRepresentation
1617
1639
  hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
1618
1640
 
1641
+ hash :content_states, as: 'contentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
1642
+
1619
1643
  property :state, as: 'state'
1620
1644
  end
1621
1645
  end
@@ -1635,6 +1659,14 @@ module Google
1635
1659
  end
1636
1660
  end
1637
1661
 
1662
+ class PolicyControllerPolicyContentSpec
1663
+ # @private
1664
+ class Representation < Google::Apis::Core::JsonRepresentation
1665
+ hash :bundles, as: 'bundles', class: Google::Apis::GkehubV1alpha::PolicyControllerBundleInstallSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerBundleInstallSpec::Representation
1666
+
1667
+ end
1668
+ end
1669
+
1638
1670
  class PolicyControllerTemplateLibraryConfig
1639
1671
  # @private
1640
1672
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.42.0
4
+ version: 0.43.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-12-12 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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.42.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.43.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
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 V1alpha