google-apis-gkehub_v1alpha 0.44.0 → 0.45.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: 538ec0d5a321418e27f6cc7e585dda2e1fc0e200654322ecf05312d6a2cbb15a
4
- data.tar.gz: a97f118f225f2854747b6f5858c008a4b1b4c07264e1927cc7972691c2159cfa
3
+ metadata.gz: 4cd86618b35aedce665a8e6cfc73badabb3111dd5a77f2c4d2ba06cfefa9307a
4
+ data.tar.gz: 4d93f922b584facbc19ebe9ba38cd81539f72c6b822811b267a60e8cb3ee63d4
5
5
  SHA512:
6
- metadata.gz: b677c774501ece3514f0008e8348b16a768c37dd6d14339ca1e32c725392986ea8505975837b2d6a611865a60691ad42cf776957051d183a5c7ca973cc003ec5
7
- data.tar.gz: eaa62a94d6279d26a0e33429ddffbd15378dcbc73709a8c217b2626ce432e2d3beb88f48b04f94161ed2b63fe74a39f6c1996153272edcc451a8ebf885bbcd5f
6
+ metadata.gz: 7e3fa358d81560978cb41d94c8b3dd0f8ce0b999d741a56fa9999b18a5ccfff1b1aeb99cc4cf8fad8be206c5f8a830969e6db930e02a614aa1f1b7a342e982fc
7
+ data.tar.gz: 0a9702c44a0e2b9c906a1323d23a5171727fd9e6382c0e05761943c76c3213946ccf3cfd702330a7880ccca99cf2dcb9ed9c846bff5bf742f923db8f2883e31f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.45.0 (2023-02-05)
4
+
5
+ * Regenerated from discovery document revision 20230129
6
+
3
7
  ### v0.44.0 (2023-01-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20230119
@@ -292,22 +292,22 @@ module Google
292
292
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
293
293
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
294
294
  # email address that represents a Google group. For example, `admins@example.com`
295
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
296
- # identifier) representing a user that has been recently deleted. For example, `
297
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
298
- # value reverts to `user:`emailid`` and the recovered user retains the role in
299
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
300
- # address (plus unique identifier) representing a service account that has been
301
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
295
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
296
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
297
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
298
+ # representing a user that has been recently deleted. For example, `alice@
299
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
300
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
301
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
302
+ # (plus unique identifier) representing a service account that has been recently
303
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
302
304
  # 123456789012345678901`. If the service account is undeleted, this value
303
305
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
304
306
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
305
307
  # An email address (plus unique identifier) representing a Google group that has
306
308
  # been recently deleted. For example, `admins@example.com?uid=
307
309
  # 123456789012345678901`. If the group is recovered, this value reverts to `
308
- # group:`emailid`` and the recovered group retains the role in the binding. * `
309
- # domain:`domain``: The G Suite domain (primary) that represents all the users
310
- # of that domain. For example, `google.com` or `example.com`.
310
+ # group:`emailid`` and the recovered group retains the role in the binding.
311
311
  # Corresponds to the JSON property `members`
312
312
  # @return [Array<String>]
313
313
  attr_accessor :members
@@ -1313,6 +1313,25 @@ module Google
1313
1313
  end
1314
1314
  end
1315
1315
 
1316
+ # State for the migration of PolicyController from ACM -> PoCo Hub.
1317
+ class ConfigManagementPolicyControllerMigration
1318
+ include Google::Apis::Core::Hashable
1319
+
1320
+ # Stage of the migration.
1321
+ # Corresponds to the JSON property `stage`
1322
+ # @return [String]
1323
+ attr_accessor :stage
1324
+
1325
+ def initialize(**args)
1326
+ update!(**args)
1327
+ end
1328
+
1329
+ # Update properties of this object
1330
+ def update!(**args)
1331
+ @stage = args[:stage] if args.key?(:stage)
1332
+ end
1333
+ end
1334
+
1316
1335
  # PolicyControllerMonitoring specifies the backends Policy Controller should
1317
1336
  # export metrics to. For example, to specify metrics should be exported to Cloud
1318
1337
  # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
@@ -1344,6 +1363,11 @@ module Google
1344
1363
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementGatekeeperDeploymentState]
1345
1364
  attr_accessor :deployment_state
1346
1365
 
1366
+ # State for the migration of PolicyController from ACM -> PoCo Hub.
1367
+ # Corresponds to the JSON property `migration`
1368
+ # @return [Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerMigration]
1369
+ attr_accessor :migration
1370
+
1347
1371
  # The build version of Gatekeeper Policy Controller is using.
1348
1372
  # Corresponds to the JSON property `version`
1349
1373
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerVersion]
@@ -1356,6 +1380,7 @@ module Google
1356
1380
  # Update properties of this object
1357
1381
  def update!(**args)
1358
1382
  @deployment_state = args[:deployment_state] if args.key?(:deployment_state)
1383
+ @migration = args[:migration] if args.key?(:migration)
1359
1384
  @version = args[:version] if args.key?(:version)
1360
1385
  end
