google-apis-gkehub_v1beta 0.38.0 → 0.39.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: 711e1bcf32d9719f3d7586500ef11655a9c339127d07471deaff29b17f384cb8
4
- data.tar.gz: 4703ff3b4158f96deef311c4a937e308cbbcf27e097cf93e0a24f260b19aaf25
3
+ metadata.gz: 417cd97e7c423db755d0a95e0dd178cb7bc0561cb0469e500357fa3f03a2740d
4
+ data.tar.gz: a287346f2de00287c75072ee2c05b265a6a72751d132ed7043ad37478ce7a4a9
5
5
  SHA512:
6
- metadata.gz: 0140d11794323e115ca1cb8870cb0316e3e5777e81f8feeb0c732959e07a0f5a8de7c90c3ad6d5cfd8e6012f79c3544debf0b9ee859b5eccda7d12db258749c9
7
- data.tar.gz: f19da1f37cb121e51434fac1003288bccf963803457d0048367f45352569f0b39e8c35c2ec89dbdfa095323e6687958916ec2843c5fbaef8d2ddb17bd64b7b70
6
+ metadata.gz: b82c5fe84789d9888f064aee98db335afc3795b17d58c5a3871f89b78233656d6b898d0050fde45b93059b80d4a6ea9bbd6e4875129726c6ed1703b93f883f2e
7
+ data.tar.gz: 0c595f4d9620dd45fe229e76c15ceca5052b3942928b1bac468f40a7ba1b389ef94062376084044432abd6a2dfda17069aaf7820ad5b2d99efce62a93fce7761
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.39.0 (2023-02-05)
4
+
5
+ * Regenerated from discovery document revision 20230129
6
+
3
7
  ### v0.38.0 (2023-01-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20230119
@@ -217,22 +217,22 @@ module Google
217
217
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
218
218
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
219
219
  # email address that represents a Google group. For example, `admins@example.com`
220
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
221
- # identifier) representing a user that has been recently deleted. For example, `
222
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
223
- # value reverts to `user:`emailid`` and the recovered user retains the role in
224
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
225
- # address (plus unique identifier) representing a service account that has been
226
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
220
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
221
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
222
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
223
+ # representing a user that has been recently deleted. For example, `alice@
224
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
225
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
226
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
227
+ # (plus unique identifier) representing a service account that has been recently
228
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
227
229
  # 123456789012345678901`. If the service account is undeleted, this value
228
230
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
229
231
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
230
232
  # An email address (plus unique identifier) representing a Google group that has
231
233
  # been recently deleted. For example, `admins@example.com?uid=
232
234
  # 123456789012345678901`. If the group is recovered, this value reverts to `
233
- # group:`emailid`` and the recovered group retains the role in the binding. * `
234
- # domain:`domain``: The G Suite domain (primary) that represents all the users
235
- # of that domain. For example, `google.com` or `example.com`.
235
+ # group:`emailid`` and the recovered group retains the role in the binding.
236
236
  # Corresponds to the JSON property `members`
237
237
  # @return [Array<String>]
238
238
  attr_accessor :members
@@ -1170,6 +1170,25 @@ module Google
1170
1170
  end
1171
1171
  end
1172
1172
 
1173
+ # State for the migration of PolicyController from ACM -> PoCo Hub.
1174
+ class ConfigManagementPolicyControllerMigration
1175
+ include Google::Apis::Core::Hashable
1176
+
1177
+ # Stage of the migration.
1178
+ # Corresponds to the JSON property `stage`
1179
+ # @return [String]
1180
+ attr_accessor :stage
1181
+
1182
+ def initialize(**args)
1183
+ update!(**args)
1184
+ end
1185
+
1186
+ # Update properties of this object
1187
+ def update!(**args)
1188
+ @stage = args[:stage] if args.key?(:stage)
1189
+ end
1190
+ end
1191
+
1173
1192
  # PolicyControllerMonitoring specifies the backends Policy Controller should
1174
1193
  # export metrics to. For example, to specify metrics should be exported to Cloud
1175
1194
  # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
@@ -1201,6 +1220,11 @@ module Google
1201
1220
  # @return [Google::Apis::GkehubV1beta::ConfigManagementGatekeeperDeploymentState]
1202
1221
  attr_accessor :deployment_state
1203
1222
 
1223
+ # State for the migration of PolicyController from ACM -> PoCo Hub.
1224
+ # Corresponds to the JSON property `migration`
1225
+ # @return [Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerMigration]
1226
+ attr_accessor :migration
1227
+
1204
1228
  # The build version of Gatekeeper Policy Controller is using.
1205
1229
  # Corresponds to the JSON property `version`
1206
1230
  # @return [Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerVersion]
@@ -1213,6 +1237,7 @@ module Google
1213
1237
  # Update properties of this object
1214
1238
  def update!(**args)
