google-apis-gkehub_v1alpha 0.42.0 → 0.44.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: 538ec0d5a321418e27f6cc7e585dda2e1fc0e200654322ecf05312d6a2cbb15a
4
+ data.tar.gz: a97f118f225f2854747b6f5858c008a4b1b4c07264e1927cc7972691c2159cfa
5
5
  SHA512:
6
- metadata.gz: ca20a38e27c1cf7a87595f3b3e963cdd0391350694082f744eb473b957b252c3df87e9936d0a447461e0157b7a17678acd46d0bb5cd615d0848994618d77c9c9
7
- data.tar.gz: f21b1ef6112eb2525f92b849d2a8c0cdfc0764ce5d92e13be9f6d483a4e066316b45214c59e1d11e63f0c8bfff80525305952ffbef650135103b1fe5b3234dfc
6
+ metadata.gz: b677c774501ece3514f0008e8348b16a768c37dd6d14339ca1e32c725392986ea8505975837b2d6a611865a60691ad42cf776957051d183a5c7ca973cc003ec5
7
+ data.tar.gz: eaa62a94d6279d26a0e33429ddffbd15378dcbc73709a8c217b2626ce432e2d3beb88f48b04f94161ed2b63fe74a39f6c1996153272edcc451a8ebf885bbcd5f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.44.0 (2023-01-29)
4
+
5
+ * Regenerated from discovery document revision 20230119
6
+
7
+ ### v0.43.0 (2023-01-22)
8
+
9
+ * Regenerated from discovery document revision 20230106
10
+ * Regenerated using generator version 0.11.1
11
+
3
12
  ### v0.42.0 (2022-12-09)
4
13
 
5
14
  * Regenerated from discovery document revision 20221207
@@ -483,6 +483,26 @@ module Google
483
483
  end
484
484
  end
485
485
 
486
+ # CommonFleetDefaultMemberConfigSpec contains default configuration information
487
+ # for memberships of a fleet
488
+ class CommonFleetDefaultMemberConfigSpec
489
+ include Google::Apis::Core::Hashable
490
+
491
+ # **Anthos Identity Service**: Configuration for a single Membership.
492
+ # Corresponds to the JSON property `identityservice`
493
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec]
494
+ attr_accessor :identityservice
495
+
496
+ def initialize(**args)
497
+ update!(**args)
498
+ end
499
+
500
+ # Update properties of this object
501
+ def update!(**args)
502
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
503
+ end
504
+ end
505
+
486
506
  # Configuration for Binauthz
487
507
  class ConfigManagementBinauthzConfig
488
508
  include Google::Apis::Core::Hashable
@@ -1582,6 +1602,12 @@ module Google
1582
1602
  # @return [String]
1583
1603
  attr_accessor :delete_time
1584
1604
 
1605
+ # CommonFleetDefaultMemberConfigSpec contains default configuration information
1606
+ # for memberships of a fleet
1607
+ # Corresponds to the JSON property `fleetDefaultMemberConfig`
1608
+ # @return [Google::Apis::GkehubV1alpha::CommonFleetDefaultMemberConfigSpec]
1609
+ attr_accessor :fleet_default_member_config
1610
+
1585
1611
  # GCP labels for this Feature.
1586
1612
  # Corresponds to the JSON property `labels`
1587
1613
  # @return [Hash<String,String>]
@@ -1671,6 +1697,7 @@ module Google
1671
1697
  def update!(**args)
1672
1698
  @create_time = args[:create_time] if args.key?(:create_time)
1673
1699
  @delete_time = args[:delete_time] if args.key?(:delete_time)
1700
+ @fleet_default_member_config = args[:fleet_default_member_config] if args.key?(:fleet_default_member_config)
1674
1701
  @labels = args[:labels] if args.key?(:labels)
1675
1702
  @membership_specs = args[:membership_specs] if args.key?(:membership_specs)
1676
1703
  @membership_states = args[:membership_states] if args.key?(:membership_states)
@@ -3273,6 +3300,32 @@ module Google
3273
3300
  end
3274
3301
  end
3275
3302
 
