google-apis-gkehub_v1alpha 0.83.0 → 0.85.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: cd18335a51ef9f532270adbf33a3d9983ffb3ad704569aa922c8252cf7b2c20d
4
- data.tar.gz: 7ec4a70016f3298336f1cd4c6b1e6f591ca0e7164dccb51f01a51cae7a04c017
3
+ metadata.gz: dd11af6082bd55ef470327a1dcf296452a81c4b6bd325d48ada4e654a5c2012a
4
+ data.tar.gz: 1d67321b58db59950087a38435147f13592608368ec7aa477c2dd18733df1607
5
5
  SHA512:
6
- metadata.gz: 5d151a0c9b5e1a77124c479e887d6ec6b62bbb341907ec61d654483ae2e3c2c3c3ee960727062e952683a9394fa28243c5eddb4edb826cb77d49ce2d925b9424
7
- data.tar.gz: bcf53bd06d408ab09c4cb8dcf863daa5f30cd69a4cee4061e94be9adad57acd47223033d2cecb932ace11026cefb190595a30f45a6c85d617bfe54975bbdcd98
6
+ metadata.gz: 68fc472706dad30bdabc0a6732f5c11b92445d9f37ea3eb951e5e2e9998d5dd2a8ee2a66e1ef13010a9822eda96f4eb6700c5a303b10d8f7a13dddd722127e5a
7
+ data.tar.gz: 8b9fd95e7aa8603247287b9219f7ad45fc67d8585fa48a92215a4fba0af8713ae531ed7fde15281a52a9b2b9f419da08bbea59397ae4d61437257d3cbb38fdf2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.85.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241206
6
+
7
+ ### v0.84.0 (2024-12-02)
8
+
9
+ * Regenerated from discovery document revision 20241108
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.83.0 (2024-07-25)
4
13
 
5
14
  * Regenerated from discovery document revision 20240706
@@ -232,6 +232,18 @@ module Google
232
232
  # @return [String]
233
233
  attr_accessor :oidc_jwks
234
234
 
235
+ # Optional. Output only. The identity provider for the scope-tenancy workload
236
+ # identity pool.
237
+ # Corresponds to the JSON property `scopeTenancyIdentityProvider`
238
+ # @return [String]
239
+ attr_accessor :scope_tenancy_identity_provider
240
+
241
+ # Optional. Output only. The name of the scope-tenancy workload identity pool.
242
+ # This pool is set in the fleet-level feature.
243
+ # Corresponds to the JSON property `scopeTenancyWorkloadIdentityPool`
244
+ # @return [String]
245
+ attr_accessor :scope_tenancy_workload_identity_pool
246
+
235
247
  # Output only. The name of the workload identity pool in which `issuer` will be
236
248
  # recognized. There is a single Workload Identity Pool per Hub that is shared
237
249
  # between all Memberships that belong to that Hub. For a Hub hosted in `
@@ -250,6 +262,8 @@ module Google
250
262
  @identity_provider = args[:identity_provider] if args.key?(:identity_provider)
251
263
  @issuer = args[:issuer] if args.key?(:issuer)
252
264
  @oidc_jwks = args[:oidc_jwks] if args.key?(:oidc_jwks)
265
+ @scope_tenancy_identity_provider = args[:scope_tenancy_identity_provider] if args.key?(:scope_tenancy_identity_provider)
266
+ @scope_tenancy_workload_identity_pool = args[:scope_tenancy_workload_identity_pool] if args.key?(:scope_tenancy_workload_identity_pool)
253
267
  @workload_identity_pool = args[:workload_identity_pool] if args.key?(:workload_identity_pool)
254
268
  end
255
269
  end
@@ -874,7 +888,7 @@ module Google
874
888
  end
875
889
  end
876
890
 
877
- # CommonFeatureSpec contains Hub-wide configuration information
891
+ # CommonFeatureSpec contains Fleet-wide configuration information
878
892
  class CommonFeatureSpec
879
893
  include Google::Apis::Core::Hashable
880
894
 
@@ -945,7 +959,7 @@ module Google
945
959
  end
946
960
  end
947
961
 
948
- # CommonFeatureState contains Hub-wide Feature status information.
962
+ # CommonFeatureState contains Fleet-wide Feature status information.
949
963
  class CommonFeatureState
950
964
  include Google::Apis::Core::Hashable
951
965
 
@@ -1037,6 +1051,51 @@ module Google
1037
1051
  end
1038
1052
  end
1039
1053
 