1215
1239
  @deployment_state = args[:deployment_state] if args.key?(:deployment_state)
1240
+ @migration = args[:migration] if args.key?(:migration)
1216
1241
  @version = args[:version] if args.key?(:version)
1217
1242
  end
1218
1243
  end
@@ -2526,6 +2551,17 @@ module Google
2526
2551
  # @return [Fixnum]
2527
2552
  attr_accessor :audit_interval_seconds
2528
2553
 
2554
+ # The maximum number of audit violations to be stored in a constraint. If not
2555
+ # set, the internal default (currently 20) will be used.
2556
+ # Corresponds to the JSON property `constraintViolationLimit`
2557
+ # @return [Fixnum]
2558
+ attr_accessor :constraint_violation_limit
2559
+
2560
+ # Map of deployment configs to deployments (“admission”, “audit”, “mutation”).
2561
+ # Corresponds to the JSON property `deploymentConfigs`
2562
+ # @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerDeploymentConfig>]
2563
+ attr_accessor :deployment_configs
2564
+
2529
2565
  # The set of namespaces that are excluded from Policy Controller checks.
2530
2566
  # Namespaces do not need to currently exist on the cluster.
2531
2567
  # Corresponds to the JSON property `exemptableNamespaces`
@@ -2584,6 +2620,8 @@ module Google
2584
2620
  # Update properties of this object
2585
2621
  def update!(**args)
2586
2622
  @audit_interval_seconds = args[:audit_interval_seconds] if args.key?(:audit_interval_seconds)
2623
+ @constraint_violation_limit = args[:constraint_violation_limit] if args.key?(:constraint_violation_limit)
2624
+ @deployment_configs = args[:deployment_configs] if args.key?(:deployment_configs)
2587
2625
  @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
2588
2626
  @install_spec = args[:install_spec] if args.key?(:install_spec)
2589
2627
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
@@ -2724,6 +2762,88 @@ module Google
2724
2762
  end
2725
2763
  end
2726
2764
 
2765
+ # Deployment-specific configuration.
2766
+ class PolicyControllerPolicyControllerDeploymentConfig
2767
+ include Google::Apis::Core::Hashable
2768
+
2769
+ # ResourceRequirements describes the compute resource requirements.
2770
+ # Corresponds to the JSON property `containerResources`
2771
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerResourceRequirements]
2772
+ attr_accessor :container_resources
2773
+
2774
+ # Pod anti-affinity enablement.
2775
+ # Corresponds to the JSON property `podAntiAffinity`
2776
+ # @return [Boolean]
2777
+ attr_accessor :pod_anti_affinity
2778
+ alias_method :pod_anti_affinity?, :pod_anti_affinity
2779
+
2780
+ # Pod replica count.
2781
+ # Corresponds to the JSON property `replicaCount`
2782
+ # @return [Fixnum]
2783
+ attr_accessor :replica_count
2784
+
2785
+ def initialize(**args)
2786
+ update!(**args)
2787
+ end
2788
+
2789
+ # Update properties of this object
2790
+ def update!(**args)
2791
+ @container_resources = args[:container_resources] if args.key?(:container_resources)
2792
+ @pod_anti_affinity = args[:pod_anti_affinity] if args.key?(:pod_anti_affinity)
2793
+ @replica_count = args[:replica_count] if args.key?(:replica_count)
2794
+ end
2795
+ end
2796
+
2797
+ # ResourceList contains container resource requirements.
2798
+ class PolicyControllerResourceList
2799
+ include Google::Apis::Core::Hashable
2800
+
2801
+ # CPU requirement expressed in Kubernetes resource units.
2802
+ # Corresponds to the JSON property `cpu`
2803
+ # @return [String]
2804
+ attr_accessor :cpu
2805
+
2806
+ # Memory requirement expressed in Kubernetes resource units.
2807
+ # Corresponds to the JSON property `memory`
2808
+ # @return [String]
2809
+ attr_accessor :memory
2810
+
2811
+ def initialize(**args)
2812
+ update!(**args)
2813
+ end
2814
+
2815
+ # Update properties of this object
2816
+ def update!(**args)
2817
+ @cpu = args[:cpu] if args.key?(:cpu)
2818
+ @memory = args[:memory] if args.key?(:memory)
2819
+ end
2820
+ end
2821
+
2822
+ # ResourceRequirements describes the compute resource requirements.
2823
+ class PolicyControllerResourceRequirements
2824
+ include Google::Apis::Core::Hashable
2825
+
2826
+ # ResourceList contains container resource requirements.
2827
+ # Corresponds to the JSON property `limits`
2828
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerResourceList]
2829
+ attr_accessor :limits
2830
+
2831
+ # ResourceList contains container resource requirements.
2832
+ # Corresponds to the JSON property `requests`
2833
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerResourceList]
2834
+ attr_accessor :requests
2835
+
2836
+ def initialize(**args)
2837
+ update!(**args)
2838
+ end
2839
+
2840
+ # Update properties of this object
2841
+ def update!(**args)
2842
+ @limits = args[:limits] if args.key?(:limits)
2843
+ @requests = args[:requests] if args.key?(:requests)
2844
+ end
2845
+ end
2846
+
2727
2847
  # The config specifying which default library templates to install.