3303
+ # BundleInstallSpec is the specification configuration for a single managed
3304
+ # bundle.
3305
+ class PolicyControllerBundleInstallSpec
3306
+ include Google::Apis::Core::Hashable
3307
+
3308
+ # the set of namespaces to be exempted from the bundle
3309
+ # Corresponds to the JSON property `exemptedNamespaces`
3310
+ # @return [Array<String>]
3311
+ attr_accessor :exempted_namespaces
3312
+
3313
+ # Management specifies how the bundle will be managed by the controller.
3314
+ # Corresponds to the JSON property `management`
3315
+ # @return [String]
3316
+ attr_accessor :management
3317
+
3318
+ def initialize(**args)
3319
+ update!(**args)
3320
+ end
3321
+
3322
+ # Update properties of this object
3323
+ def update!(**args)
3324
+ @exempted_namespaces = args[:exempted_namespaces] if args.key?(:exempted_namespaces)
3325
+ @management = args[:management] if args.key?(:management)
3326
+ end
3327
+ end
3328
+
3276
3329
  # Configuration for Policy Controller
3277
3330
  class PolicyControllerHubConfig
3278
3331
  include Google::Apis::Core::Hashable
@@ -3316,6 +3369,12 @@ module Google
3316
3369
  attr_accessor :mutation_enabled
3317
3370
  alias_method :mutation_enabled?, :mutation_enabled
3318
3371
 
3372
+ # PolicyContentSpec defines the user's desired content configuration on the
3373
+ # cluster.
3374
+ # Corresponds to the JSON property `policyContent`
3375
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec]
3376
+ attr_accessor :policy_content
3377
+
3319
3378
  # Enables the ability to use Constraint Templates that reference to objects
3320
3379
  # other than the object currently being evaluated.
3321
3380
  # Corresponds to the JSON property `referentialRulesEnabled`
@@ -3340,6 +3399,7 @@ module Google
3340
3399
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
3341
3400
  @monitoring = args[:monitoring] if args.key?(:monitoring)
3342
3401
  @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
3402
+ @policy_content = args[:policy_content] if args.key?(:policy_content)
3343
3403
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
3344
3404
  @template_library_config = args[:template_library_config] if args.key?(:template_library_config)
3345
3405
  end
@@ -3376,11 +3436,17 @@ module Google
3376
3436
  include Google::Apis::Core::Hashable
3377
3437
 
3378
3438
  # Currently these include (also serving as map keys): 1. "admission" 2. "audit"
3379
- # 3. "mutation" 4. "constraint template library"
3439
+ # 3. "mutation"
3380
3440
  # Corresponds to the JSON property `componentStates`
3381
3441
  # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
3382
3442
  attr_accessor :component_states
3383
3443
 
3444
+ # The state of the template library and any bundles included in the chosen
3445
+ # version of the manifest
3446
+ # Corresponds to the JSON property `contentStates`
3447
+ # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
3448
+ attr_accessor :content_states
3449
+
3384
3450
  # The overall Policy Controller lifecycle state observed by the Hub Feature
3385
3451
  # controller.
3386
3452
  # Corresponds to the JSON property `state`
@@ -3394,6 +3460,7 @@ module Google
3394
3460
  # Update properties of this object
3395
3461
  def update!(**args)
3396
3462
  @component_states = args[:component_states] if args.key?(:component_states)
3463
+ @content_states = args[:content_states] if args.key?(:content_states)
3397
3464
  @state = args[:state] if args.key?(:state)
3398
3465
  end
3399
3466
  end
@@ -3445,6 +3512,28 @@ module Google
3445
3512
  end
3446
3513
  end
3447
3514
 
3515
+ # PolicyContentSpec defines the user's desired content configuration on the
3516
+ # cluster.
3517
+ class PolicyControllerPolicyContentSpec
3518
+ include Google::Apis::Core::Hashable
3519
+
3520
+ # map of bundle name to BundleInstallSpec. The bundle name maps to the `
3521
+ # bundleName` key in the `policycontroller.gke.io/constraintData` annotation on
3522
+ # a constraint.
3523
+ # Corresponds to the JSON property `bundles`
3524
+ # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerBundleInstallSpec>]
3525
+ attr_accessor :bundles
3526
+
3527
+ def initialize(**args)
3528
+ update!(**args)
3529
+ end
3530
+
3531
+ # Update properties of this object
3532
+ def update!(**args)
3533
+ @bundles = args[:bundles] if args.key?(:bundles)
3534
+ end
3535
+ end
3536
+
3448
3537
  # The config specifying which default library templates to install.
3449
3538
  class PolicyControllerTemplateLibraryConfig
3450
3539
  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.44.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
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class CommonFleetDefaultMemberConfigSpec
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class ConfigManagementBinauthzConfig
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -532,6 +538,12 @@ module Google
532
538
  include Google::Apis::Core::JsonObjectSupport
533
539
  end
534
540
 
541
+ class PolicyControllerBundleInstallSpec
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
535
547
  class PolicyControllerHubConfig
536
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
549
 
@@ -562,6 +574,12 @@ module Google
562
574
  include Google::Apis::Core::JsonObjectSupport
563
575
  end
564
576
 
577
+ class PolicyControllerPolicyContentSpec
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
565
583
  class PolicyControllerTemplateLibraryConfig
566
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
585
 
@@ -822,6 +840,14 @@ module Google
822
840
  end
823
841
  end
824
842
 
843
+ class CommonFleetDefaultMemberConfigSpec
844
+ # @private
845
+ class Representation < Google::Apis::Core::JsonRepresentation
846
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
847
+
848
+ end
849
+ end
850
+
825
851
  class ConfigManagementBinauthzConfig
826
852
  # @private
827
853
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1137,6 +1163,8 @@ module Google
1137
1163
  class Representation < Google::Apis::Core::JsonRepresentation
1138
1164
  property :create_time, as: 'createTime'
1139
1165
  property :delete_time, as: 'deleteTime'
1166
+ property :fleet_default_member_config, as: 'fleetDefaultMemberConfig', class: Google::Apis::GkehubV1alpha::CommonFleetDefaultMemberConfigSpec, decorator: Google::Apis::GkehubV1alpha::CommonFleetDefaultMemberConfigSpec::Representation
1167
+
1140
1168
  hash :labels, as: 'labels'
1141
1169
  hash :membership_specs, as: 'membershipSpecs', class: Google::Apis::GkehubV1alpha::MembershipFeatureSpec, decorator: Google::Apis::GkehubV1alpha::MembershipFeatureSpec::Representation
1142
1170
 
@@ -1586,6 +1614,14 @@ module Google
1586
1614
  end
1587
1615
  end
1588
1616
 
1617
+ class PolicyControllerBundleInstallSpec
1618
+ # @private
1619
+ class Representation < Google::Apis::Core::JsonRepresentation
1620
+ collection :exempted_namespaces, as: 'exemptedNamespaces'
1621
+ property :management, as: 'management'
1622
+ end
1623
+ end
1624
+
1589
1625
  class PolicyControllerHubConfig
1590
1626
  # @private
1591
1627
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1596,6 +1632,8 @@ module Google
1596
1632
  property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1alpha::PolicyControllerMonitoringConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMonitoringConfig::Representation
1597
1633
 
1598
1634
  property :mutation_enabled, as: 'mutationEnabled'
1635
+ property :policy_content, as: 'policyContent', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec::Representation
1636
+
1599
1637
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
1600
1638
  property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig::Representation
1601
1639
 
@@ -1616,6 +1654,8 @@ module Google
1616
1654
  class Representation < Google::Apis::Core::JsonRepresentation
1617
1655
  hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
1618
1656
 
1657
+ hash :content_states, as: 'contentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
1658
+
1619
1659
  property :state, as: 'state'
1620
1660
  end
1621
1661
  end
@@ -1635,6 +1675,14 @@ module Google
1635
1675
  end
1636
1676
  end
1637
1677
 
1678
+ class PolicyControllerPolicyContentSpec
1679
+ # @private
1680
+ class Representation < Google::Apis::Core::JsonRepresentation
1681
+ hash :bundles, as: 'bundles', class: Google::Apis::GkehubV1alpha::PolicyControllerBundleInstallSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerBundleInstallSpec::Representation
1682
+
1683
+ end
1684
+ end
1685
+
1638
1686
  class PolicyControllerTemplateLibraryConfig
1639
1687
  # @private
1640
1688
  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.44.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-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_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.44.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