1054
+ # CompliancePostureConfig defines the settings needed to enable/disable features
1055
+ # for the Compliance Posture.
1056
+ class CompliancePostureConfig
1057
+ include Google::Apis::Core::Hashable
1058
+
1059
+ # List of enabled compliance standards.
1060
+ # Corresponds to the JSON property `complianceStandards`
1061
+ # @return [Array<Google::Apis::GkehubV1alpha::ComplianceStandard>]
1062
+ attr_accessor :compliance_standards
1063
+
1064
+ # Defines the enablement mode for Compliance Posture.
1065
+ # Corresponds to the JSON property `mode`
1066
+ # @return [String]
1067
+ attr_accessor :mode
1068
+
1069
+ def initialize(**args)
1070
+ update!(**args)
1071
+ end
1072
+
1073
+ # Update properties of this object
1074
+ def update!(**args)
1075
+ @compliance_standards = args[:compliance_standards] if args.key?(:compliance_standards)
1076
+ @mode = args[:mode] if args.key?(:mode)
1077
+ end
1078
+ end
1079
+
1080
+ #
1081
+ class ComplianceStandard
1082
+ include Google::Apis::Core::Hashable
1083
+
1084
+ # Name of the compliance standard.
1085
+ # Corresponds to the JSON property `standard`
1086
+ # @return [String]
1087
+ attr_accessor :standard
1088
+
1089
+ def initialize(**args)
1090
+ update!(**args)
1091
+ end
1092
+
1093
+ # Update properties of this object
1094
+ def update!(**args)
1095
+ @standard = args[:standard] if args.key?(:standard)
1096
+ end
1097
+ end
1098
+
1040
1099
  # Configuration for Binauthz
1041
1100
  class ConfigManagementBinauthzConfig
1042
1101
  include Google::Apis::Core::Hashable
@@ -1132,6 +1191,10 @@ module Google
1132
1191
  # enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
1133
1192
  # metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
1134
1193
  # namespace `config-management-monitoring` should be bound to the GSA.
1194
+ # Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud
1195
+ # Service Account is no longer needed for exporting Config Sync metrics: https://
1196
+ # cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-
1197
+ # config-sync-cloud-monitoring#custom-monitoring.
1135
1198
  # Corresponds to the JSON property `metricsGcpServiceAccountEmail`
1136
1199
  # @return [String]
1137
1200
  attr_accessor :metrics_gcp_service_account_email
@@ -1155,6 +1218,12 @@ module Google
1155
1218
  # @return [String]
1156
1219
  attr_accessor :source_format
1157
1220
 
1221
+ # Set to true to stop syncing configs for a single cluster. Default to false.
1222
+ # Corresponds to the JSON property `stopSyncing`
1223
+ # @return [Boolean]
1224
+ attr_accessor :stop_syncing
1225
+ alias_method :stop_syncing?, :stop_syncing
1226
+
1158
1227
  def initialize(**args)
1159
1228
  update!(**args)
1160
1229
  end
@@ -1168,6 +1237,7 @@ module Google
1168
1237
  @oci = args[:oci] if args.key?(:oci)
1169
1238
  @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
1170
1239
  @source_format = args[:source_format] if args.key?(:source_format)
1240
+ @stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
1171
1241
  end
1172
1242
  end
1173
1243
 
@@ -1261,6 +1331,16 @@ module Google
1261
1331
  class ConfigManagementConfigSyncState
1262
1332
  include Google::Apis::Core::Hashable
1263
1333
 
1334
+ # Whether syncing resources to the cluster is stopped at the cluster level.
1335
+ # Corresponds to the JSON property `clusterLevelStopSyncingState`
1336
+ # @return [String]
1337
+ attr_accessor :cluster_level_stop_syncing_state
1338
+
1339
+ # Output only. The number of RootSync and RepoSync CRs in the cluster.
1340
+ # Corresponds to the JSON property `crCount`
1341
+ # @return [Fixnum]
1342
+ attr_accessor :cr_count
1343
+
1264
1344
  # The state of ConfigSync's deployment on a cluster
1265
1345
  # Corresponds to the JSON property `deploymentState`
1266
1346
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncDeploymentState]
@@ -1302,6 +1382,8 @@ module Google
1302
1382
 
1303
1383
  # Update properties of this object
1304
1384
  def update!(**args)
1385
+ @cluster_level_stop_syncing_state = args[:cluster_level_stop_syncing_state] if args.key?(:cluster_level_stop_syncing_state)
1386
+ @cr_count = args[:cr_count] if args.key?(:cr_count)
1305
1387
  @deployment_state = args[:deployment_state] if args.key?(:deployment_state)
1306
1388
  @errors = args[:errors] if args.key?(:errors)
1307
1389
  @reposync_crd = args[:reposync_crd] if args.key?(:reposync_crd)
@@ -2191,6 +2273,12 @@ module Google
2191
2273
  # @return [Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig]
2192
2274
  attr_accessor :binary_authorization_config
2193
2275
 
2276
+ # CompliancePostureConfig defines the settings needed to enable/disable features
2277
+ # for the Compliance Posture.
2278
+ # Corresponds to the JSON property `compliancePostureConfig`
2279
+ # @return [Google::Apis::GkehubV1alpha::CompliancePostureConfig]
2280
+ attr_accessor :compliance_posture_config
2281
+
2194
2282
  # SecurityPostureConfig defines the flags needed to enable/disable features for
2195
2283
  # the Security Posture API.