2728
2848
  class PolicyControllerTemplateLibraryConfig
2729
2849
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1beta
18
18
  # Version of the google-apis-gkehub_v1beta gem
19
- GEM_VERSION = "0.38.0"
19
+ GEM_VERSION = "0.39.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
@@ -214,6 +214,12 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class ConfigManagementPolicyControllerMigration
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class ConfigManagementPolicyControllerMonitoring
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -454,6 +460,24 @@ module Google
454
460
  include Google::Apis::Core::JsonObjectSupport
455
461
  end
456
462
 
463
+ class PolicyControllerPolicyControllerDeploymentConfig
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class PolicyControllerResourceList
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class PolicyControllerResourceRequirements
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
457
481
  class PolicyControllerTemplateLibraryConfig
458
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
483
 
@@ -854,6 +878,13 @@ module Google
854
878
  end
855
879
  end
856
880
 
881
+ class ConfigManagementPolicyControllerMigration
882
+ # @private
883
+ class Representation < Google::Apis::Core::JsonRepresentation
884
+ property :stage, as: 'stage'
885
+ end
886
+ end
887
+
857
888
  class ConfigManagementPolicyControllerMonitoring
858
889
  # @private
859
890
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -866,6 +897,8 @@ module Google
866
897
  class Representation < Google::Apis::Core::JsonRepresentation
867
898
  property :deployment_state, as: 'deploymentState', class: Google::Apis::GkehubV1beta::ConfigManagementGatekeeperDeploymentState, decorator: Google::Apis::GkehubV1beta::ConfigManagementGatekeeperDeploymentState::Representation
868
899
 
900
+ property :migration, as: 'migration', class: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerMigration, decorator: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerMigration::Representation
901
+
869
902
  property :version, as: 'version', class: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerVersion, decorator: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerVersion::Representation
870
903
 
871
904
  end
@@ -1219,6 +1252,9 @@ module Google
1219
1252
  # @private
1220
1253
  class Representation < Google::Apis::Core::JsonRepresentation
1221
1254
  property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
1255
+ property :constraint_violation_limit, :numeric_string => true, as: 'constraintViolationLimit'
1256
+ hash :deployment_configs, as: 'deploymentConfigs', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerDeploymentConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerDeploymentConfig::Representation
1257
+
1222
1258
  collection :exemptable_namespaces, as: 'exemptableNamespaces'
1223
1259
  property :install_spec, as: 'installSpec'
1224
1260
  property :log_denies_enabled, as: 'logDeniesEnabled'
@@ -1276,6 +1312,34 @@ module Google
1276
1312
  end
1277
1313
  end
1278
1314
 
1315
+ class PolicyControllerPolicyControllerDeploymentConfig
1316
+ # @private
1317
+ class Representation < Google::Apis::Core::JsonRepresentation
1318
+ property :container_resources, as: 'containerResources', class: Google::Apis::GkehubV1beta::PolicyControllerResourceRequirements, decorator: Google::Apis::GkehubV1beta::PolicyControllerResourceRequirements::Representation
1319
+
1320
+ property :pod_anti_affinity, as: 'podAntiAffinity'
1321
+ property :replica_count, :numeric_string => true, as: 'replicaCount'
1322
+ end
1323
+ end
1324
+
1325
+ class PolicyControllerResourceList
1326
+ # @private
1327
+ class Representation < Google::Apis::Core::JsonRepresentation
1328
+ property :cpu, as: 'cpu'
1329
+ property :memory, as: 'memory'
1330
+ end
1331
+ end
1332
+
1333
+ class PolicyControllerResourceRequirements
1334
+ # @private
1335
+ class Representation < Google::Apis::Core::JsonRepresentation
1336
+ property :limits, as: 'limits', class: Google::Apis::GkehubV1beta::PolicyControllerResourceList, decorator: Google::Apis::GkehubV1beta::PolicyControllerResourceList::Representation
1337
+
1338
+ property :requests, as: 'requests', class: Google::Apis::GkehubV1beta::PolicyControllerResourceList, decorator: Google::Apis::GkehubV1beta::PolicyControllerResourceList::Representation
1339
+
1340
+ end
1341
+ end
1342
+
1279
1343
  class PolicyControllerTemplateLibraryConfig
1280
1344
  # @private
1281
1345
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.38.0
4
+ version: 0.39.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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.39.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []