google-apis-gkehub_v1alpha 0.56.0 → 0.57.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: 0eaf0f17f21e26b2431154d67842b06370f73aef25ba7b90048c2d3f91b3e00f
|
4
|
+
data.tar.gz: dfe160aac95ffcd93458c7140596451d71498cb1f9efceb91339279b9df7f816
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f6b8cc1947d5e73c18f0b0c3f878fce714033f69e9f5063b54b66d04799afa4ce8e50ce4ffb82b544bc9951d31215420a001ed10ee6c458723307af2ea820eb
|
7
|
+
data.tar.gz: 87e92745f5e01df4ac97fce19e3aa7d35d4c08a9688c81093b2f79de33b67097a0e950ceaf9b6d9814ba5a6df1f5b9491dec9063622a6842425aa2223fb3a945
|
data/CHANGELOG.md
CHANGED
@@ -940,11 +940,9 @@ module Google
|
|
940
940
|
|
941
941
|
# Enables the installation of ConfigSync. If set to true, ConfigSync resources
|
942
942
|
# will be created and the other ConfigSync fields will be applied if exist. If
|
943
|
-
# set to false
|
944
|
-
# will be
|
945
|
-
#
|
946
|
-
# resources will be managed if: * the git or oci field is present; or * Managed
|
947
|
-
# Config Sync is enabled (i.e., managed.enabled is true).
|
943
|
+
# set to false, all other ConfigSync fields will be ignored, ConfigSync
|
944
|
+
# resources will be deleted. If omitted, ConfigSync resources will be managed
|
945
|
+
# depends on the presence of the git or oci field.
|
948
946
|
# Corresponds to the JSON property `enabled`
|
949
947
|
# @return [Boolean]
|
950
948
|
attr_accessor :enabled
|
@@ -955,17 +953,12 @@ module Google
|
|
955
953
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementGitConfig]
|
956
954
|
attr_accessor :git
|
957
955
|
|
958
|
-
#
|
959
|
-
#
|
960
|
-
# @return [Google::Apis::GkehubV1alpha::ConfigManagementManaged]
|
961
|
-
attr_accessor :managed
|
962
|
-
|
963
|
-
# The Email of the GCP Service Account (GSA) used for exporting Config Sync
|
964
|
-
# metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
|
956
|
+
# The Email of the Google Cloud Service Account (GSA) used for exporting Config
|
957
|
+
# Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
|
965
958
|
# enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
|
966
959
|
# metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
|
967
960
|
# namespace `config-management-monitoring` should be binded to the GSA. This
|
968
|
-
# field is required when
|
961
|
+
# field is required when automatic Feature management is enabled.
|
969
962
|
# Corresponds to the JSON property `metricsGcpServiceAccountEmail`
|
970
963
|
# @return [String]
|
971
964
|
attr_accessor :metrics_gcp_service_account_email
|
@@ -989,6 +982,14 @@ module Google
|
|
989
982
|
# @return [String]
|
990
983
|
attr_accessor :source_format
|
991
984
|
|
985
|
+
# Set to true to stop syncing configs for a single cluster when automatic
|
986
|
+
# Feature management is enabled. Default to false. The field will be ignored
|
987
|
+
# when automatic Feature management is disabled.
|
988
|
+
# Corresponds to the JSON property `stopSyncing`
|
989
|
+
# @return [Boolean]
|
990
|
+
attr_accessor :stop_syncing
|
991
|
+
alias_method :stop_syncing?, :stop_syncing
|
992
|
+
|
992
993
|
def initialize(**args)
|
993
994
|
update!(**args)
|
994
995
|
end
|
@@ -998,11 +999,11 @@ module Google
|
|
998
999
|
@allow_vertical_scale = args[:allow_vertical_scale] if args.key?(:allow_vertical_scale)
|
999
1000
|
@enabled = args[:enabled] if args.key?(:enabled)
|
1000
1001
|
@git = args[:git] if args.key?(:git)
|
1001
|
-
@managed = args[:managed] if args.key?(:managed)
|
1002
1002
|
@metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
|
1003
1003
|
@oci = args[:oci] if args.key?(:oci)
|
1004
1004
|
@prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
|
1005
1005
|
@source_format = args[:source_format] if args.key?(:source_format)
|
1006
|
+
@stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
|
1006
1007
|
end
|
1007
1008
|
end
|
1008
1009
|
|
@@ -1244,7 +1245,7 @@ module Google
|
|
1244
1245
|
class ConfigManagementGitConfig
|
1245
1246
|
include Google::Apis::Core::Hashable
|
1246
1247
|
|
1247
|
-
# The
|
1248
|
+
# The Google Cloud Service Account Email used for auth when secret_type is
|
1248
1249
|
# gcpServiceAccount.
|
1249
1250
|
# Corresponds to the JSON property `gcpServiceAccountEmail`
|
1250
1251
|
# @return [String]
|
@@ -1464,36 +1465,6 @@ module Google
|
|
1464
1465
|
end
|
1465
1466
|
end
|
1466
1467
|
|
1467
|
-
# Configuration for Managed Config Sync.
|
1468
|
-
class ConfigManagementManaged
|
1469
|
-
include Google::Apis::Core::Hashable
|
1470
|
-
|
1471
|
-
# Set to true to enable Managed Config Sync. Defaults to false which disables
|
1472
|
-
# Managed Config Sync. Setting this field to true when configSync.enabled is
|
1473
|
-
# false is invalid.
|
1474
|
-
# Corresponds to the JSON property `enabled`
|
1475
|
-
# @return [Boolean]
|
1476
|
-
attr_accessor :enabled
|
1477
|
-
alias_method :enabled?, :enabled
|
1478
|
-
|
1479
|
-
# Set to true to stop syncing configs for a single cluster. Default to false. If
|
1480
|
-
# set to true, Managed Config Sync will not upgrade Config Sync.
|
1481
|
-
# Corresponds to the JSON property `stopSyncing`
|
1482
|
-
# @return [Boolean]
|
1483
|
-
attr_accessor :stop_syncing
|
1484
|
-
alias_method :stop_syncing?, :stop_syncing
|
1485
|
-
|
1486
|
-
def initialize(**args)
|
1487
|
-
update!(**args)
|
1488
|
-
end
|
1489
|
-
|
1490
|
-
# Update properties of this object
|
1491
|
-
def update!(**args)
|
1492
|
-
@enabled = args[:enabled] if args.key?(:enabled)
|
1493
|
-
@stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
|
1494
|
-
end
|
1495
|
-
end
|
1496
|
-
|
1497
1468
|
# **Anthos Config Management**: Configuration for a single cluster. Intended to
|
1498
1469
|
# parallel the ConfigManagement CR.
|
1499
1470
|
class ConfigManagementMembershipSpec
|
@@ -1524,6 +1495,11 @@ module Google
|
|
1524
1495
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig]
|
1525
1496
|
attr_accessor :hierarchy_controller
|
1526
1497
|
|
1498
|
+
# Enables automatic Feature management.
|
1499
|
+
# Corresponds to the JSON property `management`
|
1500
|
+
# @return [String]
|
1501
|
+
attr_accessor :management
|
1502
|
+
|
1527
1503
|
# Configuration for Policy Controller
|
1528
1504
|
# Corresponds to the JSON property `policyController`
|
1529
1505
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementPolicyController]
|
@@ -1544,6 +1520,7 @@ module Google
|
|
1544
1520
|
@cluster = args[:cluster] if args.key?(:cluster)
|
1545
1521
|
@config_sync = args[:config_sync] if args.key?(:config_sync)
|
1546
1522
|
@hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
|
1523
|
+
@management = args[:management] if args.key?(:management)
|
1547
1524
|
@policy_controller = args[:policy_controller] if args.key?(:policy_controller)
|
1548
1525
|
@version = args[:version] if args.key?(:version)
|
1549
1526
|
end
|
@@ -1610,7 +1587,7 @@ module Google
|
|
1610
1587
|
class ConfigManagementOciConfig
|
1611
1588
|
include Google::Apis::Core::Hashable
|
1612
1589
|
|
1613
|
-
# The
|
1590
|
+
# The Google Cloud Service Account Email used for auth when secret_type is
|
1614
1591
|
# gcpServiceAccount.
|
1615
1592
|
# Corresponds to the JSON property `gcpServiceAccountEmail`
|
1616
1593
|
# @return [String]
|
@@ -2353,6 +2330,31 @@ module Google
|
|
2353
2330
|
end
|
2354
2331
|
end
|
2355
2332
|
|
2333
|
+
# All error details of the fleet observability feature.
|
2334
|
+
class FleetObservabilityFeatureError
|
2335
|
+
include Google::Apis::Core::Hashable
|
2336
|
+
|
2337
|
+
# The code of the error.
|
2338
|
+
# Corresponds to the JSON property `code`
|
2339
|
+
# @return [String]
|
2340
|
+
attr_accessor :code
|
2341
|
+
|
2342
|
+
# A human-readable description of the current status.
|
2343
|
+
# Corresponds to the JSON property `description`
|
2344
|
+
# @return [String]
|
2345
|
+
attr_accessor :description
|
2346
|
+
|
2347
|
+
def initialize(**args)
|
2348
|
+
update!(**args)
|
2349
|
+
end
|
2350
|
+
|
2351
|
+
# Update properties of this object
|
2352
|
+
def update!(**args)
|
2353
|
+
@code = args[:code] if args.key?(:code)
|
2354
|
+
@description = args[:description] if args.key?(:description)
|
2355
|
+
end
|
2356
|
+
end
|
2357
|
+
|
2356
2358
|
# **Fleet Observability**: The Hub-wide input for the FleetObservability feature.
|
2357
2359
|
class FleetObservabilityFeatureSpec
|
2358
2360
|
include Google::Apis::Core::Hashable
|
@@ -2376,12 +2378,94 @@ module Google
|
|
2376
2378
|
class FleetObservabilityFeatureState
|
2377
2379
|
include Google::Apis::Core::Hashable
|
2378
2380
|
|
2381
|
+
# Feature state for logging feature.
|
2382
|
+
# Corresponds to the JSON property `logging`
|
2383
|
+
# @return [Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityLoggingState]
|
2384
|
+
attr_accessor :logging
|
2385
|
+
|
2386
|
+
# Feature state for monitoring feature.
|
2387
|
+
# Corresponds to the JSON property `monitoring`
|
2388
|
+
# @return [Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityMonitoringState]
|
2389
|
+
attr_accessor :monitoring
|
2390
|
+
|
2379
2391
|
def initialize(**args)
|
2380
2392
|
update!(**args)
|
2381
2393
|
end
|
2382
2394
|
|
2383
2395
|
# Update properties of this object
|
2384
2396
|
def update!(**args)
|
2397
|
+
@logging = args[:logging] if args.key?(:logging)
|
2398
|
+
@monitoring = args[:monitoring] if args.key?(:monitoring)
|
2399
|
+
end
|
2400
|
+
end
|
2401
|
+
|
2402
|
+
# Base state for fleet observability feature.
|
2403
|
+
class FleetObservabilityFleetObservabilityBaseFeatureState
|
2404
|
+
include Google::Apis::Core::Hashable
|
2405
|
+
|
2406
|
+
# The high-level, machine-readable status of this Feature.
|
2407
|
+
# Corresponds to the JSON property `code`
|
2408
|
+
# @return [String]
|
2409
|
+
attr_accessor :code
|
2410
|
+
|
2411
|
+
# Errors after reconciling the monitoring and logging feature if the code is not
|
2412
|
+
# OK.
|
2413
|
+
# Corresponds to the JSON property `errors`
|
2414
|
+
# @return [Array<Google::Apis::GkehubV1alpha::FleetObservabilityFeatureError>]
|
2415
|
+
attr_accessor :errors
|
2416
|
+
|
2417
|
+
def initialize(**args)
|
2418
|
+
update!(**args)
|
2419
|
+
end
|
2420
|
+
|
2421
|
+
# Update properties of this object
|
2422
|
+
def update!(**args)
|
2423
|
+
@code = args[:code] if args.key?(:code)
|
2424
|
+
@errors = args[:errors] if args.key?(:errors)
|
2425
|
+
end
|
2426
|
+
end
|
2427
|
+
|
2428
|
+
# Feature state for logging feature.
|
2429
|
+
class FleetObservabilityFleetObservabilityLoggingState
|
2430
|
+
include Google::Apis::Core::Hashable
|
2431
|
+
|
2432
|
+
# Base state for fleet observability feature.
|
2433
|
+
# Corresponds to the JSON property `defaultLog`
|
2434
|
+
# @return [Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState]
|
2435
|
+
attr_accessor :default_log
|
2436
|
+
|
2437
|
+
# Base state for fleet observability feature.
|
2438
|
+
# Corresponds to the JSON property `scopeLog`
|
2439
|
+
# @return [Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState]
|
2440
|
+
attr_accessor :scope_log
|
2441
|
+
|
2442
|
+
def initialize(**args)
|
2443
|
+
update!(**args)
|
2444
|
+
end
|
2445
|
+
|
2446
|
+
# Update properties of this object
|
2447
|
+
def update!(**args)
|
2448
|
+
@default_log = args[:default_log] if args.key?(:default_log)
|
2449
|
+
@scope_log = args[:scope_log] if args.key?(:scope_log)
|
2450
|
+
end
|
2451
|
+
end
|
2452
|
+
|
2453
|
+
# Feature state for monitoring feature.
|
2454
|
+
class FleetObservabilityFleetObservabilityMonitoringState
|
2455
|
+
include Google::Apis::Core::Hashable
|
2456
|
+
|
2457
|
+
# Base state for fleet observability feature.
|
2458
|
+
# Corresponds to the JSON property `state`
|
2459
|
+
# @return [Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState]
|
2460
|
+
attr_accessor :state
|
2461
|
+
|
2462
|
+
def initialize(**args)
|
2463
|
+
update!(**args)
|
2464
|
+
end
|
2465
|
+
|
2466
|
+
# Update properties of this object
|
2467
|
+
def update!(**args)
|
2468
|
+
@state = args[:state] if args.key?(:state)
|
2385
2469
|
end
|
2386
2470
|
end
|
2387
2471
|
|
@@ -2478,6 +2562,25 @@ module Google
|
|
2478
2562
|
end
|
2479
2563
|
end
|
2480
2564
|
|
2565
|
+
# Response for GenerateRBACRoleBindingYAML.
|
2566
|
+
class GenerateMembershipRbacRoleBindingYamlResponse
|
2567
|
+
include Google::Apis::Core::Hashable
|
2568
|
+
|
2569
|
+
# a yaml text blob including the RBAC policies.
|
2570
|
+
# Corresponds to the JSON property `roleBindingsYaml`
|
2571
|
+
# @return [String]
|
2572
|
+
attr_accessor :role_bindings_yaml
|
2573
|
+
|
2574
|
+
def initialize(**args)
|
2575
|
+
update!(**args)
|
2576
|
+
end
|
2577
|
+
|
2578
|
+
# Update properties of this object
|
2579
|
+
def update!(**args)
|
2580
|
+
@role_bindings_yaml = args[:role_bindings_yaml] if args.key?(:role_bindings_yaml)
|
2581
|
+
end
|
2582
|
+
end
|
2583
|
+
|
2481
2584
|
# GkeCluster contains information specific to GKE clusters.
|
2482
2585
|
class GkeCluster
|
2483
2586
|
include Google::Apis::Core::Hashable
|
@@ -3066,6 +3169,33 @@ module Google
|
|
3066
3169
|
end
|
3067
3170
|
end
|
3068
3171
|
|
3172
|
+
# List of Membership RBACRoleBindings.
|
3173
|
+
class ListMembershipRbacRoleBindingsResponse
|
3174
|
+
include Google::Apis::Core::Hashable
|
3175
|
+
|
3176
|
+
# A token to request the next page of resources from the `
|
3177
|
+
# ListMembershipRBACRoleBindings` method. The value of an empty string means
|
3178
|
+
# that there are no more resources to return.
|
3179
|
+
# Corresponds to the JSON property `nextPageToken`
|
3180
|
+
# @return [String]
|
3181
|
+
attr_accessor :next_page_token
|
3182
|
+
|
3183
|
+
# The list of Membership RBACRoleBindings.
|
3184
|
+
# Corresponds to the JSON property `rbacrolebindings`
|
3185
|
+
# @return [Array<Google::Apis::GkehubV1alpha::RbacRoleBinding>]
|
3186
|
+
attr_accessor :rbacrolebindings
|
3187
|
+
|
3188
|
+
def initialize(**args)
|
3189
|
+
update!(**args)
|
3190
|
+
end
|
3191
|
+
|
3192
|
+
# Update properties of this object
|
3193
|
+
def update!(**args)
|
3194
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3195
|
+
@rbacrolebindings = args[:rbacrolebindings] if args.key?(:rbacrolebindings)
|
3196
|
+
end
|
3197
|
+
end
|
3198
|
+
|
3069
3199
|
# Response message for the `GkeHub.ListMemberships` method.
|
3070
3200
|
class ListMembershipsResponse
|
3071
3201
|
include Google::Apis::Core::Hashable
|
@@ -3534,12 +3664,6 @@ module Google
|
|
3534
3664
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec]
|
3535
3665
|
attr_accessor :configmanagement
|
3536
3666
|
|
3537
|
-
# True if value of `feature_spec` was inherited from a fleet-level default.
|
3538
|
-
# Corresponds to the JSON property `fleetInherited`
|
3539
|
-
# @return [Boolean]
|
3540
|
-
attr_accessor :fleet_inherited
|
3541
|
-
alias_method :fleet_inherited?, :fleet_inherited
|
3542
|
-
|
3543
3667
|
# **FleetObservability**: The membership-specific input for FleetObservability
|
3544
3668
|
# feature.
|
3545
3669
|
# Corresponds to the JSON property `fleetobservability`
|
@@ -3556,6 +3680,11 @@ module Google
|
|
3556
3680
|
# @return [Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec]
|
3557
3681
|
attr_accessor :mesh
|
3558
3682
|
|
3683
|
+
# Origin defines where this MembershipFeatureSpec originated from.
|
3684
|
+
# Corresponds to the JSON property `origin`
|
3685
|
+
# @return [Google::Apis::GkehubV1alpha::Origin]
|
3686
|
+
attr_accessor :origin
|
3687
|
+
|
3559
3688
|
# **Policy Controller**: Configuration for a single cluster. Intended to
|
3560
3689
|
# parallel the PolicyController CR.
|
3561
3690
|
# Corresponds to the JSON property `policycontroller`
|
@@ -3577,10 +3706,10 @@ module Google
|
|
3577
3706
|
@anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
|
3578
3707
|
@cloudbuild = args[:cloudbuild] if args.key?(:cloudbuild)
|
3579
3708
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
3580
|
-
@fleet_inherited = args[:fleet_inherited] if args.key?(:fleet_inherited)
|
3581
3709
|
@fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
|
3582
3710
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
3583
3711
|
@mesh = args[:mesh] if args.key?(:mesh)
|
3712
|
+
@origin = args[:origin] if args.key?(:origin)
|
3584
3713
|
@policycontroller = args[:policycontroller] if args.key?(:policycontroller)
|
3585
3714
|
@workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate)
|
3586
3715
|
end
|
@@ -4077,6 +4206,25 @@ module Google
|
|
4077
4206
|
end
|
4078
4207
|
end
|
4079
4208
|
|
4209
|
+
# Origin defines where this MembershipFeatureSpec originated from.
|
4210
|
+
class Origin
|
4211
|
+
include Google::Apis::Core::Hashable
|
4212
|
+
|
4213
|
+
# Type specifies which type of origin is set.
|
4214
|
+
# Corresponds to the JSON property `type`
|
4215
|
+
# @return [String]
|
4216
|
+
attr_accessor :type
|
4217
|
+
|
4218
|
+
def initialize(**args)
|
4219
|
+
update!(**args)
|
4220
|
+
end
|
4221
|
+
|
4222
|
+
# Update properties of this object
|
4223
|
+
def update!(**args)
|
4224
|
+
@type = args[:type] if args.key?(:type)
|
4225
|
+
end
|
4226
|
+
end
|
4227
|
+
|
4080
4228
|
# An Identity and Access Management (IAM) policy, which specifies access
|
4081
4229
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
4082
4230
|
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
@@ -4177,16 +4325,11 @@ module Google
|
|
4177
4325
|
class PolicyControllerBundleInstallSpec
|
4178
4326
|
include Google::Apis::Core::Hashable
|
4179
4327
|
|
4180
|
-
#
|
4328
|
+
# The set of namespaces to be exempted from the bundle.
|
4181
4329
|
# Corresponds to the JSON property `exemptedNamespaces`
|
4182
4330
|
# @return [Array<String>]
|
4183
4331
|
attr_accessor :exempted_namespaces
|
4184
4332
|
|
4185
|
-
# Management specifies how the bundle will be managed by the controller.
|
4186
|
-
# Corresponds to the JSON property `management`
|
4187
|
-
# @return [String]
|
4188
|
-
attr_accessor :management
|
4189
|
-
|
4190
4333
|
def initialize(**args)
|
4191
4334
|
update!(**args)
|
4192
4335
|
end
|
@@ -4194,7 +4337,6 @@ module Google
|
|
4194
4337
|
# Update properties of this object
|
4195
4338
|
def update!(**args)
|
4196
4339
|
@exempted_namespaces = args[:exempted_namespaces] if args.key?(:exempted_namespaces)
|
4197
|
-
@management = args[:management] if args.key?(:management)
|
4198
4340
|
end
|
4199
4341
|
end
|
4200
4342
|
|
@@ -4265,11 +4407,6 @@ module Google
|
|
4265
4407
|
attr_accessor :referential_rules_enabled
|
4266
4408
|
alias_method :referential_rules_enabled?, :referential_rules_enabled
|
4267
4409
|
|
4268
|
-
# The config specifying which default library templates to install.
|
4269
|
-
# Corresponds to the JSON property `templateLibraryConfig`
|
4270
|
-
# @return [Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig]
|
4271
|
-
attr_accessor :template_library_config
|
4272
|
-
|
4273
4410
|
def initialize(**args)
|
4274
4411
|
update!(**args)
|
4275
4412
|
end
|
@@ -4286,7 +4423,6 @@ module Google
|
|
4286
4423
|
@mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
|
4287
4424
|
@policy_content = args[:policy_content] if args.key?(:policy_content)
|
4288
4425
|
@referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
|
4289
|
-
@template_library_config = args[:template_library_config] if args.key?(:template_library_config)
|
4290
4426
|
end
|
4291
4427
|
end
|
4292
4428
|
|
@@ -4326,12 +4462,6 @@ module Google
|
|
4326
4462
|
# @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
|
4327
4463
|
attr_accessor :component_states
|
4328
4464
|
|
4329
|
-
# The state of the template library and any bundles included in the chosen
|
4330
|
-
# version of the manifest
|
4331
|
-
# Corresponds to the JSON property `contentStates`
|
4332
|
-
# @return [Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState>]
|
4333
|
-
attr_accessor :content_states
|
4334
|
-
|
4335
4465
|
# The state of the policy controller policy content
|
4336
4466
|
# Corresponds to the JSON property `policyContentState`
|
4337
4467
|
# @return [Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentState]
|
@@ -4350,7 +4480,6 @@ module Google
|
|
4350
4480
|
# Update properties of this object
|
4351
4481
|
def update!(**args)
|
4352
4482
|
@component_states = args[:component_states] if args.key?(:component_states)
|
4353
|
-
@content_states = args[:content_states] if args.key?(:content_states)
|
4354
4483
|
@policy_content_state = args[:policy_content_state] if args.key?(:policy_content_state)
|
4355
4484
|
@state = args[:state] if args.key?(:state)
|
4356
4485
|
end
|
@@ -4471,6 +4600,11 @@ module Google
|
|
4471
4600
|
# @return [Google::Apis::GkehubV1alpha::PolicyControllerResourceRequirements]
|
4472
4601
|
attr_accessor :container_resources
|
4473
4602
|
|
4603
|
+
# Pod affinity configuration.
|
4604
|
+
# Corresponds to the JSON property `podAffinity`
|
4605
|
+
# @return [String]
|
4606
|
+
attr_accessor :pod_affinity
|
4607
|
+
|
4474
4608
|
# Pod anti-affinity enablement.
|
4475
4609
|
# Corresponds to the JSON property `podAntiAffinity`
|
4476
4610
|
# @return [Boolean]
|
@@ -4494,6 +4628,7 @@ module Google
|
|
4494
4628
|
# Update properties of this object
|
4495
4629
|
def update!(**args)
|
4496
4630
|
@container_resources = args[:container_resources] if args.key?(:container_resources)
|
4631
|
+
@pod_affinity = args[:pod_affinity] if args.key?(:pod_affinity)
|
4497
4632
|
@pod_anti_affinity = args[:pod_anti_affinity] if args.key?(:pod_anti_affinity)
|
4498
4633
|
@pod_tolerations = args[:pod_tolerations] if args.key?(:pod_tolerations)
|
4499
4634
|
@replica_count = args[:replica_count] if args.key?(:replica_count)
|
@@ -4554,12 +4689,6 @@ module Google
|
|
4554
4689
|
class PolicyControllerTemplateLibraryConfig
|
4555
4690
|
include Google::Apis::Core::Hashable
|
4556
4691
|
|
4557
|
-
# Whether the standard template library should be installed or not.
|
4558
|
-
# Corresponds to the JSON property `included`
|
4559
|
-
# @return [Boolean]
|
4560
|
-
attr_accessor :included
|
4561
|
-
alias_method :included?, :included
|
4562
|
-
|
4563
4692
|
# Configures the manner in which the template library is installed on the
|
4564
4693
|
# cluster.
|
4565
4694
|
# Corresponds to the JSON property `installation`
|
@@ -4572,7 +4701,6 @@ module Google
|
|
4572
4701
|
|
4573
4702
|
# Update properties of this object
|
4574
4703
|
def update!(**args)
|
4575
|
-
@included = args[:included] if args.key?(:included)
|
4576
4704
|
@installation = args[:installation] if args.key?(:installation)
|
4577
4705
|
end
|
4578
4706
|
end
|
@@ -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.57.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230627"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -286,12 +286,6 @@ module Google
|
|
286
286
|
include Google::Apis::Core::JsonObjectSupport
|
287
287
|
end
|
288
288
|
|
289
|
-
class ConfigManagementManaged
|
290
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
-
|
292
|
-
include Google::Apis::Core::JsonObjectSupport
|
293
|
-
end
|
294
|
-
|
295
289
|
class ConfigManagementMembershipSpec
|
296
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
291
|
|
@@ -418,6 +412,12 @@ module Google
|
|
418
412
|
include Google::Apis::Core::JsonObjectSupport
|
419
413
|
end
|
420
414
|
|
415
|
+
class FleetObservabilityFeatureError
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
421
421
|
class FleetObservabilityFeatureSpec
|
422
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
423
|
|
@@ -430,6 +430,24 @@ module Google
|
|
430
430
|
include Google::Apis::Core::JsonObjectSupport
|
431
431
|
end
|
432
432
|
|
433
|
+
class FleetObservabilityFleetObservabilityBaseFeatureState
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
439
|
+
class FleetObservabilityFleetObservabilityLoggingState
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
445
|
+
class FleetObservabilityFleetObservabilityMonitoringState
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
433
451
|
class FleetObservabilityLoggingConfig
|
434
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
453
|
|
@@ -460,6 +478,12 @@ module Google
|
|
460
478
|
include Google::Apis::Core::JsonObjectSupport
|
461
479
|
end
|
462
480
|
|
481
|
+
class GenerateMembershipRbacRoleBindingYamlResponse
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
463
487
|
class GkeCluster
|
464
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
489
|
|
@@ -550,6 +574,12 @@ module Google
|
|
550
574
|
include Google::Apis::Core::JsonObjectSupport
|
551
575
|
end
|
552
576
|
|
577
|
+
class ListMembershipRbacRoleBindingsResponse
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
553
583
|
class ListMembershipsResponse
|
554
584
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
585
|
|
@@ -688,6 +718,12 @@ module Google
|
|
688
718
|
include Google::Apis::Core::JsonObjectSupport
|
689
719
|
end
|
690
720
|
|
721
|
+
class Origin
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
|
+
|
724
|
+
include Google::Apis::Core::JsonObjectSupport
|
725
|
+
end
|
726
|
+
|
691
727
|
class Policy
|
692
728
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
693
729
|
|
@@ -1210,13 +1246,12 @@ module Google
|
|
1210
1246
|
property :enabled, as: 'enabled'
|
1211
1247
|
property :git, as: 'git', class: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig::Representation
|
1212
1248
|
|
1213
|
-
property :managed, as: 'managed', class: Google::Apis::GkehubV1alpha::ConfigManagementManaged, decorator: Google::Apis::GkehubV1alpha::ConfigManagementManaged::Representation
|
1214
|
-
|
1215
1249
|
property :metrics_gcp_service_account_email, as: 'metricsGcpServiceAccountEmail'
|
1216
1250
|
property :oci, as: 'oci', class: Google::Apis::GkehubV1alpha::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementOciConfig::Representation
|
1217
1251
|
|
1218
1252
|
property :prevent_drift, as: 'preventDrift'
|
1219
1253
|
property :source_format, as: 'sourceFormat'
|
1254
|
+
property :stop_syncing, as: 'stopSyncing'
|
1220
1255
|
end
|
1221
1256
|
end
|
1222
1257
|
|
@@ -1352,14 +1387,6 @@ module Google
|
|
1352
1387
|
end
|
1353
1388
|
end
|
1354
1389
|
|
1355
|
-
class ConfigManagementManaged
|
1356
|
-
# @private
|
1357
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1358
|
-
property :enabled, as: 'enabled'
|
1359
|
-
property :stop_syncing, as: 'stopSyncing'
|
1360
|
-
end
|
1361
|
-
end
|
1362
|
-
|
1363
1390
|
class ConfigManagementMembershipSpec
|
1364
1391
|
# @private
|
1365
1392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1370,6 +1397,7 @@ module Google
|
|
1370
1397
|
|
1371
1398
|
property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig::Representation
|
1372
1399
|
|
1400
|
+
property :management, as: 'management'
|
1373
1401
|
property :policy_controller, as: 'policyController', class: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController, decorator: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController::Representation
|
1374
1402
|
|
1375
1403
|
property :version, as: 'version'
|
@@ -1595,6 +1623,14 @@ module Google
|
|
1595
1623
|
end
|
1596
1624
|
end
|
1597
1625
|
|
1626
|
+
class FleetObservabilityFeatureError
|
1627
|
+
# @private
|
1628
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1629
|
+
property :code, as: 'code'
|
1630
|
+
property :description, as: 'description'
|
1631
|
+
end
|
1632
|
+
end
|
1633
|
+
|
1598
1634
|
class FleetObservabilityFeatureSpec
|
1599
1635
|
# @private
|
1600
1636
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1606,6 +1642,37 @@ module Google
|
|
1606
1642
|
class FleetObservabilityFeatureState
|
1607
1643
|
# @private
|
1608
1644
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1645
|
+
property :logging, as: 'logging', class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityLoggingState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityLoggingState::Representation
|
1646
|
+
|
1647
|
+
property :monitoring, as: 'monitoring', class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityMonitoringState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityMonitoringState::Representation
|
1648
|
+
|
1649
|
+
end
|
1650
|
+
end
|
1651
|
+
|
1652
|
+
class FleetObservabilityFleetObservabilityBaseFeatureState
|
1653
|
+
# @private
|
1654
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1655
|
+
property :code, as: 'code'
|
1656
|
+
collection :errors, as: 'errors', class: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureError, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFeatureError::Representation
|
1657
|
+
|
1658
|
+
end
|
1659
|
+
end
|
1660
|
+
|
1661
|
+
class FleetObservabilityFleetObservabilityLoggingState
|
1662
|
+
# @private
|
1663
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1664
|
+
property :default_log, as: 'defaultLog', class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
|
1665
|
+
|
1666
|
+
property :scope_log, as: 'scopeLog', class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
|
1667
|
+
|
1668
|
+
end
|
1669
|
+
end
|
1670
|
+
|
1671
|
+
class FleetObservabilityFleetObservabilityMonitoringState
|
1672
|
+
# @private
|
1673
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1674
|
+
property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState::Representation
|
1675
|
+
|
1609
1676
|
end
|
1610
1677
|
end
|
1611
1678
|
|
@@ -1646,6 +1713,13 @@ module Google
|
|
1646
1713
|
end
|
1647
1714
|
end
|
1648
1715
|
|
1716
|
+
class GenerateMembershipRbacRoleBindingYamlResponse
|
1717
|
+
# @private
|
1718
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1719
|
+
property :role_bindings_yaml, as: 'roleBindingsYaml'
|
1720
|
+
end
|
1721
|
+
end
|
1722
|
+
|
1649
1723
|
class GkeCluster
|
1650
1724
|
# @private
|
1651
1725
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1805,6 +1879,15 @@ module Google
|
|
1805
1879
|
end
|
1806
1880
|
end
|
1807
1881
|
|
1882
|
+
class ListMembershipRbacRoleBindingsResponse
|
1883
|
+
# @private
|
1884
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1885
|
+
property :next_page_token, as: 'nextPageToken'
|
1886
|
+
collection :rbacrolebindings, as: 'rbacrolebindings', class: Google::Apis::GkehubV1alpha::RbacRoleBinding, decorator: Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
|
1887
|
+
|
1888
|
+
end
|
1889
|
+
end
|
1890
|
+
|
1808
1891
|
class ListMembershipsResponse
|
1809
1892
|
# @private
|
1810
1893
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1937,13 +2020,14 @@ module Google
|
|
1937
2020
|
|
1938
2021
|
property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec::Representation
|
1939
2022
|
|
1940
|
-
property :fleet_inherited, as: 'fleetInherited'
|
1941
2023
|
property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1alpha::FleetObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1alpha::FleetObservabilityMembershipSpec::Representation
|
1942
2024
|
|
1943
2025
|
property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1alpha::IdentityServiceMembershipSpec::Representation
|
1944
2026
|
|
1945
2027
|
property :mesh, as: 'mesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipSpec::Representation
|
1946
2028
|
|
2029
|
+
property :origin, as: 'origin', class: Google::Apis::GkehubV1alpha::Origin, decorator: Google::Apis::GkehubV1alpha::Origin::Representation
|
2030
|
+
|
1947
2031
|
property :policycontroller, as: 'policycontroller', class: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerMembershipSpec::Representation
|
1948
2032
|
|
1949
2033
|
property :workloadcertificate, as: 'workloadcertificate', class: Google::Apis::GkehubV1alpha::MembershipSpec, decorator: Google::Apis::GkehubV1alpha::MembershipSpec::Representation
|
@@ -2080,6 +2164,13 @@ module Google
|
|
2080
2164
|
end
|
2081
2165
|
end
|
2082
2166
|
|
2167
|
+
class Origin
|
2168
|
+
# @private
|
2169
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2170
|
+
property :type, as: 'type'
|
2171
|
+
end
|
2172
|
+
end
|
2173
|
+
|
2083
2174
|
class Policy
|
2084
2175
|
# @private
|
2085
2176
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2096,7 +2187,6 @@ module Google
|
|
2096
2187
|
# @private
|
2097
2188
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2098
2189
|
collection :exempted_namespaces, as: 'exemptedNamespaces'
|
2099
|
-
property :management, as: 'management'
|
2100
2190
|
end
|
2101
2191
|
end
|
2102
2192
|
|
@@ -2116,8 +2206,6 @@ module Google
|
|
2116
2206
|
property :policy_content, as: 'policyContent', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec::Representation
|
2117
2207
|
|
2118
2208
|
property :referential_rules_enabled, as: 'referentialRulesEnabled'
|
2119
|
-
property :template_library_config, as: 'templateLibraryConfig', class: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig, decorator: Google::Apis::GkehubV1alpha::PolicyControllerTemplateLibraryConfig::Representation
|
2120
|
-
|
2121
2209
|
end
|
2122
2210
|
end
|
2123
2211
|
|
@@ -2135,8 +2223,6 @@ module Google
|
|
2135
2223
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2136
2224
|
hash :component_states, as: 'componentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
|
2137
2225
|
|
2138
|
-
hash :content_states, as: 'contentStates', class: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerOnClusterState::Representation
|
2139
|
-
|
2140
2226
|
property :policy_content_state, as: 'policyContentState', class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentState, decorator: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentState::Representation
|
2141
2227
|
|
2142
2228
|
property :state, as: 'state'
|
@@ -2185,6 +2271,7 @@ module Google
|
|
2185
2271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2186
2272
|
property :container_resources, as: 'containerResources', class: Google::Apis::GkehubV1alpha::PolicyControllerResourceRequirements, decorator: Google::Apis::GkehubV1alpha::PolicyControllerResourceRequirements::Representation
|
2187
2273
|
|
2274
|
+
property :pod_affinity, as: 'podAffinity'
|
2188
2275
|
property :pod_anti_affinity, as: 'podAntiAffinity'
|
2189
2276
|
collection :pod_tolerations, as: 'podTolerations', class: Google::Apis::GkehubV1alpha::PolicyControllerToleration, decorator: Google::Apis::GkehubV1alpha::PolicyControllerToleration::Representation
|
2190
2277
|
|
@@ -2213,7 +2300,6 @@ module Google
|
|
2213
2300
|
class PolicyControllerTemplateLibraryConfig
|
2214
2301
|
# @private
|
2215
2302
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2216
|
-
property :included, as: 'included'
|
2217
2303
|
property :installation, as: 'installation'
|
2218
2304
|
end
|
2219
2305
|
end
|
@@ -1377,6 +1377,231 @@ module Google
|
|
1377
1377
|
execute_or_queue_command(command, &block)
|
1378
1378
|
end
|
1379
1379
|
|
1380
|
+
# Creates a Membership RBACRoleBinding.
|
1381
|
+
# @param [String] parent
|
1382
|
+
# Required. The parent (project and location) where the RBACRoleBinding will be
|
1383
|
+
# created. Specified in the format `projects/*/locations/*/memberships/*`.
|
1384
|
+
# @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
|
1385
|
+
# @param [String] rbacrolebinding_id
|
1386
|
+
# Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
|
1387
|
+
# be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
|
1388
|
+
# It must consist of lower case alphanumeric characters or `-` 3. It must start
|
1389
|
+
# and end with an alphanumeric character Which can be expressed as the regex: `[
|
1390
|
+
# a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
|
1391
|
+
# @param [String] fields
|
1392
|
+
# Selector specifying which fields to include in a partial response.
|
1393
|
+
# @param [String] quota_user
|
1394
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1395
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1396
|
+
# @param [Google::Apis::RequestOptions] options
|
1397
|
+
# Request-specific options
|
1398
|
+
#
|
1399
|
+
# @yield [result, err] Result & error if block supplied
|
1400
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
1401
|
+
# @yieldparam err [StandardError] error object if request failed
|
1402
|
+
#
|
1403
|
+
# @return [Google::Apis::GkehubV1alpha::Operation]
|
1404
|
+
#
|
1405
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1406
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1407
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1408
|
+
def create_project_location_membership_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1409
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/rbacrolebindings', options)
|
1410
|
+
command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
|
1411
|
+
command.request_object = rbac_role_binding_object
|
1412
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
1413
|
+
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
1414
|
+
command.params['parent'] = parent unless parent.nil?
|
1415
|
+
command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
|
1416
|
+
command.query['fields'] = fields unless fields.nil?
|
1417
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1418
|
+
execute_or_queue_command(command, &block)
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
# Deletes a Membership RBACRoleBinding.
|
1422
|
+
# @param [String] name
|
1423
|
+
# Required. The RBACRoleBinding resource name in the format `projects/*/
|
1424
|
+
# locations/*/memberships/*/rbacrolebindings/*`.
|
1425
|
+
# @param [String] fields
|
1426
|
+
# Selector specifying which fields to include in a partial response.
|
1427
|
+
# @param [String] quota_user
|
1428
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1429
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1430
|
+
# @param [Google::Apis::RequestOptions] options
|
1431
|
+
# Request-specific options
|
1432
|
+
#
|
1433
|
+
# @yield [result, err] Result & error if block supplied
|
1434
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
1435
|
+
# @yieldparam err [StandardError] error object if request failed
|
1436
|
+
#
|
1437
|
+
# @return [Google::Apis::GkehubV1alpha::Operation]
|
1438
|
+
#
|
1439
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1440
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1441
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1442
|
+
def delete_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
|
1443
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1444
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
1445
|
+
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
1446
|
+
command.params['name'] = name unless name.nil?
|
1447
|
+
command.query['fields'] = fields unless fields.nil?
|
1448
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1449
|
+
execute_or_queue_command(command, &block)
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
# Generates a YAML of the RBAC policies for the specified RoleBinding and its
|
1453
|
+
# associated impersonation resources.
|
1454
|
+
# @param [String] parent
|
1455
|
+
# Required. The parent (project and location) where the RBACRoleBinding will be
|
1456
|
+
# created. Specified in the format `projects/*/locations/*/memberships/*`.
|
1457
|
+
# @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
|
1458
|
+
# @param [String] rbacrolebinding_id
|
1459
|
+
# Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
|
1460
|
+
# be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
|
1461
|
+
# It must consist of lower case alphanumeric characters or `-` 3. It must start
|
1462
|
+
# and end with an alphanumeric character Which can be expressed as the regex: `[
|
1463
|
+
# a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
|
1464
|
+
# @param [String] fields
|
1465
|
+
# Selector specifying which fields to include in a partial response.
|
1466
|
+
# @param [String] quota_user
|
1467
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1468
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1469
|
+
# @param [Google::Apis::RequestOptions] options
|
1470
|
+
# Request-specific options
|
1471
|
+
#
|
1472
|
+
# @yield [result, err] Result & error if block supplied
|
1473
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::GenerateMembershipRbacRoleBindingYamlResponse] parsed result object
|
1474
|
+
# @yieldparam err [StandardError] error object if request failed
|
1475
|
+
#
|
1476
|
+
# @return [Google::Apis::GkehubV1alpha::GenerateMembershipRbacRoleBindingYamlResponse]
|
1477
|
+
#
|
1478
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1479
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1480
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1481
|
+
def generate_project_location_membership_rbacrolebinding_membership_rbac_role_binding_yaml(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1482
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/rbacrolebindings:generateMembershipRBACRoleBindingYAML', options)
|
1483
|
+
command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
|
1484
|
+
command.request_object = rbac_role_binding_object
|
1485
|
+
command.response_representation = Google::Apis::GkehubV1alpha::GenerateMembershipRbacRoleBindingYamlResponse::Representation
|
1486
|
+
command.response_class = Google::Apis::GkehubV1alpha::GenerateMembershipRbacRoleBindingYamlResponse
|
1487
|
+
command.params['parent'] = parent unless parent.nil?
|
1488
|
+
command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
|
1489
|
+
command.query['fields'] = fields unless fields.nil?
|
1490
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1491
|
+
execute_or_queue_command(command, &block)
|
1492
|
+
end
|
1493
|
+
|
1494
|
+
# Returns the details of a Membership RBACRoleBinding.
|
1495
|
+
# @param [String] name
|
1496
|
+
# Required. The RBACRoleBinding resource name in the format `projects/*/
|
1497
|
+
# locations/*/memberships/*/rbacrolebindings/*`.
|
1498
|
+
# @param [String] fields
|
1499
|
+
# Selector specifying which fields to include in a partial response.
|
1500
|
+
# @param [String] quota_user
|
1501
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1502
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1503
|
+
# @param [Google::Apis::RequestOptions] options
|
1504
|
+
# Request-specific options
|
1505
|
+
#
|
1506
|
+
# @yield [result, err] Result & error if block supplied
|
1507
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::RbacRoleBinding] parsed result object
|
1508
|
+
# @yieldparam err [StandardError] error object if request failed
|
1509
|
+
#
|
1510
|
+
# @return [Google::Apis::GkehubV1alpha::RbacRoleBinding]
|
1511
|
+
#
|
1512
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1513
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1514
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1515
|
+
def get_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
|
1516
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1517
|
+
command.response_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
|
1518
|
+
command.response_class = Google::Apis::GkehubV1alpha::RbacRoleBinding
|
1519
|
+
command.params['name'] = name unless name.nil?
|
1520
|
+
command.query['fields'] = fields unless fields.nil?
|
1521
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1522
|
+
execute_or_queue_command(command, &block)
|
1523
|
+
end
|
1524
|
+
|
1525
|
+
# Lists all Membership RBACRoleBindings.
|
1526
|
+
# @param [String] parent
|
1527
|
+
# Required. The parent (project and location) where the Features will be listed.
|
1528
|
+
# Specified in the format `projects/*/locations/*/memberships/*`.
|
1529
|
+
# @param [Fixnum] page_size
|
1530
|
+
# Optional. When requesting a 'page' of resources, `page_size` specifies number
|
1531
|
+
# of resources to return. If unspecified or set to 0, all resources will be
|
1532
|
+
# returned.
|
1533
|
+
# @param [String] page_token
|
1534
|
+
# Optional. Token returned by previous call to `ListMembershipRBACRoleBindings`
|
1535
|
+
# which specifies the position in the list from where to continue listing the
|
1536
|
+
# resources.
|
1537
|
+
# @param [String] fields
|
1538
|
+
# Selector specifying which fields to include in a partial response.
|
1539
|
+
# @param [String] quota_user
|
1540
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1541
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1542
|
+
# @param [Google::Apis::RequestOptions] options
|
1543
|
+
# Request-specific options
|
1544
|
+
#
|
1545
|
+
# @yield [result, err] Result & error if block supplied
|
1546
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::ListMembershipRbacRoleBindingsResponse] parsed result object
|
1547
|
+
# @yieldparam err [StandardError] error object if request failed
|
1548
|
+
#
|
1549
|
+
# @return [Google::Apis::GkehubV1alpha::ListMembershipRbacRoleBindingsResponse]
|
1550
|
+
#
|
1551
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1552
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1553
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1554
|
+
def list_project_location_membership_rbacrolebindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1555
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/rbacrolebindings', options)
|
1556
|
+
command.response_representation = Google::Apis::GkehubV1alpha::ListMembershipRbacRoleBindingsResponse::Representation
|
1557
|
+
command.response_class = Google::Apis::GkehubV1alpha::ListMembershipRbacRoleBindingsResponse
|
1558
|
+
command.params['parent'] = parent unless parent.nil?
|
1559
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1560
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1561
|
+
command.query['fields'] = fields unless fields.nil?
|
1562
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1563
|
+
execute_or_queue_command(command, &block)
|
1564
|
+
end
|
1565
|
+
|
1566
|
+
# Updates a Membership RBACRoleBinding.
|
1567
|
+
# @param [String] name
|
1568
|
+
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
1569
|
+
# location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
|
1570
|
+
# projects/`project`/locations/`location`/memberships/`membership`/
|
1571
|
+
# rbacrolebindings/`rbacrolebinding``
|
1572
|
+
# @param [Google::Apis::GkehubV1alpha::RbacRoleBinding] rbac_role_binding_object
|
1573
|
+
# @param [String] update_mask
|
1574
|
+
# Required. The fields to be updated.
|
1575
|
+
# @param [String] fields
|
1576
|
+
# Selector specifying which fields to include in a partial response.
|
1577
|
+
# @param [String] quota_user
|
1578
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1579
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1580
|
+
# @param [Google::Apis::RequestOptions] options
|
1581
|
+
# Request-specific options
|
1582
|
+
#
|
1583
|
+
# @yield [result, err] Result & error if block supplied
|
1584
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Operation] parsed result object
|
1585
|
+
# @yieldparam err [StandardError] error object if request failed
|
1586
|
+
#
|
1587
|
+
# @return [Google::Apis::GkehubV1alpha::Operation]
|
1588
|
+
#
|
1589
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1590
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1591
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1592
|
+
def patch_project_location_membership_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1593
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
1594
|
+
command.request_representation = Google::Apis::GkehubV1alpha::RbacRoleBinding::Representation
|
1595
|
+
command.request_object = rbac_role_binding_object
|
1596
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Operation::Representation
|
1597
|
+
command.response_class = Google::Apis::GkehubV1alpha::Operation
|
1598
|
+
command.params['name'] = name unless name.nil?
|
1599
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1600
|
+
command.query['fields'] = fields unless fields.nil?
|
1601
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1602
|
+
execute_or_queue_command(command, &block)
|
1603
|
+
end
|
1604
|
+
|
1380
1605
|
# Creates a fleet namespace.
|
1381
1606
|
# @param [String] parent
|
1382
1607
|
# Required. The parent (project and location) where the Namespace will be
|
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.57.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-
|
11
|
+
date: 2023-07-02 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.57.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: []
|