2196
2284
  # Corresponds to the JSON property `securityPostureConfig`
@@ -2204,6 +2292,7 @@ module Google
2204
2292
  # Update properties of this object
2205
2293
  def update!(**args)
2206
2294
  @binary_authorization_config = args[:binary_authorization_config] if args.key?(:binary_authorization_config)
2295
+ @compliance_posture_config = args[:compliance_posture_config] if args.key?(:compliance_posture_config)
2207
2296
  @security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
2208
2297
  end
2209
2298
  end
@@ -2299,7 +2388,7 @@ module Google
2299
2388
  end
2300
2389
  end
2301
2390
 
2302
- # Feature represents the settings and status of any Hub Feature.
2391
+ # Feature represents the settings and status of any Fleet Feature.
2303
2392
  class Feature
2304
2393
  include Google::Apis::Core::Hashable
2305
2394
 
@@ -2356,8 +2445,8 @@ module Google
2356
2445
  attr_accessor :name
2357
2446
 
2358
2447
  # FeatureResourceState describes the state of a Feature *resource* in the GkeHub
2359
- # API. See `FeatureState` for the "running state" of the Feature in the Hub and
2360
- # across Memberships.
2448
+ # API. See `FeatureState` for the "running state" of the Feature in the Fleet
2449
+ # and across Memberships.
2361
2450
  # Corresponds to the JSON property `resourceState`
2362
2451
  # @return [Google::Apis::GkehubV1alpha::FeatureResourceState]
2363
2452
  attr_accessor :resource_state
@@ -2385,16 +2474,22 @@ module Google
2385
2474
  # @return [Hash<String,Google::Apis::GkehubV1alpha::ScopeFeatureState>]
2386
2475
  attr_accessor :scope_states
2387
2476
 
2388
- # CommonFeatureSpec contains Hub-wide configuration information
2477
+ # CommonFeatureSpec contains Fleet-wide configuration information
2389
2478
  # Corresponds to the JSON property `spec`
2390
2479
  # @return [Google::Apis::GkehubV1alpha::CommonFeatureSpec]
2391
2480
  attr_accessor :spec
2392
2481
 
2393
- # CommonFeatureState contains Hub-wide Feature status information.
2482
+ # CommonFeatureState contains Fleet-wide Feature status information.
2394
2483
  # Corresponds to the JSON property `state`
2395
2484
  # @return [Google::Apis::GkehubV1alpha::CommonFeatureState]
2396
2485
  attr_accessor :state
2397
2486
 
2487
+ # Output only. List of locations that could not be reached while fetching this
2488
+ # feature.
2489
+ # Corresponds to the JSON property `unreachable`
2490
+ # @return [Array<String>]
2491
+ attr_accessor :unreachable
2492
+
2398
2493
  # Output only. When the Feature resource was last updated.
2399
2494
  # Corresponds to the JSON property `updateTime`
2400
2495
  # @return [String]
@@ -2418,13 +2513,14 @@ module Google
2418
2513
  @scope_states = args[:scope_states] if args.key?(:scope_states)
2419
2514
  @spec = args[:spec] if args.key?(:spec)
2420
2515
  @state = args[:state] if args.key?(:state)
2516
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2421
2517
  @update_time = args[:update_time] if args.key?(:update_time)
2422
2518
  end
2423
2519
  end
2424
2520
 
2425
2521
  # FeatureResourceState describes the state of a Feature *resource* in the GkeHub
2426
- # API. See `FeatureState` for the "running state" of the Feature in the Hub and
2427
- # across Memberships.
2522
+ # API. See `FeatureState` for the "running state" of the Feature in the Fleet
2523
+ # and across Memberships.
2428
2524
  class FeatureResourceState
2429
2525
  include Google::Apis::Core::Hashable
2430
2526
 
@@ -2829,6 +2925,33 @@ module Google
2829
2925
  end
2830
2926
  end
2831
2927
 
2928
+ # The response of the exclusivity artifacts manifests for the client to apply.
2929
+ class GenerateExclusivityManifestResponse
2930
+ include Google::Apis::Core::Hashable
2931
+
2932
+ # The YAML manifest of the membership CR to apply if a new version of the CR is
2933
+ # available. Empty if no update needs to be applied.
2934
+ # Corresponds to the JSON property `crManifest`
2935
+ # @return [String]
2936
+ attr_accessor :cr_manifest
2937
+
2938
+ # The YAML manifest of the membership CRD to apply if a newer version of the CRD
2939
+ # is available. Empty if no update needs to be applied.
2940
+ # Corresponds to the JSON property `crdManifest`
2941
+ # @return [String]
2942
+ attr_accessor :crd_manifest
2943
+
2944
+ def initialize(**args)
2945
+ update!(**args)
2946
+ end
2947
+
2948
+ # Update properties of this object
2949
+ def update!(**args)
2950
+ @cr_manifest = args[:cr_manifest] if args.key?(:cr_manifest)
2951
+ @crd_manifest = args[:crd_manifest] if args.key?(:crd_manifest)
2952
+ end
2953
+ end
2954
+
2832
2955
  # Response for GenerateRBACRoleBindingYAML.
