google-apis-gkehub_v1beta 0.37.0 → 0.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f458314460ff6ae47ca0a80bb8d3b03b26b21fa37ebe0e24ff29b05a2568366
4
- data.tar.gz: 7d2c0adc38532e3f4c1da5b0918a7a2f9d05ea1ed1842dcb52548f52a7db069b
3
+ metadata.gz: 417cd97e7c423db755d0a95e0dd178cb7bc0561cb0469e500357fa3f03a2740d
4
+ data.tar.gz: a287346f2de00287c75072ee2c05b265a6a72751d132ed7043ad37478ce7a4a9
5
5
  SHA512:
6
- metadata.gz: adfde34058a00755d4afbe70c997bd6b5fee0bd5e26a682d6d58b02146219dbebbc14e4324e43deaf8d61506b4043277d2122fe0aa76455a40c8ba986e7f6923
7
- data.tar.gz: d821c8273955656e44fd6482f7e6b380730d920b4e3f7174717b774c45ca2bc06812e3816aaa3227173a7240f03c88ab85b74fe21fe0675f3e3f50ec172eaa2e
6
+ metadata.gz: b82c5fe84789d9888f064aee98db335afc3795b17d58c5a3871f89b78233656d6b898d0050fde45b93059b80d4a6ea9bbd6e4875129726c6ed1703b93f883f2e
7
+ data.tar.gz: 0c595f4d9620dd45fe229e76c15ceca5052b3942928b1bac468f40a7ba1b389ef94062376084044432abd6a2dfda17069aaf7820ad5b2d99efce62a93fce7761
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.38.0 (2023-01-29)
8
+
9
+ * Regenerated from discovery document revision 20230119
10
+
3
11
  ### v0.37.0 (2023-01-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20230106
@@ -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
@@ -340,6 +340,26 @@ module Google
340
340
  end
341
341
  end
342
342
 
343
+ # CommonFleetDefaultMemberConfigSpec contains default configuration information
344
+ # for memberships of a fleet
345
+ class CommonFleetDefaultMemberConfigSpec
346
+ include Google::Apis::Core::Hashable
347
+
348
+ # **Anthos Identity Service**: Configuration for a single Membership.
349
+ # Corresponds to the JSON property `identityservice`
350
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec]
351
+ attr_accessor :identityservice
352
+
353
+ def initialize(**args)
354
+ update!(**args)
355
+ end
356
+
357
+ # Update properties of this object
358
+ def update!(**args)
359
+ @identityservice = args[:identityservice] if args.key?(:identityservice)
360
+ end
361
+ end
362
+
343
363
  # Configuration for Binauthz
344
364
  class ConfigManagementBinauthzConfig
345
365
  include Google::Apis::Core::Hashable
@@ -1150,6 +1170,25 @@ module Google
1150
1170
  end
1151
1171
  end
1152
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
+
1153
1192
  # PolicyControllerMonitoring specifies the backends Policy Controller should
1154
1193
  # export metrics to. For example, to specify metrics should be exported to Cloud
1155
1194
  # Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]
@@ -1181,6 +1220,11 @@ module Google
1181
1220
  # @return [Google::Apis::GkehubV1beta::ConfigManagementGatekeeperDeploymentState]
1182
1221
  attr_accessor :deployment_state
1183
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
+
1184
1228
  # The build version of Gatekeeper Policy Controller is using.
1185
1229
  # Corresponds to the JSON property `version`
1186
1230
  # @return [Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerVersion]
@@ -1193,6 +1237,7 @@ module Google
1193
1237
  # Update properties of this object
1194
1238
  def update!(**args)
1195
1239
  @deployment_state = args[:deployment_state] if args.key?(:deployment_state)
1240
+ @migration = args[:migration] if args.key?(:migration)
1196
1241
  @version = args[:version] if args.key?(:version)
1197
1242
  end
1198
1243
  end
@@ -1391,6 +1436,12 @@ module Google
1391
1436
  # @return [String]
1392
1437
  attr_accessor :delete_time
1393
1438
 
1439
+ # CommonFleetDefaultMemberConfigSpec contains default configuration information
1440
+ # for memberships of a fleet
1441
+ # Corresponds to the JSON property `fleetDefaultMemberConfig`
1442
+ # @return [Google::Apis::GkehubV1beta::CommonFleetDefaultMemberConfigSpec]
1443
+ attr_accessor :fleet_default_member_config
1444
+
1394
1445
  # GCP labels for this Feature.
1395
1446
  # Corresponds to the JSON property `labels`
1396
1447
  # @return [Hash<String,String>]
@@ -1480,6 +1531,7 @@ module Google
1480
1531
  def update!(**args)
1481
1532
  @create_time = args[:create_time] if args.key?(:create_time)
1482
1533
  @delete_time = args[:delete_time] if args.key?(:delete_time)
1534
+ @fleet_default_member_config = args[:fleet_default_member_config] if args.key?(:fleet_default_member_config)
1483
1535
  @labels = args[:labels] if args.key?(:labels)