1361
1386
  end
@@ -3336,6 +3361,17 @@ module Google
3336
3361
  # @return [Fixnum]
3337
3362
  attr_accessor :audit_interval_seconds
3338
3363
 
3364
+ # The maximum number of audit violations to be stored in a constraint. If not
3365
+ # set, the internal default (currently 20) will be used.
3366
+ # Corresponds to the JSON property `constraintViolationLimit`
3367
+ # @return [Fixnum]
3368
+ attr_accessor :constraint_violation_limit
3369
+
3370
+ # Map of deployment configs to deployments (“admission”, “audit”, “mutation”).
3371
+ # Corresponds to the JSON property `deploymentConfigs`
3372
+ # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerDeploymentConfig>]
3373
+ attr_accessor :deployment_configs
3374
+
3339
3375
  # The set of namespaces that are excluded from Policy Controller checks.
3340
3376
  # Namespaces do not need to currently exist on the cluster.
3341
3377
  # Corresponds to the JSON property `exemptableNamespaces`
@@ -3394,6 +3430,8 @@ module Google
3394
3430
  # Update properties of this object
3395
3431
  def update!(**args)
3396
3432
  @audit_interval_seconds = args[:audit_interval_seconds] if args.key?(:audit_interval_seconds)
3433
+ @constraint_violation_limit = args[:constraint_violation_limit] if args.key?(:constraint_violation_limit)
3434
+ @deployment_configs = args[:deployment_configs] if args.key?(:deployment_configs)
3397
3435
  @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
3398
3436
  @install_spec = args[:install_spec] if args.key?(:install_spec)
3399
3437
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
@@ -3534,6 +3572,88 @@ module Google
3534
3572
  end
3535
3573
  end
3536
3574
 
3575
+ # Deployment-specific configuration.
3576
+ class PolicyControllerPolicyControllerDeploymentConfig
3577
+ include Google::Apis::Core::Hashable
3578
+
3579
+ # ResourceRequirements describes the compute resource requirements.
3580
+ # Corresponds to the JSON property `containerResources`
3581
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerResourceRequirements]
3582
+ attr_accessor :container_resources
3583
+
3584
+ # Pod anti-affinity enablement.
3585
+ # Corresponds to the JSON property `podAntiAffinity`
3586
+ # @return [Boolean]
3587
+ attr_accessor :pod_anti_affinity
3588
+ alias_method :pod_anti_affinity?, :pod_anti_affinity
3589
+
3590
+ # Pod replica count.
3591
+ # Corresponds to the JSON property `replicaCount`
3592
+ # @return [Fixnum]
3593
+ attr_accessor :replica_count
3594
+
3595
+ def initialize(**args)
3596
+ update!(**args)
3597
+ end
3598
+
3599
+ # Update properties of this object
3600
+ def update!(**args)
3601
+ @container_resources = args[:container_resources] if args.key?(:container_resources)
3602
+ @pod_anti_affinity = args[:pod_anti_affinity] if args.key?(:pod_anti_affinity)
3603
+ @replica_count = args[:replica_count] if args.key?(:replica_count)
3604
+ end
3605
+ end
3606
+
3607
+ # ResourceList contains container resource requirements.
3608
+ class PolicyControllerResourceList
3609
+ include Google::Apis::Core::Hashable
3610
+
3611
+ # CPU requirement expressed in Kubernetes resource units.
3612
+ # Corresponds to the JSON property `cpu`
3613
+ # @return [String]
3614
+ attr_accessor :cpu
3615
+
3616
+ # Memory requirement expressed in Kubernetes resource units.
3617
+ # Corresponds to the JSON property `memory`
3618
+ # @return [String]
3619
+ attr_accessor :memory
3620
+
3621
+ def initialize(**args)
3622
+ update!(**args)
3623
+ end
3624
+
3625
+ # Update properties of this object
3626
+ def update!(**args)
3627
+ @cpu = args[:cpu] if args.key?(:cpu)
3628
+ @memory = args[:memory] if args.key?(:memory)
3629
+ end
3630
+ end
3631
+
3632
+ # ResourceRequirements describes the compute resource requirements.
3633
+ class PolicyControllerResourceRequirements
3634
+ include Google::Apis::Core::Hashable
3635
+
3636
+ # ResourceList contains container resource requirements.
3637
+ # Corresponds to the JSON property `limits`
3638
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerResourceList]
3639
+ attr_accessor :limits
3640
+
3641
+ # ResourceList contains container resource requirements.
3642
+ # Corresponds to the JSON property `requests`
3643
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerResourceList]
3644
+ attr_accessor :requests
3645
+
3646
+ def initialize(**args)
3647
+ update!(**args)
3648
+ end
3649
+
3650
+ # Update properties of this object
3651
+ def update!(**args)
3652
+ @limits = args[:limits] if args.key?(:limits)
3653
+ @requests = args[:requests] if args.key?(:requests)
3654
+ end
3655
+ end
3656
+
3537
3657
  # The config specifying which default library templates to install.