2833
2956
  class GenerateMembershipRbacRoleBindingYamlResponse
2834
2957
  include Google::Apis::Core::Hashable
@@ -3031,6 +3154,33 @@ module Google
3031
3154
  end
3032
3155
  end
3033
3156
 
3157
+ # Configuration options for the AIS diagnostic interface.
3158
+ class IdentityServiceDiagnosticInterface
3159
+ include Google::Apis::Core::Hashable
3160
+
3161
+ # Determines whether to enable the diagnostic interface.
3162
+ # Corresponds to the JSON property `enabled`
3163
+ # @return [Boolean]
3164
+ attr_accessor :enabled
3165
+ alias_method :enabled?, :enabled
3166
+
3167
+ # Determines the expiration time of the diagnostic interface enablement. When
3168
+ # reached, requests to the interface would be automatically rejected.
3169
+ # Corresponds to the JSON property `expirationTime`
3170
+ # @return [String]
3171
+ attr_accessor :expiration_time
3172
+
3173
+ def initialize(**args)
3174
+ update!(**args)
3175
+ end
3176
+
3177
+ # Update properties of this object
3178
+ def update!(**args)
3179
+ @enabled = args[:enabled] if args.key?(:enabled)
3180
+ @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
3181
+ end
3182
+ end
3183
+
3034
3184
  # Configuration for the Google Plugin Auth flow.
3035
3185
  class IdentityServiceGoogleConfig
3036
3186
  include Google::Apis::Core::Hashable
@@ -3093,8 +3243,12 @@ module Google
3093
3243
  class IdentityServiceIdentityServiceOptions
3094
3244
  include Google::Apis::Core::Hashable
3095
3245
 
3096
- # Optional. Determines the lifespan of STS tokens issued by Anthos Identity
3097
- # Service.
3246
+ # Configuration options for the AIS diagnostic interface.
3247
+ # Corresponds to the JSON property `diagnosticInterface`
3248
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceDiagnosticInterface]
3249
+ attr_accessor :diagnostic_interface
3250
+
3251
+ # Determines the lifespan of STS tokens issued by Anthos Identity Service.
3098
3252
  # Corresponds to the JSON property `sessionDuration`
3099
3253
  # @return [String]
3100
3254
  attr_accessor :session_duration
@@ -3105,6 +3259,7 @@ module Google
3105
3259
 
3106
3260
  # Update properties of this object
3107
3261
  def update!(**args)
3262
+ @diagnostic_interface = args[:diagnostic_interface] if args.key?(:diagnostic_interface)
3108
3263
  @session_duration = args[:session_duration] if args.key?(:session_duration)
3109
3264
  end
3110
3265
  end
@@ -4069,6 +4224,11 @@ module Google
4069
4224
  # @return [Google::Apis::GkehubV1alpha::Authority]
4070
4225
  attr_accessor :authority
4071
4226
 
4227
+ # Output only. The tier of the cluster.
4228
+ # Corresponds to the JSON property `clusterTier`
4229
+ # @return [String]
4230
+ attr_accessor :cluster_tier
4231
+
4072
4232
  # Output only. When the Membership was created.
4073
4233
  # Corresponds to the JSON property `createTime`
4074
4234
  # @return [String]
@@ -4155,6 +4315,7 @@ module Google
4155
4315
  # Update properties of this object
4156
4316
  def update!(**args)
4157
4317
  @authority = args[:authority] if args.key?(:authority)
4318
+ @cluster_tier = args[:cluster_tier] if args.key?(:cluster_tier)
4158
4319
  @create_time = args[:create_time] if args.key?(:create_time)
4159
4320
  @delete_time = args[:delete_time] if args.key?(:delete_time)
4160
4321
  @description = args[:description] if args.key?(:description)
@@ -4322,7 +4483,7 @@ module Google
4322
4483
  end
4323
4484
 
4324
4485
  # MembershipFeatureSpec contains configuration information for a single
4325
- # Membership. NOTE: Please use snake case in your feature name.
4486
+ # Membership.
4326
4487
  class MembershipFeatureSpec
4327
4488
  include Google::Apis::Core::Hashable
4328
4489
 
@@ -4926,9 +5087,9 @@ module Google
4926
5087
  attr_accessor :api_version
4927
5088
 
4928
5089
  # Output only. Identifies whether the user has requested cancellation of the
4929
- # operation. Operations that have successfully been cancelled have Operation.
4930
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
4931
- # CANCELLED`.
5090
+ # operation. Operations that have successfully been cancelled have google.
5091
+ # longrunning.Operation.error value with a google.rpc.Status.code of 1,
5092
+ # corresponding to `Code.CANCELLED`.
4932
5093
  # Corresponds to the JSON property `cancelRequested`
4933
5094
  # @return [Boolean]
4934
5095
  attr_accessor :cancel_requested