1484
1536
  @membership_specs = args[:membership_specs] if args.key?(:membership_specs)
1485
1537
  @membership_states = args[:membership_states] if args.key?(:membership_states)
@@ -2499,6 +2551,17 @@ module Google
2499
2551
  # @return [Fixnum]
2500
2552
  attr_accessor :audit_interval_seconds
2501
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
+
2502
2565
  # The set of namespaces that are excluded from Policy Controller checks.
2503
2566
  # Namespaces do not need to currently exist on the cluster.
2504
2567
  # Corresponds to the JSON property `exemptableNamespaces`
@@ -2557,6 +2620,8 @@ module Google
2557
2620
  # Update properties of this object
2558
2621
  def update!(**args)
2559
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)
2560
2625
  @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces)
2561
2626
  @install_spec = args[:install_spec] if args.key?(:install_spec)
2562
2627
  @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled)
@@ -2697,6 +2762,88 @@ module Google
2697
2762
  end
2698
2763
  end
2699
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
+
2700
2847
  # The config specifying which default library templates to install.
2701
2848
  class PolicyControllerTemplateLibraryConfig
2702
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.37.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 = "20230106"
25
+ REVISION = "20230129"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class CommonFleetDefaultMemberConfigSpec
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class ConfigManagementBinauthzConfig
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -208,6 +214,12 @@ module Google
208
214
  include Google::Apis::Core::JsonObjectSupport
209
215
  end
210
216
 
217
+ class ConfigManagementPolicyControllerMigration
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
211
223
  class ConfigManagementPolicyControllerMonitoring
212
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
225
 
@@ -448,6 +460,24 @@ module Google
448
460
  include Google::Apis::Core::JsonObjectSupport
449
461
  end
450
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
+
451
481
  class PolicyControllerTemplateLibraryConfig
452
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
483
 
@@ -610,6 +640,14 @@ module Google
610
640
  end
611
641
  end
612
642
 
643
+ class CommonFleetDefaultMemberConfigSpec
644
+ # @private
645
+ class Representation < Google::Apis::Core::JsonRepresentation
646
+ property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1beta::IdentityServiceMembershipSpec::Representation
647
+
648
+ end
649
+ end
650
+
613
651
  class ConfigManagementBinauthzConfig
614
652
  # @private
615
653
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -840,6 +878,13 @@ module Google
840
878
  end
841
879
  end
842
880
 
881
+ class ConfigManagementPolicyControllerMigration
882
+ # @private
883
+ class Representation < Google::Apis::Core::JsonRepresentation
884
+ property :stage, as: 'stage'
885
+ end
886
+ end
887
+
843
888
  class ConfigManagementPolicyControllerMonitoring
844
889
  # @private
845
890
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -852,6 +897,8 @@ module Google
852
897
  class Representation < Google::Apis::Core::JsonRepresentation
853
898
  property :deployment_state, as: 'deploymentState', class: Google::Apis::GkehubV1beta::ConfigManagementGatekeeperDeploymentState, decorator: Google::Apis::GkehubV1beta::ConfigManagementGatekeeperDeploymentState::Representation
854
899
 
900
+ property :migration, as: 'migration', class: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerMigration, decorator: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerMigration::Representation
901
+
855
902
  property :version, as: 'version', class: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerVersion, decorator: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerVersion::Representation
856
903
 
857
904
  end
@@ -909,6 +956,8 @@ module Google
909
956
  class Representation < Google::Apis::Core::JsonRepresentation
910
957
  property :create_time, as: 'createTime'
911
958
  property :delete_time, as: 'deleteTime'
959
+ property :fleet_default_member_config, as: 'fleetDefaultMemberConfig', class: Google::Apis::GkehubV1beta::CommonFleetDefaultMemberConfigSpec, decorator: Google::Apis::GkehubV1beta::CommonFleetDefaultMemberConfigSpec::Representation
960
+
912
961
  hash :labels, as: 'labels'
913
962
  hash :membership_specs, as: 'membershipSpecs', class: Google::Apis::GkehubV1beta::MembershipFeatureSpec, decorator: Google::Apis::GkehubV1beta::MembershipFeatureSpec::Representation
914
963
 
@@ -1203,6 +1252,9 @@ module Google
1203
1252
  # @private
1204
1253
  class Representation < Google::Apis::Core::JsonRepresentation
1205
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
+
1206
1258
  collection :exemptable_namespaces, as: 'exemptableNamespaces'
1207
1259
  property :install_spec, as: 'installSpec'
1208
1260
  property :log_denies_enabled, as: 'logDeniesEnabled'
@@ -1260,6 +1312,34 @@ module Google
1260
1312
  end
1261
1313
  end
1262
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
+
1263
1343
  class PolicyControllerTemplateLibraryConfig
1264
1344
  # @private
1265
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.37.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-22 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.37.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: []