3538
3658
  class PolicyControllerTemplateLibraryConfig
3539
3659
  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.44.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230119"
25
+ REVISION = "20230129"
26
26
  end
27
27
  end
28
28
  end
@@ -238,6 +238,12 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class ConfigManagementPolicyControllerMigration
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
241
247
  class ConfigManagementPolicyControllerMonitoring
242
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
249
 
@@ -580,6 +586,24 @@ module Google
580
586
  include Google::Apis::Core::JsonObjectSupport
581
587
  end
582
588
 
589
+ class PolicyControllerPolicyControllerDeploymentConfig
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
595
+ class PolicyControllerResourceList
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class PolicyControllerResourceRequirements
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
583
607
  class PolicyControllerTemplateLibraryConfig
584
608
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
609
 
@@ -1078,6 +1102,13 @@ module Google
1078
1102
  end
1079
1103
  end
1080
1104
 
1105
+ class ConfigManagementPolicyControllerMigration
1106
+ # @private
1107
+ class Representation < Google::Apis::Core::JsonRepresentation
1108
+ property :stage, as: 'stage'
1109
+ end
1110
+ end
1111
+
1081
1112
  class ConfigManagementPolicyControllerMonitoring
1082
1113
  # @private
1083
1114
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1090,6 +1121,8 @@ module Google
1090
1121
  class Representation < Google::Apis::Core::JsonRepresentation
1091
1122
  property :deployment_state, as: 'deploymentState', class: Google::Apis::GkehubV1alpha::ConfigManagementGatekeeperDeploymentState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGatekeeperDeploymentState::Representation
1092
1123
 
1124
+ property :migration, as: 'migration', class: Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerMigration, decorator: Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerMigration::Representation
1125
+
1093
1126
  property :version, as: 'version', class: Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerVersion, decorator: Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerVersion::Representation
1094
1127
 
1095
1128
  end
@@ -1626,6 +1659,9 @@ module Google
1626
1659
  # @private
1627
1660
  class Representation < Google::Apis::Core::JsonRepresentation
1628
1661
  property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
1662
+ property :constraint_violation_limit, :numeric_string => true, as: 'constraintViolationLimit'
1663
+ hash :deployment_configs, as: 'deploymentConfigs', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerDeploymentConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerDeploymentConfig::Representation
1664
+
1629
1665
  collection :exemptable_namespaces, as: 'exemptableNamespaces'
1630
1666
  property :install_spec, as: 'installSpec'
1631
1667
  property :log_denies_enabled, as: 'logDeniesEnabled'
@@ -1683,6 +1719,34 @@ module Google
1683
1719
  end
1684
1720
  end
1685
1721
 
1722
+ class PolicyControllerPolicyControllerDeploymentConfig
1723
+ # @private
1724
+ class Representation < Google::Apis::Core::JsonRepresentation
1725
+ property :container_resources, as: 'containerResources', class: Google::Apis::GkehubV1alpha::PolicyControllerResourceRequirements, decorator: Google::Apis::GkehubV1alpha::PolicyControllerResourceRequirements::Representation
1726
+
1727
+ property :pod_anti_affinity, as: 'podAntiAffinity'
1728
+ property :replica_count, :numeric_string => true, as: 'replicaCount'
1729
+ end
1730
+ end
1731
+
1732
+ class PolicyControllerResourceList
1733
+ # @private
1734
+ class Representation < Google::Apis::Core::JsonRepresentation
1735
+ property :cpu, as: 'cpu'
1736
+ property :memory, as: 'memory'
1737
+ end
1738
+ end
1739
+
1740
+ class PolicyControllerResourceRequirements
1741
+ # @private
1742
+ class Representation < Google::Apis::Core::JsonRepresentation
1743
+ property :limits, as: 'limits', class: Google::Apis::GkehubV1alpha::PolicyControllerResourceList, decorator: Google::Apis::GkehubV1alpha::PolicyControllerResourceList::Representation
1744
+
1745
+ property :requests, as: 'requests', class: Google::Apis::GkehubV1alpha::PolicyControllerResourceList, decorator: Google::Apis::GkehubV1alpha::PolicyControllerResourceList::Representation
1746
+
1747
+ end
1748
+ end
1749
+
1686
1750
  class PolicyControllerTemplateLibraryConfig
1687
1751
  # @private
1688
1752
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -931,7 +931,8 @@ module Google
931
931
  # Lists Memberships in a given project and location.
932
932
  # @param [String] parent
933
933
  # Required. The parent (project and location) where the Memberships will be
934
- # listed. Specified in the format `projects/*/locations/*`.
934
+ # listed. Specified in the format `projects/*/locations/*`. `projects/*/
935
+ # locations/-` list memberships in all the regions.
935
936
  # @param [String] filter
936
937
  # Optional. Lists Memberships that match the filter expression, following the
937
938
  # syntax outlined in https://google.aip.dev/160. Examples: - Name is `bar` in
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.44.0
4
+ version: 0.45.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-29 00:00:00.000000000 Z
11
+ date: 2023-02-05 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.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.45.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: []