@@ -5637,15 +5798,15 @@ module Google
5637
5798
  class ResourceManifest
5638
5799
  include Google::Apis::Core::Hashable
5639
5800
 
5640
- # Whether the resource provided in the manifest is `cluster_scoped`. If unset,
5641
- # the manifest is assumed to be namespace scoped. This field is used for REST
5642
- # mapping when applying the resource in a cluster.
5801
+ # Output only. Whether the resource provided in the manifest is `cluster_scoped`.
5802
+ # If unset, the manifest is assumed to be namespace scoped. This field is used
5803
+ # for REST mapping when applying the resource in a cluster.
5643
5804
  # Corresponds to the JSON property `clusterScoped`
5644
5805
  # @return [Boolean]
5645
5806
  attr_accessor :cluster_scoped
5646
5807
  alias_method :cluster_scoped?, :cluster_scoped
5647
5808
 
5648
- # YAML manifest of the resource.
5809
+ # Output only. YAML manifest of the resource.
5649
5810
  # Corresponds to the JSON property `manifest`
5650
5811
  # @return [String]
5651
5812
  attr_accessor :manifest
@@ -6405,6 +6566,30 @@ module Google
6405
6566
  end
6406
6567
  end
6407
6568
 
6569
+ # The response of exclusivity artifacts validation result status.
6570
+ class ValidateExclusivityResponse
6571
+ include Google::Apis::Core::Hashable
6572
+
6573
+ # The `Status` type defines a logical error model that is suitable for different
6574
+ # programming environments, including REST APIs and RPC APIs. It is used by [
6575
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
6576
+ # data: error code, error message, and error details. You can find out more
6577
+ # about this error model and how to work with it in the [API Design Guide](https:
6578
+ # //cloud.google.com/apis/design/errors).
6579
+ # Corresponds to the JSON property `status`
6580
+ # @return [Google::Apis::GkehubV1alpha::GoogleRpcStatus]
6581
+ attr_accessor :status
6582
+
6583
+ def initialize(**args)
6584
+ update!(**args)
6585
+ end
6586
+
6587
+ # Update properties of this object
6588
+ def update!(**args)
6589
+ @status = args[:status] if args.key?(:status)
6590
+ end
6591
+ end
6592
+
6408
6593
  # ValidationResults are results set by each validator running during
6409
6594
  # ValidateCreateMembership.
6410
6595
  class ValidationResult
@@ -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.83.0"
19
+ GEM_VERSION = "0.85.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240706"
25
+ REVISION = "20241206"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,18 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class CompliancePostureConfig
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class ComplianceStandard
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
205
217
  class ConfigManagementBinauthzConfig
206
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
219
 
@@ -508,6 +520,12 @@ module Google
508
520
  include Google::Apis::Core::JsonObjectSupport
509
521
  end
510
522
 
523
+ class GenerateExclusivityManifestResponse
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
511
529
  class GenerateMembershipRbacRoleBindingYamlResponse
512
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
531
 
@@ -538,6 +556,12 @@ module Google
538
556
  include Google::Apis::Core::JsonObjectSupport
539
557
  end
540
558
 
559
+ class IdentityServiceDiagnosticInterface
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
541
565
  class IdentityServiceGoogleConfig
542
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
543
567
 
@@ -1090,6 +1114,12 @@ module Google
1090
1114
  include Google::Apis::Core::JsonObjectSupport
1091
1115
  end
1092
1116
 
1117
+ class ValidateExclusivityResponse
1118
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1119
+
1120
+ include Google::Apis::Core::JsonObjectSupport
1121
+ end
1122
+
1093
1123
  class ValidationResult
1094
1124
  class Representation < Google::Apis::Core::JsonRepresentation; end
1095
1125
 
@@ -1157,6 +1187,8 @@ module Google
1157
1187
  property :identity_provider, as: 'identityProvider'
1158
1188
  property :issuer, as: 'issuer'
1159
1189
  property :oidc_jwks, :base64 => true, as: 'oidcJwks'
1190
+ property :scope_tenancy_identity_provider, as: 'scopeTenancyIdentityProvider'
1191
+ property :scope_tenancy_workload_identity_pool, as: 'scopeTenancyWorkloadIdentityPool'
1160
1192
  property :workload_identity_pool, as: 'workloadIdentityPool'
1161
1193
  end
1162
1194
  end
@@ -1395,6 +1427,22 @@ module Google
1395
1427
  end
1396
1428
  end
1397
1429
 
1430
+ class CompliancePostureConfig
1431
+ # @private
1432
+ class Representation < Google::Apis::Core::JsonRepresentation
1433
+ collection :compliance_standards, as: 'complianceStandards', class: Google::Apis::GkehubV1alpha::ComplianceStandard, decorator: Google::Apis::GkehubV1alpha::ComplianceStandard::Representation
1434
+
1435
+ property :mode, as: 'mode'
1436
+ end
1437
+ end
1438
+
1439
+ class ComplianceStandard
1440
+ # @private
1441
+ class Representation < Google::Apis::Core::JsonRepresentation
1442
+ property :standard, as: 'standard'
1443
+ end
1444
+ end
1445
+
1398
1446
  class ConfigManagementBinauthzConfig
