google-apis-gkehub_v1alpha 0.82.0 → 0.84.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ed64de242e5797bc9ce3352d8819eacca1d35cf728df622221fca957e26f839
|
4
|
+
data.tar.gz: dd5700782d2bbb0be234c5948f867efd49fa9ef0175c0b1ba3c4fe523c588c31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28976909dc230da21e69cd171beae6769591940520c1d5140f5217f31487e37c7e08648ff7b1fcc6e50d7cf90362f3955ac8a2c742d57e9dc86f83d1cf3dac5b
|
7
|
+
data.tar.gz: 278a0f1920b0a0aa3d44da2eb72aa8183599fd34832819068ad8db36a1cb9210648b4f67637bc8a32cf32ca3b6404dd9cb65473df4383e6199979664ec4f456f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha
|
2
2
|
|
3
|
+
### v0.84.0 (2024-12-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241108
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.83.0 (2024-07-25)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240706
|
11
|
+
|
3
12
|
### v0.82.0 (2024-05-19)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240511
|
@@ -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
|
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
|
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
|
|
@@ -1195,11 +1265,21 @@ module Google
|
|
1195
1265
|
# @return [String]
|
1196
1266
|
attr_accessor :monitor
|
1197
1267
|
|
1268
|
+
# Deployment state of otel-collector
|
1269
|
+
# Corresponds to the JSON property `otelCollector`
|
1270
|
+
# @return [String]
|
1271
|
+
attr_accessor :otel_collector
|
1272
|
+
|
1198
1273
|
# Deployment state of reconciler-manager pod
|
1199
1274
|
# Corresponds to the JSON property `reconcilerManager`
|
1200
1275
|
# @return [String]
|
1201
1276
|
attr_accessor :reconciler_manager
|
1202
1277
|
|
1278
|
+
# Deployment state of resource-group-controller-manager
|
1279
|
+
# Corresponds to the JSON property `resourceGroupControllerManager`
|
1280
|
+
# @return [String]
|
1281
|
+
attr_accessor :resource_group_controller_manager
|
1282
|
+
|
1203
1283
|
# Deployment state of root-reconciler
|
1204
1284
|
# Corresponds to the JSON property `rootReconciler`
|
1205
1285
|
# @return [String]
|
@@ -1220,7 +1300,9 @@ module Google
|
|
1220
1300
|
@git_sync = args[:git_sync] if args.key?(:git_sync)
|
1221
1301
|
@importer = args[:importer] if args.key?(:importer)
|
1222
1302
|
@monitor = args[:monitor] if args.key?(:monitor)
|
1303
|
+
@otel_collector = args[:otel_collector] if args.key?(:otel_collector)
|
1223
1304
|
@reconciler_manager = args[:reconciler_manager] if args.key?(:reconciler_manager)
|
1305
|
+
@resource_group_controller_manager = args[:resource_group_controller_manager] if args.key?(:resource_group_controller_manager)
|
1224
1306
|
@root_reconciler = args[:root_reconciler] if args.key?(:root_reconciler)
|
1225
1307
|
@syncer = args[:syncer] if args.key?(:syncer)
|
1226
1308
|
end
|
@@ -1249,6 +1331,16 @@ module Google
|
|
1249
1331
|
class ConfigManagementConfigSyncState
|
1250
1332
|
include Google::Apis::Core::Hashable
|
1251
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
|
+
|
1252
1344
|
# The state of ConfigSync's deployment on a cluster
|
1253
1345
|
# Corresponds to the JSON property `deploymentState`
|
1254
1346
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncDeploymentState]
|
@@ -1290,6 +1382,8 @@ module Google
|
|
1290
1382
|
|
1291
1383
|
# Update properties of this object
|
1292
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)
|
1293
1387
|
@deployment_state = args[:deployment_state] if args.key?(:deployment_state)
|
1294
1388
|
@errors = args[:errors] if args.key?(:errors)
|
1295
1389
|
@reposync_crd = args[:reposync_crd] if args.key?(:reposync_crd)
|
@@ -1304,7 +1398,7 @@ module Google
|
|
1304
1398
|
class ConfigManagementConfigSyncVersion
|
1305
1399
|
include Google::Apis::Core::Hashable
|
1306
1400
|
|
1307
|
-
# Version of the deployed
|
1401
|
+
# Version of the deployed admission-webhook pod
|
1308
1402
|
# Corresponds to the JSON property `admissionWebhook`
|
1309
1403
|
# @return [String]
|
1310
1404
|
attr_accessor :admission_webhook
|
@@ -1324,11 +1418,21 @@ module Google
|
|
1324
1418
|
# @return [String]
|
1325
1419
|
attr_accessor :monitor
|
1326
1420
|
|
1421
|
+
# Version of the deployed otel-collector pod
|
1422
|
+
# Corresponds to the JSON property `otelCollector`
|
1423
|
+
# @return [String]
|
1424
|
+
attr_accessor :otel_collector
|
1425
|
+
|
1327
1426
|
# Version of the deployed reconciler-manager pod
|
1328
1427
|
# Corresponds to the JSON property `reconcilerManager`
|
1329
1428
|
# @return [String]
|
1330
1429
|
attr_accessor :reconciler_manager
|
1331
1430
|
|
1431
|
+
# Version of the deployed resource-group-controller-manager pod
|
1432
|
+
# Corresponds to the JSON property `resourceGroupControllerManager`
|
1433
|
+
# @return [String]
|
1434
|
+
attr_accessor :resource_group_controller_manager
|
1435
|
+
|
1332
1436
|
# Version of the deployed reconciler container in root-reconciler pod
|
1333
1437
|
# Corresponds to the JSON property `rootReconciler`
|
1334
1438
|
# @return [String]
|
@@ -1349,7 +1453,9 @@ module Google
|
|
1349
1453
|
@git_sync = args[:git_sync] if args.key?(:git_sync)
|
1350
1454
|
@importer = args[:importer] if args.key?(:importer)
|
1351
1455
|
@monitor = args[:monitor] if args.key?(:monitor)
|
1456
|
+
@otel_collector = args[:otel_collector] if args.key?(:otel_collector)
|
1352
1457
|
@reconciler_manager = args[:reconciler_manager] if args.key?(:reconciler_manager)
|
1458
|
+
@resource_group_controller_manager = args[:resource_group_controller_manager] if args.key?(:resource_group_controller_manager)
|
1353
1459
|
@root_reconciler = args[:root_reconciler] if args.key?(:root_reconciler)
|
1354
1460
|
@syncer = args[:syncer] if args.key?(:syncer)
|
1355
1461
|
end
|
@@ -2167,6 +2273,12 @@ module Google
|
|
2167
2273
|
# @return [Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig]
|
2168
2274
|
attr_accessor :binary_authorization_config
|
2169
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
|
+
|
2170
2282
|
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
2171
2283
|
# the Security Posture API.
|
2172
2284
|
# Corresponds to the JSON property `securityPostureConfig`
|
@@ -2180,6 +2292,7 @@ module Google
|
|
2180
2292
|
# Update properties of this object
|
2181
2293
|
def update!(**args)
|
2182
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)
|
2183
2296
|
@security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
|
2184
2297
|
end
|
2185
2298
|
end
|
@@ -2275,7 +2388,7 @@ module Google
|
|
2275
2388
|
end
|
2276
2389
|
end
|
2277
2390
|
|
2278
|
-
# Feature represents the settings and status of any
|
2391
|
+
# Feature represents the settings and status of any Fleet Feature.
|
2279
2392
|
class Feature
|
2280
2393
|
include Google::Apis::Core::Hashable
|
2281
2394
|
|
@@ -2332,8 +2445,8 @@ module Google
|
|
2332
2445
|
attr_accessor :name
|
2333
2446
|
|
2334
2447
|
# FeatureResourceState describes the state of a Feature *resource* in the GkeHub
|
2335
|
-
# API. See `FeatureState` for the "running state" of the Feature in the
|
2336
|
-
# across Memberships.
|
2448
|
+
# API. See `FeatureState` for the "running state" of the Feature in the Fleet
|
2449
|
+
# and across Memberships.
|
2337
2450
|
# Corresponds to the JSON property `resourceState`
|
2338
2451
|
# @return [Google::Apis::GkehubV1alpha::FeatureResourceState]
|
2339
2452
|
attr_accessor :resource_state
|
@@ -2361,16 +2474,22 @@ module Google
|
|
2361
2474
|
# @return [Hash<String,Google::Apis::GkehubV1alpha::ScopeFeatureState>]
|
2362
2475
|
attr_accessor :scope_states
|
2363
2476
|
|
2364
|
-
# CommonFeatureSpec contains
|
2477
|
+
# CommonFeatureSpec contains Fleet-wide configuration information
|
2365
2478
|
# Corresponds to the JSON property `spec`
|
2366
2479
|
# @return [Google::Apis::GkehubV1alpha::CommonFeatureSpec]
|
2367
2480
|
attr_accessor :spec
|
2368
2481
|
|
2369
|
-
# CommonFeatureState contains
|
2482
|
+
# CommonFeatureState contains Fleet-wide Feature status information.
|
2370
2483
|
# Corresponds to the JSON property `state`
|
2371
2484
|
# @return [Google::Apis::GkehubV1alpha::CommonFeatureState]
|
2372
2485
|
attr_accessor :state
|
2373
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
|
+
|
2374
2493
|
# Output only. When the Feature resource was last updated.
|
2375
2494
|
# Corresponds to the JSON property `updateTime`
|
2376
2495
|
# @return [String]
|
@@ -2394,13 +2513,14 @@ module Google
|
|
2394
2513
|
@scope_states = args[:scope_states] if args.key?(:scope_states)
|
2395
2514
|
@spec = args[:spec] if args.key?(:spec)
|
2396
2515
|
@state = args[:state] if args.key?(:state)
|
2516
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2397
2517
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2398
2518
|
end
|
2399
2519
|
end
|
2400
2520
|
|
2401
2521
|
# FeatureResourceState describes the state of a Feature *resource* in the GkeHub
|
2402
|
-
# API. See `FeatureState` for the "running state" of the Feature in the
|
2403
|
-
# across Memberships.
|
2522
|
+
# API. See `FeatureState` for the "running state" of the Feature in the Fleet
|
2523
|
+
# and across Memberships.
|
2404
2524
|
class FeatureResourceState
|
2405
2525
|
include Google::Apis::Core::Hashable
|
2406
2526
|
|
@@ -2805,6 +2925,33 @@ module Google
|
|
2805
2925
|
end
|
2806
2926
|
end
|
2807
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
|
+
|
2808
2955
|
# Response for GenerateRBACRoleBindingYAML.
|
2809
2956
|
class GenerateMembershipRbacRoleBindingYamlResponse
|
2810
2957
|
include Google::Apis::Core::Hashable
|
@@ -3007,6 +3154,33 @@ module Google
|
|
3007
3154
|
end
|
3008
3155
|
end
|
3009
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
|
+
|
3010
3184
|
# Configuration for the Google Plugin Auth flow.
|
3011
3185
|
class IdentityServiceGoogleConfig
|
3012
3186
|
include Google::Apis::Core::Hashable
|
@@ -3069,8 +3243,12 @@ module Google
|
|
3069
3243
|
class IdentityServiceIdentityServiceOptions
|
3070
3244
|
include Google::Apis::Core::Hashable
|
3071
3245
|
|
3072
|
-
#
|
3073
|
-
#
|
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.
|
3074
3252
|
# Corresponds to the JSON property `sessionDuration`
|
3075
3253
|
# @return [String]
|
3076
3254
|
attr_accessor :session_duration
|
@@ -3081,6 +3259,7 @@ module Google
|
|
3081
3259
|
|
3082
3260
|
# Update properties of this object
|
3083
3261
|
def update!(**args)
|
3262
|
+
@diagnostic_interface = args[:diagnostic_interface] if args.key?(:diagnostic_interface)
|
3084
3263
|
@session_duration = args[:session_duration] if args.key?(:session_duration)
|
3085
3264
|
end
|
3086
3265
|
end
|
@@ -4045,6 +4224,11 @@ module Google
|
|
4045
4224
|
# @return [Google::Apis::GkehubV1alpha::Authority]
|
4046
4225
|
attr_accessor :authority
|
4047
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
|
+
|
4048
4232
|
# Output only. When the Membership was created.
|
4049
4233
|
# Corresponds to the JSON property `createTime`
|
4050
4234
|
# @return [String]
|
@@ -4131,6 +4315,7 @@ module Google
|
|
4131
4315
|
# Update properties of this object
|
4132
4316
|
def update!(**args)
|
4133
4317
|
@authority = args[:authority] if args.key?(:authority)
|
4318
|
+
@cluster_tier = args[:cluster_tier] if args.key?(:cluster_tier)
|
4134
4319
|
@create_time = args[:create_time] if args.key?(:create_time)
|
4135
4320
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
4136
4321
|
@description = args[:description] if args.key?(:description)
|
@@ -4298,7 +4483,7 @@ module Google
|
|
4298
4483
|
end
|
4299
4484
|
|
4300
4485
|
# MembershipFeatureSpec contains configuration information for a single
|
4301
|
-
# Membership.
|
4486
|
+
# Membership.
|
4302
4487
|
class MembershipFeatureSpec
|
4303
4488
|
include Google::Apis::Core::Hashable
|
4304
4489
|
|
@@ -5613,15 +5798,15 @@ module Google
|
|
5613
5798
|
class ResourceManifest
|
5614
5799
|
include Google::Apis::Core::Hashable
|
5615
5800
|
|
5616
|
-
# Whether the resource provided in the manifest is `cluster_scoped`.
|
5617
|
-
# the manifest is assumed to be namespace scoped. This field is used
|
5618
|
-
# 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.
|
5619
5804
|
# Corresponds to the JSON property `clusterScoped`
|
5620
5805
|
# @return [Boolean]
|
5621
5806
|
attr_accessor :cluster_scoped
|
5622
5807
|
alias_method :cluster_scoped?, :cluster_scoped
|
5623
5808
|
|
5624
|
-
# YAML manifest of the resource.
|
5809
|
+
# Output only. YAML manifest of the resource.
|
5625
5810
|
# Corresponds to the JSON property `manifest`
|
5626
5811
|
# @return [String]
|
5627
5812
|
attr_accessor :manifest
|
@@ -6054,6 +6239,12 @@ module Google
|
|
6054
6239
|
class ServiceMeshMembershipSpec
|
6055
6240
|
include Google::Apis::Core::Hashable
|
6056
6241
|
|
6242
|
+
# Optional. Specifies the API that will be used for configuring the mesh
|
6243
|
+
# workloads.
|
6244
|
+
# Corresponds to the JSON property `configApi`
|
6245
|
+
# @return [String]
|
6246
|
+
attr_accessor :config_api
|
6247
|
+
|
6057
6248
|
# Deprecated: use `management` instead Enables automatic control plane
|
6058
6249
|
# management.
|
6059
6250
|
# Corresponds to the JSON property `controlPlane`
|
@@ -6066,7 +6257,7 @@ module Google
|
|
6066
6257
|
# @return [String]
|
6067
6258
|
attr_accessor :default_channel
|
6068
6259
|
|
6069
|
-
# Enables automatic Service Mesh management.
|
6260
|
+
# Optional. Enables automatic Service Mesh management.
|
6070
6261
|
# Corresponds to the JSON property `management`
|
6071
6262
|
# @return [String]
|
6072
6263
|
attr_accessor :management
|
@@ -6077,6 +6268,7 @@ module Google
|
|
6077
6268
|
|
6078
6269
|
# Update properties of this object
|
6079
6270
|
def update!(**args)
|
6271
|
+
@config_api = args[:config_api] if args.key?(:config_api)
|
6080
6272
|
@control_plane = args[:control_plane] if args.key?(:control_plane)
|
6081
6273
|
@default_channel = args[:default_channel] if args.key?(:default_channel)
|
6082
6274
|
@management = args[:management] if args.key?(:management)
|
@@ -6374,6 +6566,30 @@ module Google
|
|
6374
6566
|
end
|
6375
6567
|
end
|
6376
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
|
+
|
6377
6593
|
# ValidationResults are results set by each validator running during
|
6378
6594
|
# ValidateCreateMembership.
|
6379
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.
|
19
|
+
GEM_VERSION = "0.84.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241108"
|
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
|
|
@@ -1440,7 +1489,9 @@ module Google
|
|
1440
1489
|
property :git_sync, as: 'gitSync'
|
1441
1490
|
property :importer, as: 'importer'
|
1442
1491
|
property :monitor, as: 'monitor'
|
1492
|
+
property :otel_collector, as: 'otelCollector'
|
1443
1493
|
property :reconciler_manager, as: 'reconcilerManager'
|
1494
|
+
property :resource_group_controller_manager, as: 'resourceGroupControllerManager'
|
1444
1495
|
property :root_reconciler, as: 'rootReconciler'
|
1445
1496
|
property :syncer, as: 'syncer'
|
1446
1497
|
end
|
@@ -1456,6 +1507,8 @@ module Google
|
|
1456
1507
|
class ConfigManagementConfigSyncState
|
1457
1508
|
# @private
|
1458
1509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1510
|
+
property :cluster_level_stop_syncing_state, as: 'clusterLevelStopSyncingState'
|
1511
|
+
property :cr_count, as: 'crCount'
|
1459
1512
|
property :deployment_state, as: 'deploymentState', class: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncDeploymentState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncDeploymentState::Representation
|
1460
1513
|
|
1461
1514
|
collection :errors, as: 'errors', class: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncError, decorator: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncError::Representation
|
@@ -1477,7 +1530,9 @@ module Google
|
|
1477
1530
|
property :git_sync, as: 'gitSync'
|
1478
1531
|
property :importer, as: 'importer'
|
1479
1532
|
property :monitor, as: 'monitor'
|
1533
|
+
property :otel_collector, as: 'otelCollector'
|
1480
1534
|
property :reconciler_manager, as: 'reconcilerManager'
|
1535
|
+
property :resource_group_controller_manager, as: 'resourceGroupControllerManager'
|
1481
1536
|
property :root_reconciler, as: 'rootReconciler'
|
1482
1537
|
property :syncer, as: 'syncer'
|
1483
1538
|
end
|
@@ -1720,6 +1775,8 @@ module Google
|
|
1720
1775
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1721
1776
|
property :binary_authorization_config, as: 'binaryAuthorizationConfig', class: Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig, decorator: Google::Apis::GkehubV1alpha::BinaryAuthorizationConfig::Representation
|
1722
1777
|
|
1778
|
+
property :compliance_posture_config, as: 'compliancePostureConfig', class: Google::Apis::GkehubV1alpha::CompliancePostureConfig, decorator: Google::Apis::GkehubV1alpha::CompliancePostureConfig::Representation
|
1779
|
+
|
1723
1780
|
property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::GkehubV1alpha::SecurityPostureConfig, decorator: Google::Apis::GkehubV1alpha::SecurityPostureConfig::Representation
|
1724
1781
|
|
1725
1782
|
end
|
@@ -1771,6 +1828,7 @@ module Google
|
|
1771
1828
|
|
1772
1829
|
property :state, as: 'state', class: Google::Apis::GkehubV1alpha::CommonFeatureState, decorator: Google::Apis::GkehubV1alpha::CommonFeatureState::Representation
|
1773
1830
|
|
1831
|
+
collection :unreachable, as: 'unreachable'
|
1774
1832
|
property :update_time, as: 'updateTime'
|
1775
1833
|
end
|
1776
1834
|
end
|
@@ -1914,6 +1972,14 @@ module Google
|
|
1914
1972
|
end
|
1915
1973
|
end
|
1916
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
|
+
|
1917
1983
|
class GenerateMembershipRbacRoleBindingYamlResponse
|
1918
1984
|
# @private
|
1919
1985
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1969,6 +2035,14 @@ module Google
|
|
1969
2035
|
end
|
1970
2036
|
end
|
1971
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
|
+
|
1972
2046
|
class IdentityServiceGoogleConfig
|
1973
2047
|
# @private
|
1974
2048
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1988,6 +2062,8 @@ module Google
|
|
1988
2062
|
class IdentityServiceIdentityServiceOptions
|
1989
2063
|
# @private
|
1990
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
|
+
|
1991
2067
|
property :session_duration, as: 'sessionDuration'
|
1992
2068
|
end
|
1993
2069
|
end
|
@@ -2260,6 +2336,7 @@ module Google
|
|
2260
2336
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2261
2337
|
property :authority, as: 'authority', class: Google::Apis::GkehubV1alpha::Authority, decorator: Google::Apis::GkehubV1alpha::Authority::Representation
|
2262
2338
|
|
2339
|
+
property :cluster_tier, as: 'clusterTier'
|
2263
2340
|
property :create_time, as: 'createTime'
|
2264
2341
|
property :delete_time, as: 'deleteTime'
|
2265
2342
|
property :description, as: 'description'
|
@@ -2820,6 +2897,7 @@ module Google
|
|
2820
2897
|
class ServiceMeshMembershipSpec
|
2821
2898
|
# @private
|
2822
2899
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2900
|
+
property :config_api, as: 'configApi'
|
2823
2901
|
property :control_plane, as: 'controlPlane'
|
2824
2902
|
property :default_channel, as: 'defaultChannel'
|
2825
2903
|
property :management, as: 'management'
|
@@ -2913,6 +2991,14 @@ module Google
|
|
2913
2991
|
end
|
2914
2992
|
end
|
2915
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
|
+
|
2916
3002
|
class ValidationResult
|
2917
3003
|
# @private
|
2918
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
|
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.
|
4
|
+
version: 0.84.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-
|
11
|
+
date: 2024-12-04 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.84.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.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for GKE Hub API V1alpha
|