google-apis-gkehub_v1alpha 0.44.0 → 0.46.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: 9a46f1fa11c561d4eeb050f95198212d2feed3d704ebb36e5adcf5074bd63172
4
+ data.tar.gz: cf26d2ee29d0f3e961e0a8c8c51e24f07b8fa30da38739e133d0fcd00a3b2d16
5
5
  SHA512:
6
- metadata.gz: b677c774501ece3514f0008e8348b16a768c37dd6d14339ca1e32c725392986ea8505975837b2d6a611865a60691ad42cf776957051d183a5c7ca973cc003ec5
7
- data.tar.gz: eaa62a94d6279d26a0e33429ddffbd15378dcbc73709a8c217b2626ce432e2d3beb88f48b04f94161ed2b63fe74a39f6c1996153272edcc451a8ebf885bbcd5f
6
+ metadata.gz: fe6f9a68e3cbdb79ffecd657c5dbd347eac06f357333ae23932fc4655865a64c373bc1b3669220b5b17651342f77274178faa91b456fa2b655626d10a629d730
7
+ data.tar.gz: 37e8341b80cdcb633b8ab46fe1cccc7046a0773881d3d19c5728a5f2987ef06d18bd07042f00ba4a48c71579985a977f6a223dc291f853aecdb2b0c64a285954
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.46.0 (2023-02-12)
4
+
5
+ * Regenerated from discovery document revision 20230206
6
+
7
+ ### v0.45.0 (2023-02-05)
8
+
9
+ * Regenerated from discovery document revision 20230129
10
+
3
11
  ### v0.44.0 (2023-01-29)
4
12
 
5
13
  * 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
@@ -2738,6 +2763,13 @@ module Google
2738
2763
  # @return [Google::Apis::GkehubV1alpha::GkeCluster]
2739
2764
  attr_accessor :gke_cluster
2740
2765
 
2766
+ # Output only. Whether the lifecycle of this membership is managed by a google
2767
+ # cluster platform service.
2768
+ # Corresponds to the JSON property `googleManaged`
2769
+ # @return [Boolean]
2770
+ attr_accessor :google_managed
2771
+ alias_method :google_managed?, :google_managed
2772
+
2741
2773
  # KubernetesMetadata provides informational metadata for Memberships
2742
2774
  # representing Kubernetes clusters.
2743
2775
  # Corresponds to the JSON property `kubernetesMetadata`
@@ -2770,6 +2802,7 @@ module Google
2770
2802
  @appliance_cluster = args[:appliance_cluster] if args.key?(:appliance_cluster)
2771
2803
  @edge_cluster = args[:edge_cluster] if args.key?(:edge_cluster)
2772
2804
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
2805
+ @google_managed = args[:google_managed] if args.key?(:google_managed)
2773
2806
  @kubernetes_metadata = args[:kubernetes_metadata] if args.key?(:kubernetes_metadata)
2774
2807
  @kubernetes_resource = args[:kubernetes_resource] if args.key?(:kubernetes_resource)
2775
2808
  @multi_cloud_cluster = args[:multi_cloud_cluster] if args.key?(:multi_cloud_cluster)
@@ -3336,6 +3369,17 @@ module Google
3336
3369
  # @return [Fixnum]
3337
3370
  attr_accessor :audit_interval_seconds
3338
3371
 
3372
+ # The maximum number of audit violations to be stored in a constraint. If not
3373
+ # set, the internal default (currently 20) will be used.
3374
+ # Corresponds to the JSON property `constraintViolationLimit`
3375
+ # @return [Fixnum]
3376
+ attr_accessor :constraint_violation_limit
3377
+
3378
+ # Map of deployment configs to deployments (“admission”, “audit”, “mutation”).
3379
+ # Corresponds to the JSON property `deploymentConfigs`
3380
+ # @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerDeploymentConfig>]
3381
+ attr_accessor :deployment_configs
3382
+
3339
3383
  # The set of namespaces that are excluded from Policy Controller checks.