1399
1447
  # @private
1400
1448
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1430,6 +1478,7 @@ module Google
1430
1478
 
1431
1479
  property :prevent_drift, as: 'preventDrift'
1432
1480
  property :source_format, as: 'sourceFormat'
1481
+ property :stop_syncing, as: 'stopSyncing'
1433
1482
  end
1434
1483
  end
1435
1484
 
@@ -1458,6 +1507,8 @@ module Google
1458
1507
  class ConfigManagementConfigSyncState
1459
1508
  # @private
1460
1509
  class Representation < Google::Apis::Core::JsonRepresentation
1510
+ property :cluster_level_stop_syncing_state, as: 'clusterLevelStopSyncingState'
1511
+ property :cr_count, as: 'crCount'
1461
1512
  property :deployment_state, as: 'deploymentState', class: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncDeploymentState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncDeploymentState::Representation
1462
1513
 
1463
1514
  collection :errors, as: 'errors', class: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncError, decorator: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncError::Representation
@@ -1724,6 +1775,8 @@ module Google
1724
1775
  class Representation < Google::Apis::Core::JsonRepresentation
1725
1776
  property :binary_authorization_config, as: 'binaryAuthorizationConfig', class: Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig, decorator: Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig::Representation
1726
1777
 
1778
+ property :compliance_posture_config, as: 'compliancePostureConfig', class: Google::Apis::GkehubV1alpha::CompliancePostureConfig, decorator: Google::Apis::GkehubV1alpha::CompliancePostureConfig::Representation
1779
+
1727
1780
  property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::GkehubV1alpha::SecurityPostureConfig, decorator: Google::Apis::GkehubV1alpha::SecurityPostureConfig::Representation
1728
1781
 
1729
1782
  end
@@ -1775,6 +1828,7 @@ module Google
1775
1828
 
1776
1829
  property :state, as: 'state', class: Google::Apis::GkehubV1alpha::CommonFeatureState, decorator: Google::Apis::GkehubV1alpha::CommonFeatureState::Representation
1777
1830
 
1831
+ collection :unreachable, as: 'unreachable'
1778
1832
  property :update_time, as: 'updateTime'
1779
1833
  end
1780
1834
  end
@@ -1918,6 +1972,14 @@ module Google
1918
1972
  end
1919
1973
  end
1920
1974
 
1975
+ class GenerateExclusivityManifestResponse
1976
+ # @private
1977
+ class Representation < Google::Apis::Core::JsonRepresentation
1978
+ property :cr_manifest, as: 'crManifest'
1979
+ property :crd_manifest, as: 'crdManifest'
1980
+ end
1981
+ end
1982
+
1921
1983
  class GenerateMembershipRbacRoleBindingYamlResponse
1922
1984
  # @private
1923
1985
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1973,6 +2035,14 @@ module Google
1973
2035
  end
1974
2036
  end
1975
2037
 
2038
+ class IdentityServiceDiagnosticInterface
2039
+ # @private
2040
+ class Representation < Google::Apis::Core::JsonRepresentation
2041
+ property :enabled, as: 'enabled'
2042
+ property :expiration_time, as: 'expirationTime'
2043
+ end
2044
+ end
2045
+
1976
2046
  class IdentityServiceGoogleConfig
1977
2047
  # @private
1978
2048
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1992,6 +2062,8 @@ module Google
1992
2062
  class IdentityServiceIdentityServiceOptions
1993
2063
  # @private
1994
2064
  class Representation < Google::Apis::Core::JsonRepresentation
2065
+ property :diagnostic_interface, as: 'diagnosticInterface', class: Google::Apis::GkehubV1alpha::IdentityServiceDiagnosticInterface, decorator: Google::Apis::GkehubV1alpha::IdentityServiceDiagnosticInterface::Representation
2066
+
1995
2067
  property :session_duration, as: 'sessionDuration'
1996
2068
  end
1997
2069
  end
@@ -2264,6 +2336,7 @@ module Google
2264
2336
  class Representation < Google::Apis::Core::JsonRepresentation
2265
2337
  property :authority, as: 'authority', class: Google::Apis::GkehubV1alpha::Authority, decorator: Google::Apis::GkehubV1alpha::Authority::Representation
2266
2338
 
2339
+ property :cluster_tier, as: 'clusterTier'
2267
2340
  property :create_time, as: 'createTime'
2268
2341
  property :delete_time, as: 'deleteTime'
2269
2342
  property :description, as: 'description'
@@ -2918,6 +2991,14 @@ module Google
2918
2991
  end
2919
2992
  end
2920
2993
 
