google-apis-gkehub_v1alpha 0.41.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: 775e150dce62acf47ddaef32531b240e3c4700ac3bfa07bf673d4e4367ea521c
4
- data.tar.gz: 888cc7489a35f184864d0dcce829cf386ae66e398dd06bef7565d88f90529954
3
+ metadata.gz: 9d82a6ea13ff72b88566ad78f9805d73a06c0bb61cbd07fa7ac0566e9f15d2f7
4
+ data.tar.gz: b4d26407d2968ce48d9564f8eeb8746961253c7ada8c37e66cd9f13677d23933
5
5
  SHA512:
6
- metadata.gz: 80bba1e6ef121859a64297fce63506df52bbaa15ffe75bbb25b165a70c95e88e01cfff2b5cfb01c14d3b78f69a6e28c84e9e38f09a234bb1e26663252f9e378d
7
- data.tar.gz: 733a8e8d64abe36c311305987de7fabe0ff1bb3c995670bed8fd2adc6853280a44311fc3f9dcbfac6487c1d5b1a5fb55e5fd70d03468e32250b150805f004a40
6
+ metadata.gz: 199186abbdc03b424f8d4349c8004b155c3e16fc21911ff3db77068ef37a33362b899caed92bb7820b41c511ad265f108dc9af4f09b81d5fa4dec80998d95b46
7
+ data.tar.gz: 62cee8fad391d2cf21350039e1b02de9c7be83169decd5d1e96d906c82d7ac2e837a21ab1f9ba7d05226daeff69c5a1fa380196f246e7f0da58c2a9b743529c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.42.0 (2022-12-09)
9
+
10
+ * Regenerated from discovery document revision 20221207
11
+
3
12
  ### v0.41.0 (2022-11-06)
4
13
 
5
14
  * Regenerated from discovery document revision 20221031
@@ -552,7 +552,7 @@ module Google
552
552
  include Google::Apis::Core::Hashable
553
553
 
554
554
  # Set to true to allow the vertical scaling. Defaults to false which disallows
555
- # vertical scaling.
555
+ # vertical scaling. This field is deprecated.
556
556
  # Corresponds to the JSON property `allowVerticalScale`
557
557
  # @return [Boolean]
558
558
  attr_accessor :allow_vertical_scale
@@ -2771,6 +2771,12 @@ module Google
2771
2771
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec]
2772
2772
  attr_accessor :configmanagement
2773
2773
 
2774
+ # True if value of `feature_spec` was inherited from a fleet-level default.
2775
+ # Corresponds to the JSON property `fleetInherited`
2776
+ # @return [Boolean]
2777
+ attr_accessor :fleet_inherited
2778
+ alias_method :fleet_inherited?, :fleet_inherited
2779
+
2774
2780
  # **FleetObservability**: The membership-specific input for FleetObservability
2775
2781
  # feature.
2776
2782
  # Corresponds to the JSON property `fleetobservability`
@@ -2808,6 +2814,7 @@ module Google
2808
2814
  @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
2809
2815
  @cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
2810
2816
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
2817
+ @fleet_inherited = args[:fleet_inherited] if args.key?(:fleet_inherited)
2811
2818
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
2812
2819
  @identityservice = args[:identityservice] if args.key?(:identityservice)
2813
2820
  @mesh = args[:mesh] if args.key?(:mesh)
@@ -3266,6 +3273,32 @@ module Google
3266
3273
  end
3267
3274
  end
3268
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
+
3269
3302
  # Configuration for Policy Controller
3270
3303
  class PolicyControllerHubConfig
3271
3304
  include Google::Apis::Core::Hashable
@@ -3309,6 +3342,12 @@ module Google
3309
3342
  attr_accessor :mutation_enabled
3310
3343
  alias_method :mutation_enabled?, :mutation_enabled
3311
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
+
3312
3351
  # Enables the ability to use Constraint Templates that reference to objects
3313
3352
  # other than the object currently being evaluated.
3314
3353
  # Corresponds to the JSON property `referentialRulesEnabled`
@@ -3333,6 +3372,7 @@ module Google
3333
3372
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
3334
3373
  @monitoring = args[:monitoring] if args.key?(:monitoring)
3335
3374
  @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
3375
+ @policy_content = args[:policy_content] if args.key?(:policy_content)
3336
3376
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
3337
3377
  @template_library_config = args[:template_library_config] if args.key?(:template_library_config)
3338
3378
  end
@@ -3369,11 +3409,17 @@ module Google
3369
3409
  include Google::Apis::Core::Hashable
3370
3410
 
3371
3411
  # Currently these include (also serving as map keys): 1. "admission" 2. "audit"
3372
- # 3. "mutation" 4. "constraint template library"
3412
+ # 3. "mutation"
3373
3413
  # Corresponds to the JSON property `componentStates`
3374
3414
  # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
3375
3415
  attr_accessor :component_states
3376
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
+
3377
3423
  # The overall Policy Controller lifecycle state observed by the Hub Feature
3378
3424
  # controller.
3379
3425
  # Corresponds to the JSON property `state`
@@ -3387,6 +3433,7 @@ module Google
3387
3433
  # Update properties of this object
3388
3434
  def update!(**args)
3389
3435
  @component_states = args[:component_states] if args.key?(:component_states)
3436
+ @content_states = args[:content_states] if args.key?(:content_states)
3390
3437
  @state = args[:state] if args.key?(:state)
3391
3438
  end
3392
3439
  end
@@ -3438,6 +3485,28 @@ module Google
3438
3485
  end
3439
3486
  end
3440
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
+
3441
3510
  # The config specifying which default library templates to install.
3442
3511
  class PolicyControllerTemplateLibraryConfig
3443
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.41.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 = "20221031"
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
 
@@ -1465,6 +1477,7 @@ module Google
1465
1477
 
1466
1478
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec::Representation
1467
1479
 
1480
+ property :fleet_inherited, as: 'fleetInherited'
1468
1481
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1alpha::FleetObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityMembershipSpec::Representation
1469
1482
 
1470
1483
  property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
@@ -1585,6 +1598,14 @@ module Google
1585
1598
  end
1586
1599
  end
1587
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
+
1588
1609
  class PolicyControllerHubConfig
1589
1610
  # @private
1590
1611
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1595,6 +1616,8 @@ module Google
1595
1616
  property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1alpha::PolicyControllerMonitoringConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMonitoringConfig::Representation
1596
1617
 
1597
1618
  property :mutation_enabled, as: 'mutationEnabled'
1619
+ property :policy_content, as: 'policyContent', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec::Representation
1620
+
1598
1621
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
1599
1622
  property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig::Representation
1600
1623
 
@@ -1615,6 +1638,8 @@ module Google
1615
1638
  class Representation < Google::Apis::Core::JsonRepresentation
1616
1639
  hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
1617
1640
 
1641
+ hash :content_states, as: 'contentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
1642
+
1618
1643
  property :state, as: 'state'
1619
1644
  end
1620
1645
  end
@@ -1634,6 +1659,14 @@ module Google
1634
1659
  end
1635
1660
  end
1636
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
+
1637
1670
  class PolicyControllerTemplateLibraryConfig
1638
1671
  # @private
1639
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.41.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-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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.41.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