3340
3384
  # Namespaces do not need to currently exist on the cluster.
3341
3385
  # Corresponds to the JSON property `exemptableNamespaces`
@@ -3394,6 +3438,8 @@ module Google
3394
3438
  # Update properties of this object
3395
3439
  def update!(**args)
3396
3440
  @audit_interval_seconds = args[:audit_interval_seconds] if args.key?(:audit_interval_seconds)
3441
+ @constraint_violation_limit = args[:constraint_violation_limit] if args.key?(:constraint_violation_limit)
3442
+ @deployment_configs = args[:deployment_configs] if args.key?(:deployment_configs)
3397
3443
  @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
3398
3444
  @install_spec = args[:install_spec] if args.key?(:install_spec)
3399
3445
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
@@ -3534,6 +3580,88 @@ module Google
3534
3580
  end
3535
3581
  end
3536
3582
 
3583
+ # Deployment-specific configuration.
3584
+ class PolicyControllerPolicyControllerDeploymentConfig
3585
+ include Google::Apis::Core::Hashable
3586
+
3587
+ # ResourceRequirements describes the compute resource requirements.
3588
+ # Corresponds to the JSON property `containerResources`
3589
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerResourceRequirements]
3590
+ attr_accessor :container_resources
3591
+
3592
+ # Pod anti-affinity enablement.
3593
+ # Corresponds to the JSON property `podAntiAffinity`
3594
+ # @return [Boolean]
3595
+ attr_accessor :pod_anti_affinity
3596
+ alias_method :pod_anti_affinity?, :pod_anti_affinity
3597
+
3598
+ # Pod replica count.
3599
+ # Corresponds to the JSON property `replicaCount`
3600
+ # @return [Fixnum]
3601
+ attr_accessor :replica_count
3602
+
3603
+ def initialize(**args)
3604
+ update!(**args)
3605
+ end
3606
+
3607
+ # Update properties of this object
3608
+ def update!(**args)
3609
+ @container_resources = args[:container_resources] if args.key?(:container_resources)
3610
+ @pod_anti_affinity = args[:pod_anti_affinity] if args.key?(:pod_anti_affinity)
3611
+ @replica_count = args[:replica_count] if args.key?(:replica_count)
3612
+ end
3613
+ end
3614
+
3615
+ # ResourceList contains container resource requirements.
3616
+ class PolicyControllerResourceList
3617
+ include Google::Apis::Core::Hashable
3618
+
3619
+ # CPU requirement expressed in Kubernetes resource units.
3620
+ # Corresponds to the JSON property `cpu`
3621
+ # @return [String]
3622
+ attr_accessor :cpu
3623
+
3624
+ # Memory requirement expressed in Kubernetes resource units.
3625
+ # Corresponds to the JSON property `memory`
3626
+ # @return [String]
3627
+ attr_accessor :memory
3628
+
3629
+ def initialize(**args)
3630
+ update!(**args)
3631
+ end
3632
+
3633
+ # Update properties of this object
3634
+ def update!(**args)
3635
+ @cpu = args[:cpu] if args.key?(:cpu)
3636
+ @memory = args[:memory] if args.key?(:memory)
3637
+ end
3638
+ end
3639
+
3640
+ # ResourceRequirements describes the compute resource requirements.
3641
+ class PolicyControllerResourceRequirements
3642
+ include Google::Apis::Core::Hashable
3643
+
3644
+ # ResourceList contains container resource requirements.
3645
+ # Corresponds to the JSON property `limits`
3646
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerResourceList]
3647
+ attr_accessor :limits
3648
+
3649
+ # ResourceList contains container resource requirements.
3650
+ # Corresponds to the JSON property `requests`
3651
+ # @return [Google::Apis::GkehubV1alpha::PolicyControllerResourceList]
3652
+ attr_accessor :requests
3653
+
3654
+ def initialize(**args)
3655
+ update!(**args)
3656
+ end
3657
+
3658
+ # Update properties of this object
3659
+ def update!(**args)
3660
+ @limits = args[:limits] if args.key?(:limits)
3661
+ @requests = args[:requests] if args.key?(:requests)
3662
+ end
3663
+ end
3664
+
3537
3665
  # The config specifying which default library templates to install.
3538
3666
  class PolicyControllerTemplateLibraryConfig
3539
3667
  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.46.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 = "20230206"
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
@@ -1473,6 +1506,7 @@ module Google
1473
1506
 
1474
1507
  property :gke_cluster, as: 'gkeCluster', class: Google::Apis::GkehubV1alpha::GkeCluster, decorator: Google::Apis::GkehubV1alpha::GkeCluster::Representation
1475
1508
 
1509
+ property :google_managed, as: 'googleManaged'
1476
1510
  property :kubernetes_metadata, as: 'kubernetesMetadata', class: Google::Apis::GkehubV1alpha::KubernetesMetadata, decorator: Google::Apis::GkehubV1alpha::KubernetesMetadata::Representation
1477
1511
 
1478
1512
  property :kubernetes_resource, as: 'kubernetesResource', class: Google::Apis::GkehubV1alpha::KubernetesResource, decorator: Google::Apis::GkehubV1alpha::KubernetesResource::Representation
@@ -1626,6 +1660,9 @@ module Google
1626
1660
  # @private
1627
1661
  class Representation < Google::Apis::Core::JsonRepresentation
1628
1662
  property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
1663
+ property :constraint_violation_limit, :numeric_string => true, as: 'constraintViolationLimit'
1664
+ hash :deployment_configs, as: 'deploymentConfigs', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerDeploymentConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyControllerDeploymentConfig::Representation
1665
+
1629
1666
  collection :exemptable_namespaces, as: 'exemptableNamespaces'
1630
1667
  property :install_spec, as: 'installSpec'
1631
1668
  property :log_denies_enabled, as: 'logDeniesEnabled'
@@ -1683,6 +1720,34 @@ module Google
1683
1720
  end
1684
1721
  end
1685
1722
 
1723
+ class PolicyControllerPolicyControllerDeploymentConfig
1724
+ # @private
1725
+ class Representation < Google::Apis::Core::JsonRepresentation
1726
+ property :container_resources, as: 'containerResources', class: Google::Apis::GkehubV1alpha::PolicyControllerResourceRequirements, decorator: Google::Apis::GkehubV1alpha::PolicyControllerResourceRequirements::Representation
1727
+
1728
+ property :pod_anti_affinity, as: 'podAntiAffinity'
1729
+ property :replica_count, :numeric_string => true, as: 'replicaCount'
1730
+ end
1731
+ end
1732
+
1733
+ class PolicyControllerResourceList
1734
+ # @private
1735
+ class Representation < Google::Apis::Core::JsonRepresentation
1736
+ property :cpu, as: 'cpu'
1737
+ property :memory, as: 'memory'
1738
+ end
1739
+ end
1740
+
1741
+ class PolicyControllerResourceRequirements
1742
+ # @private
1743
+ class Representation < Google::Apis::Core::JsonRepresentation
1744
+ property :limits, as: 'limits', class: Google::Apis::GkehubV1alpha::PolicyControllerResourceList, decorator: Google::Apis::GkehubV1alpha::PolicyControllerResourceList::Representation
1745
+
1746
+ property :requests, as: 'requests', class: Google::Apis::GkehubV1alpha::PolicyControllerResourceList, decorator: Google::Apis::GkehubV1alpha::PolicyControllerResourceList::Representation
1747
+
1748
+ end
1749
+ end
1750
+
1686
1751
  class PolicyControllerTemplateLibraryConfig
1687
1752
  # @private
1688
1753
  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.46.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-12 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.46.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: []