2994
+ class ValidateExclusivityResponse
2995
+ # @private
2996
+ class Representation < Google::Apis::Core::JsonRepresentation
2997
+ property :status, as: 'status', class: Google::Apis::GkehubV1alpha::GoogleRpcStatus, decorator: Google::Apis::GkehubV1alpha::GoogleRpcStatus::Representation
2998
+
2999
+ end
3000
+ end
3001
+
2921
3002
  class ValidationResult
2922
3003
  # @private
2923
3004
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -267,6 +267,11 @@ module Google
267
267
  # @param [String] name
268
268
  # Required. The Feature resource name in the format `projects/*/locations/*/
269
269
  # features/*`
270
+ # @param [Boolean] return_partial_success
271
+ # Optional. If set to true, the response will return partial results when some
272
+ # regions are unreachable and the unreachable field in Feature proto will be
273
+ # populated. If set to false, the request will fail when some regions are
274
+ # unreachable.
270
275
  # @param [String] fields
271
276
  # Selector specifying which fields to include in a partial response.
272
277
  # @param [String] quota_user
@@ -284,11 +289,12 @@ module Google
284
289
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
285
290
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
286
291
  # @raise [Google::Apis::AuthorizationError] Authorization is required
287
- def get_project_location_feature(name, fields: nil, quota_user: nil, options: nil, &block)
292
+ def get_project_location_feature(name, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
288
293
  command = make_simple_command(:get, 'v1alpha/{+name}', options)
289
294
  command.response_representation = Google::Apis::GkehubV1alpha::Feature::Representation
290
295
  command.response_class = Google::Apis::GkehubV1alpha::Feature
291
296
  command.params['name'] = name unless name.nil?
297
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
292
298
  command.query['fields'] = fields unless fields.nil?
293
299
  command.query['quotaUser'] = quota_user unless quota_user.nil?
294
300
  execute_or_queue_command(command, &block)
@@ -359,6 +365,11 @@ module Google
359
365
  # @param [String] page_token
360
366
  # Token returned by previous call to `ListFeatures` which specifies the position
361
367
  # in the list from where to continue listing the resources.
368
+ # @param [Boolean] return_partial_success
369
+ # Optional. If set to true, the response will return partial results when some
370
+ # regions are unreachable and the unreachable field in Feature proto will be
371
+ # populated. If set to false, the request will fail when some regions are
372
+ # unreachable.
362
373
  # @param [String] fields
363
374
  # Selector specifying which fields to include in a partial response.
364
375
  # @param [String] quota_user
@@ -376,7 +387,7 @@ module Google
376
387
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
377
388
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
378
389
  # @raise [Google::Apis::AuthorizationError] Authorization is required
379
- def list_project_location_features(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
390
+ def list_project_location_features(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
380
391
  command = make_simple_command(:get, 'v1alpha/{+parent}/features', options)
381
392
  command.response_representation = Google::Apis::GkehubV1alpha::ListFeaturesResponse::Representation
382
393
  command.response_class = Google::Apis::GkehubV1alpha::ListFeaturesResponse
@@ -385,6 +396,7 @@ module Google
385
396
  command.query['orderBy'] = order_by unless order_by.nil?
386
397
  command.query['pageSize'] = page_size unless page_size.nil?
387
398
  command.query['pageToken'] = page_token unless page_token.nil?
399
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
388
400
  command.query['fields'] = fields unless fields.nil?
389
401
  command.query['quotaUser'] = quota_user unless quota_user.nil?
390
402
  execute_or_queue_command(command, &block)
@@ -859,6 +871,54 @@ module Google
859
871
  execute_or_queue_command(command, &block)
860
872
  end
861
873
 
874
+ # GenerateExclusivityManifest generates the manifests to update the exclusivity
875
+ # artifacts in the cluster if needed. Exclusivity artifacts include the
876
+ # Membership custom resource definition (CRD) and the singleton Membership
877
+ # custom resource (CR). Combined with ValidateExclusivity, exclusivity artifacts
878
+ # guarantee that a Kubernetes cluster is only registered to a single GKE Hub.
879
+ # The Membership CRD is versioned, and may require conversion when the GKE Hub
880
+ # API server begins serving a newer version of the CRD and corresponding CR. The
881
+ # response will be the converted CRD and CR if there are any differences between
882
+ # the versions.
883
+ # @param [String] name
884
+ # Required. The Membership resource name in the format `projects/*/locations/*/
885
+ # memberships/*`.
886
+ # @param [String] cr_manifest
887
+ # Optional. The YAML manifest of the membership CR retrieved by `kubectl get
888
+ # memberships membership`. Leave empty if the resource does not exist.
889
+ # @param [String] crd_manifest
890
+ # Optional. The YAML manifest of the membership CRD retrieved by `kubectl get
891
+ # customresourcedefinitions membership`. Leave empty if the resource does not
892
+ # exist.
893
+ # @param [String] fields
894
+ # Selector specifying which fields to include in a partial response.
895
+ # @param [String] quota_user
896
+ # Available to use for quota purposes for server-side applications. Can be any
897
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
898
+ # @param [Google::Apis::RequestOptions] options
899
+ # Request-specific options
900
+ #
901
+ # @yield [result, err] Result & error if block supplied
902
+ # @yieldparam result [Google::Apis::GkehubV1alpha::GenerateExclusivityManifestResponse] parsed result object
903
+ # @yieldparam err [StandardError] error object if request failed
904
+ #
905
+ # @return [Google::Apis::GkehubV1alpha::GenerateExclusivityManifestResponse]
906
+ #
907
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
908
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
909
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
910
+ def generate_project_location_membership_exclusivity_manifest(name, cr_manifest: nil, crd_manifest: nil, fields: nil, quota_user: nil, options: nil, &block)
911
+ command = make_simple_command(:get, 'v1alpha/{+name}:generateExclusivityManifest', options)
912
+ command.response_representation = Google::Apis::GkehubV1alpha::GenerateExclusivityManifestResponse::Representation
913
+ command.response_class = Google::Apis::GkehubV1alpha::GenerateExclusivityManifestResponse
914
+ command.params['name'] = name unless name.nil?
915
+ command.query['crManifest'] = cr_manifest unless cr_manifest.nil?
916
+ command.query['crdManifest'] = crd_manifest unless crd_manifest.nil?
917
+ command.query['fields'] = fields unless fields.nil?
918
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
919
+ execute_or_queue_command(command, &block)
920
+ end
921
+
862
922
  # Gets the details of a Membership.
863
923
  # @param [String] name
864
924
  # Required. The Membership resource name in the format `projects/*/locations/*/
@@ -1198,6 +1258,46 @@ module Google
1198
1258
  execute_or_queue_command(command, &block)
1199
1259
  end
1200
1260
 
1261
+ # ValidateExclusivity validates the state of exclusivity in the cluster. The
1262
+ # validation does not depend on an existing Hub membership resource.
1263
+ # @param [String] parent
1264
+ # Required. The parent (project and location) where the Memberships will be
1265
+ # created. Specified in the format `projects/*/locations/*`.
1266
+ # @param [String] cr_manifest
1267
+ # Optional. The YAML of the membership CR in the cluster. Empty if the
1268
+ # membership CR does not exist.
1269
+ # @param [String] intended_membership
1270
+ # Required. The intended membership name under the `parent`. This method only
1271
+ # does validation in anticipation of a CreateMembership call with the same name.
1272
+ # @param [String] fields
1273
+ # Selector specifying which fields to include in a partial response.
1274
+ # @param [String] quota_user
1275
+ # Available to use for quota purposes for server-side applications. Can be any
1276
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1277
+ # @param [Google::Apis::RequestOptions] options
1278
+ # Request-specific options
1279
+ #
1280
+ # @yield [result, err] Result & error if block supplied
1281
+ # @yieldparam result [Google::Apis::GkehubV1alpha::ValidateExclusivityResponse] parsed result object
1282
+ # @yieldparam err [StandardError] error object if request failed
1283
+ #
1284
+ # @return [Google::Apis::GkehubV1alpha::ValidateExclusivityResponse]
1285
+ #
1286
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1287
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1288
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1289
+ def validate_project_location_membership_exclusivity(parent, cr_manifest: nil, intended_membership: nil, fields: nil, quota_user: nil, options: nil, &block)
1290
+ command = make_simple_command(:get, 'v1alpha/{+parent}/memberships:validateExclusivity', options)
1291
+ command.response_representation = Google::Apis::GkehubV1alpha::ValidateExclusivityResponse::Representation
1292
+ command.response_class = Google::Apis::GkehubV1alpha::ValidateExclusivityResponse
1293
+ command.params['parent'] = parent unless parent.nil?
1294
+ command.query['crManifest'] = cr_manifest unless cr_manifest.nil?
1295
+ command.query['intendedMembership'] = intended_membership unless intended_membership.nil?
1296
+ command.query['fields'] = fields unless fields.nil?
1297
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1298
+ execute_or_queue_command(command, &block)
1299
+ end
1300
+
1201
1301
  # Creates a MembershipBinding.
1202
1302
  # @param [String] parent
1203
1303
  # Required. The parent (project and location) where the MembershipBinding will
@@ -1610,8 +1710,8 @@ module Google
1610
1710
  # Clients can use Operations.GetOperation or other methods to check whether the
1611
1711
  # cancellation succeeded or whether the operation completed despite cancellation.
1612
1712
  # On successful cancellation, the operation is not deleted; instead, it becomes
1613
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
1614
- # corresponding to `Code.CANCELLED`.
1713
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
1714
+ # , corresponding to `Code.CANCELLED`.
1615
1715
  # @param [String] name
1616
1716
  # The name of the operation resource to be cancelled.
1617
1717
  # @param [Google::Apis::GkehubV1alpha::CancelOperationRequest] cancel_operation_request_object
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.83.0
4
+ version: 0.85.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: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-12-15 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.83.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.85.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.5.6
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for GKE Hub API V1alpha