google-apis-gkehub_v1 0.76.0 → 0.78.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: d237acd1db8290f5b4ccd1d2c05237086c0100c2b47dfed08c61ba7419a4e59e
|
4
|
+
data.tar.gz: 5098782ad6e4b181ae4f0decf5af34b789b1b7091c9836da922ea747f864a394
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5113ca81e68f1b3a1915bd2a5b6ec639373e094358f76a7b0065e82213d4d2d1a2321e71cb8ff82f0474b3236e545b436a982963e5564b0a301fcea46f5b9f07
|
7
|
+
data.tar.gz: 1cec6fed445d3a8ec349be26f641d0766cb896ce2100a62a513f7935d5fc24777afebd6f3057cb6dcd3756ad368086f3647bc07f81b7e45073a25668c3fec3f0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1
|
2
2
|
|
3
|
+
### v0.78.0 (2024-08-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240727
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.77.0 (2024-07-25)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240706
|
11
|
+
|
3
12
|
### v0.76.0 (2024-06-30)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240623
|
@@ -908,11 +908,21 @@ module Google
|
|
908
908
|
# @return [String]
|
909
909
|
attr_accessor :monitor
|
910
910
|
|
911
|
+
# Deployment state of otel-collector
|
912
|
+
# Corresponds to the JSON property `otelCollector`
|
913
|
+
# @return [String]
|
914
|
+
attr_accessor :otel_collector
|
915
|
+
|
911
916
|
# Deployment state of reconciler-manager pod
|
912
917
|
# Corresponds to the JSON property `reconcilerManager`
|
913
918
|
# @return [String]
|
914
919
|
attr_accessor :reconciler_manager
|
915
920
|
|
921
|
+
# Deployment state of resource-group-controller-manager
|
922
|
+
# Corresponds to the JSON property `resourceGroupControllerManager`
|
923
|
+
# @return [String]
|
924
|
+
attr_accessor :resource_group_controller_manager
|
925
|
+
|
916
926
|
# Deployment state of root-reconciler
|
917
927
|
# Corresponds to the JSON property `rootReconciler`
|
918
928
|
# @return [String]
|
@@ -933,7 +943,9 @@ module Google
|
|
933
943
|
@git_sync = args[:git_sync] if args.key?(:git_sync)
|
934
944
|
@importer = args[:importer] if args.key?(:importer)
|
935
945
|
@monitor = args[:monitor] if args.key?(:monitor)
|
946
|
+
@otel_collector = args[:otel_collector] if args.key?(:otel_collector)
|
936
947
|
@reconciler_manager = args[:reconciler_manager] if args.key?(:reconciler_manager)
|
948
|
+
@resource_group_controller_manager = args[:resource_group_controller_manager] if args.key?(:resource_group_controller_manager)
|
937
949
|
@root_reconciler = args[:root_reconciler] if args.key?(:root_reconciler)
|
938
950
|
@syncer = args[:syncer] if args.key?(:syncer)
|
939
951
|
end
|
@@ -1017,7 +1029,7 @@ module Google
|
|
1017
1029
|
class ConfigManagementConfigSyncVersion
|
1018
1030
|
include Google::Apis::Core::Hashable
|
1019
1031
|
|
1020
|
-
# Version of the deployed
|
1032
|
+
# Version of the deployed admission-webhook pod
|
1021
1033
|
# Corresponds to the JSON property `admissionWebhook`
|
1022
1034
|
# @return [String]
|
1023
1035
|
attr_accessor :admission_webhook
|
@@ -1037,11 +1049,21 @@ module Google
|
|
1037
1049
|
# @return [String]
|
1038
1050
|
attr_accessor :monitor
|
1039
1051
|
|
1052
|
+
# Version of the deployed otel-collector pod
|
1053
|
+
# Corresponds to the JSON property `otelCollector`
|
1054
|
+
# @return [String]
|
1055
|
+
attr_accessor :otel_collector
|
1056
|
+
|
1040
1057
|
# Version of the deployed reconciler-manager pod
|
1041
1058
|
# Corresponds to the JSON property `reconcilerManager`
|
1042
1059
|
# @return [String]
|
1043
1060
|
attr_accessor :reconciler_manager
|
1044
1061
|
|
1062
|
+
# Version of the deployed resource-group-controller-manager pod
|
1063
|
+
# Corresponds to the JSON property `resourceGroupControllerManager`
|
1064
|
+
# @return [String]
|
1065
|
+
attr_accessor :resource_group_controller_manager
|
1066
|
+
|
1045
1067
|
# Version of the deployed reconciler container in root-reconciler pod
|
1046
1068
|
# Corresponds to the JSON property `rootReconciler`
|
1047
1069
|
# @return [String]
|
@@ -1062,7 +1084,9 @@ module Google
|
|
1062
1084
|
@git_sync = args[:git_sync] if args.key?(:git_sync)
|
1063
1085
|
@importer = args[:importer] if args.key?(:importer)
|
1064
1086
|
@monitor = args[:monitor] if args.key?(:monitor)
|
1087
|
+
@otel_collector = args[:otel_collector] if args.key?(:otel_collector)
|
1065
1088
|
@reconciler_manager = args[:reconciler_manager] if args.key?(:reconciler_manager)
|
1089
|
+
@resource_group_controller_manager = args[:resource_group_controller_manager] if args.key?(:resource_group_controller_manager)
|
1066
1090
|
@root_reconciler = args[:root_reconciler] if args.key?(:root_reconciler)
|
1067
1091
|
@syncer = args[:syncer] if args.key?(:syncer)
|
1068
1092
|
end
|
@@ -2072,6 +2096,12 @@ module Google
|
|
2072
2096
|
# @return [Google::Apis::GkehubV1::CommonFeatureState]
|
2073
2097
|
attr_accessor :state
|
2074
2098
|
|
2099
|
+
# Output only. List of locations that could not be reached while fetching this
|
2100
|
+
# feature.
|
2101
|
+
# Corresponds to the JSON property `unreachable`
|
2102
|
+
# @return [Array<String>]
|
2103
|
+
attr_accessor :unreachable
|
2104
|
+
|
2075
2105
|
# Output only. When the Feature resource was last updated.
|
2076
2106
|
# Corresponds to the JSON property `updateTime`
|
2077
2107
|
# @return [String]
|
@@ -2095,6 +2125,7 @@ module Google
|
|
2095
2125
|
@scope_states = args[:scope_states] if args.key?(:scope_states)
|
2096
2126
|
@spec = args[:spec] if args.key?(:spec)
|
2097
2127
|
@state = args[:state] if args.key?(:state)
|
2128
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2098
2129
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2099
2130
|
end
|
2100
2131
|
end
|
@@ -2479,6 +2510,25 @@ module Google
|
|
2479
2510
|
end
|
2480
2511
|
end
|
2481
2512
|
|
2513
|
+
# Response for GenerateRBACRoleBindingYAML.
|
2514
|
+
class GenerateMembershipRbacRoleBindingYamlResponse
|
2515
|
+
include Google::Apis::Core::Hashable
|
2516
|
+
|
2517
|
+
# a yaml text blob including the RBAC policies.
|
2518
|
+
# Corresponds to the JSON property `roleBindingsYaml`
|
2519
|
+
# @return [String]
|
2520
|
+
attr_accessor :role_bindings_yaml
|
2521
|
+
|
2522
|
+
def initialize(**args)
|
2523
|
+
update!(**args)
|
2524
|
+
end
|
2525
|
+
|
2526
|
+
# Update properties of this object
|
2527
|
+
def update!(**args)
|
2528
|
+
@role_bindings_yaml = args[:role_bindings_yaml] if args.key?(:role_bindings_yaml)
|
2529
|
+
end
|
2530
|
+
end
|
2531
|
+
|
2482
2532
|
# GkeCluster contains information specific to GKE clusters.
|
2483
2533
|
class GkeCluster
|
2484
2534
|
include Google::Apis::Core::Hashable
|
@@ -5413,7 +5463,7 @@ module Google
|
|
5413
5463
|
# @return [String]
|
5414
5464
|
attr_accessor :control_plane
|
5415
5465
|
|
5416
|
-
# Enables automatic Service Mesh management.
|
5466
|
+
# Optional. Enables automatic Service Mesh management.
|
5417
5467
|
# Corresponds to the JSON property `management`
|
5418
5468
|
# @return [String]
|
5419
5469
|
attr_accessor :management
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1
|
18
18
|
# Version of the google-apis-gkehub_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.78.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 = "20240727"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -448,6 +448,12 @@ module Google
|
|
448
448
|
include Google::Apis::Core::JsonObjectSupport
|
449
449
|
end
|
450
450
|
|
451
|
+
class GenerateMembershipRbacRoleBindingYamlResponse
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
|
+
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
455
|
+
end
|
456
|
+
|
451
457
|
class GkeCluster
|
452
458
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
459
|
|
@@ -1200,7 +1206,9 @@ module Google
|
|
1200
1206
|
property :git_sync, as: 'gitSync'
|
1201
1207
|
property :importer, as: 'importer'
|
1202
1208
|
property :monitor, as: 'monitor'
|
1209
|
+
property :otel_collector, as: 'otelCollector'
|
1203
1210
|
property :reconciler_manager, as: 'reconcilerManager'
|
1211
|
+
property :resource_group_controller_manager, as: 'resourceGroupControllerManager'
|
1204
1212
|
property :root_reconciler, as: 'rootReconciler'
|
1205
1213
|
property :syncer, as: 'syncer'
|
1206
1214
|
end
|
@@ -1237,7 +1245,9 @@ module Google
|
|
1237
1245
|
property :git_sync, as: 'gitSync'
|
1238
1246
|
property :importer, as: 'importer'
|
1239
1247
|
property :monitor, as: 'monitor'
|
1248
|
+
property :otel_collector, as: 'otelCollector'
|
1240
1249
|
property :reconciler_manager, as: 'reconcilerManager'
|
1250
|
+
property :resource_group_controller_manager, as: 'resourceGroupControllerManager'
|
1241
1251
|
property :root_reconciler, as: 'rootReconciler'
|
1242
1252
|
property :syncer, as: 'syncer'
|
1243
1253
|
end
|
@@ -1527,6 +1537,7 @@ module Google
|
|
1527
1537
|
|
1528
1538
|
property :state, as: 'state', class: Google::Apis::GkehubV1::CommonFeatureState, decorator: Google::Apis::GkehubV1::CommonFeatureState::Representation
|
1529
1539
|
|
1540
|
+
collection :unreachable, as: 'unreachable'
|
1530
1541
|
property :update_time, as: 'updateTime'
|
1531
1542
|
end
|
1532
1543
|
end
|
@@ -1661,6 +1672,13 @@ module Google
|
|
1661
1672
|
end
|
1662
1673
|
end
|
1663
1674
|
|
1675
|
+
class GenerateMembershipRbacRoleBindingYamlResponse
|
1676
|
+
# @private
|
1677
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1678
|
+
property :role_bindings_yaml, as: 'roleBindingsYaml'
|
1679
|
+
end
|
1680
|
+
end
|
1681
|
+
|
1664
1682
|
class GkeCluster
|
1665
1683
|
# @private
|
1666
1684
|
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, 'v1/{+name}', options)
|
289
294
|
command.response_representation = Google::Apis::GkehubV1::Feature::Representation
|
290
295
|
command.response_class = Google::Apis::GkehubV1::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, 'v1/{+parent}/features', options)
|
381
392
|
command.response_representation = Google::Apis::GkehubV1::ListFeaturesResponse::Representation
|
382
393
|
command.response_class = Google::Apis::GkehubV1::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)
|
@@ -1294,6 +1306,151 @@ module Google
|
|
1294
1306
|
execute_or_queue_command(command, &block)
|
1295
1307
|
end
|
1296
1308
|
|
1309
|
+
# Creates a Membership RBACRoleBinding.
|
1310
|
+
# @param [String] parent
|
1311
|
+
# Required. The parent (project and location) where the RBACRoleBinding will be
|
1312
|
+
# created. Specified in the format `projects/*/locations/*/memberships/*`.
|
1313
|
+
# @param [Google::Apis::GkehubV1::RbacRoleBinding] rbac_role_binding_object
|
1314
|
+
# @param [String] rbacrolebinding_id
|
1315
|
+
# Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
|
1316
|
+
# be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
|
1317
|
+
# It must consist of lower case alphanumeric characters or `-` 3. It must start
|
1318
|
+
# and end with an alphanumeric character Which can be expressed as the regex: `[
|
1319
|
+
# a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
|
1320
|
+
# @param [String] fields
|
1321
|
+
# Selector specifying which fields to include in a partial response.
|
1322
|
+
# @param [String] quota_user
|
1323
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1324
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1325
|
+
# @param [Google::Apis::RequestOptions] options
|
1326
|
+
# Request-specific options
|
1327
|
+
#
|
1328
|
+
# @yield [result, err] Result & error if block supplied
|
1329
|
+
# @yieldparam result [Google::Apis::GkehubV1::Operation] parsed result object
|
1330
|
+
# @yieldparam err [StandardError] error object if request failed
|
1331
|
+
#
|
1332
|
+
# @return [Google::Apis::GkehubV1::Operation]
|
1333
|
+
#
|
1334
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1335
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1336
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1337
|
+
def create_project_location_membership_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1338
|
+
command = make_simple_command(:post, 'v1/{+parent}/rbacrolebindings', options)
|
1339
|
+
command.request_representation = Google::Apis::GkehubV1::RbacRoleBinding::Representation
|
1340
|
+
command.request_object = rbac_role_binding_object
|
1341
|
+
command.response_representation = Google::Apis::GkehubV1::Operation::Representation
|
1342
|
+
command.response_class = Google::Apis::GkehubV1::Operation
|
1343
|
+
command.params['parent'] = parent unless parent.nil?
|
1344
|
+
command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
|
1345
|
+
command.query['fields'] = fields unless fields.nil?
|
1346
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1347
|
+
execute_or_queue_command(command, &block)
|
1348
|
+
end
|
1349
|
+
|
1350
|
+
# Deletes a Membership RBACRoleBinding.
|
1351
|
+
# @param [String] name
|
1352
|
+
# Required. The RBACRoleBinding resource name in the format `projects/*/
|
1353
|
+
# locations/*/memberships/*/rbacrolebindings/*`.
|
1354
|
+
# @param [String] fields
|
1355
|
+
# Selector specifying which fields to include in a partial response.
|
1356
|
+
# @param [String] quota_user
|
1357
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1358
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1359
|
+
# @param [Google::Apis::RequestOptions] options
|
1360
|
+
# Request-specific options
|
1361
|
+
#
|
1362
|
+
# @yield [result, err] Result & error if block supplied
|
1363
|
+
# @yieldparam result [Google::Apis::GkehubV1::Operation] parsed result object
|
1364
|
+
# @yieldparam err [StandardError] error object if request failed
|
1365
|
+
#
|
1366
|
+
# @return [Google::Apis::GkehubV1::Operation]
|
1367
|
+
#
|
1368
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1369
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1370
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1371
|
+
def delete_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
|
1372
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1373
|
+
command.response_representation = Google::Apis::GkehubV1::Operation::Representation
|
1374
|
+
command.response_class = Google::Apis::GkehubV1::Operation
|
1375
|
+
command.params['name'] = name unless name.nil?
|
1376
|
+
command.query['fields'] = fields unless fields.nil?
|
1377
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1378
|
+
execute_or_queue_command(command, &block)
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
# Generates a YAML of the RBAC policies for the specified RoleBinding and its
|
1382
|
+
# associated impersonation resources.
|
1383
|
+
# @param [String] parent
|
1384
|
+
# Required. The parent (project and location) where the RBACRoleBinding will be
|
1385
|
+
# created. Specified in the format `projects/*/locations/*/memberships/*`.
|
1386
|
+
# @param [Google::Apis::GkehubV1::RbacRoleBinding] rbac_role_binding_object
|
1387
|
+
# @param [String] rbacrolebinding_id
|
1388
|
+
# Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
|
1389
|
+
# be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
|
1390
|
+
# It must consist of lower case alphanumeric characters or `-` 3. It must start
|
1391
|
+
# and end with an alphanumeric character Which can be expressed as the regex: `[
|
1392
|
+
# a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
|
1393
|
+
# @param [String] fields
|
1394
|
+
# Selector specifying which fields to include in a partial response.
|
1395
|
+
# @param [String] quota_user
|
1396
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1397
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1398
|
+
# @param [Google::Apis::RequestOptions] options
|
1399
|
+
# Request-specific options
|
1400
|
+
#
|
1401
|
+
# @yield [result, err] Result & error if block supplied
|
1402
|
+
# @yieldparam result [Google::Apis::GkehubV1::GenerateMembershipRbacRoleBindingYamlResponse] parsed result object
|
1403
|
+
# @yieldparam err [StandardError] error object if request failed
|
1404
|
+
#
|
1405
|
+
# @return [Google::Apis::GkehubV1::GenerateMembershipRbacRoleBindingYamlResponse]
|
1406
|
+
#
|
1407
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1408
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1409
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1410
|
+
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)
|
1411
|
+
command = make_simple_command(:post, 'v1/{+parent}/rbacrolebindings:generateMembershipRBACRoleBindingYAML', options)
|
1412
|
+
command.request_representation = Google::Apis::GkehubV1::RbacRoleBinding::Representation
|
1413
|
+
command.request_object = rbac_role_binding_object
|
1414
|
+
command.response_representation = Google::Apis::GkehubV1::GenerateMembershipRbacRoleBindingYamlResponse::Representation
|
1415
|
+
command.response_class = Google::Apis::GkehubV1::GenerateMembershipRbacRoleBindingYamlResponse
|
1416
|
+
command.params['parent'] = parent unless parent.nil?
|
1417
|
+
command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
|
1418
|
+
command.query['fields'] = fields unless fields.nil?
|
1419
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1420
|
+
execute_or_queue_command(command, &block)
|
1421
|
+
end
|
1422
|
+
|
1423
|
+
# Returns the details of a Membership RBACRoleBinding.
|
1424
|
+
# @param [String] name
|
1425
|
+
# Required. The RBACRoleBinding resource name in the format `projects/*/
|
1426
|
+
# locations/*/memberships/*/rbacrolebindings/*`.
|
1427
|
+
# @param [String] fields
|
1428
|
+
# Selector specifying which fields to include in a partial response.
|
1429
|
+
# @param [String] quota_user
|
1430
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1431
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1432
|
+
# @param [Google::Apis::RequestOptions] options
|
1433
|
+
# Request-specific options
|
1434
|
+
#
|
1435
|
+
# @yield [result, err] Result & error if block supplied
|
1436
|
+
# @yieldparam result [Google::Apis::GkehubV1::RbacRoleBinding] parsed result object
|
1437
|
+
# @yieldparam err [StandardError] error object if request failed
|
1438
|
+
#
|
1439
|
+
# @return [Google::Apis::GkehubV1::RbacRoleBinding]
|
1440
|
+
#
|
1441
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1442
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1443
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1444
|
+
def get_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
|
1445
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1446
|
+
command.response_representation = Google::Apis::GkehubV1::RbacRoleBinding::Representation
|
1447
|
+
command.response_class = Google::Apis::GkehubV1::RbacRoleBinding
|
1448
|
+
command.params['name'] = name unless name.nil?
|
1449
|
+
command.query['fields'] = fields unless fields.nil?
|
1450
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1451
|
+
execute_or_queue_command(command, &block)
|
1452
|
+
end
|
1453
|
+
|
1297
1454
|
# Lists all Membership RBACRoleBindings.
|
1298
1455
|
# @param [String] parent
|
1299
1456
|
# Required. The parent (project and location) where the Features will be listed.
|
@@ -1335,6 +1492,45 @@ module Google
|
|
1335
1492
|
execute_or_queue_command(command, &block)
|
1336
1493
|
end
|
1337
1494
|
|
1495
|
+
# Updates a Membership RBACRoleBinding.
|
1496
|
+
# @param [String] name
|
1497
|
+
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
1498
|
+
# location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
|
1499
|
+
# project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
|
1500
|
+
# rbacrolebinding``
|
1501
|
+
# @param [Google::Apis::GkehubV1::RbacRoleBinding] rbac_role_binding_object
|
1502
|
+
# @param [String] update_mask
|
1503
|
+
# Required. The fields to be updated.
|
1504
|
+
# @param [String] fields
|
1505
|
+
# Selector specifying which fields to include in a partial response.
|
1506
|
+
# @param [String] quota_user
|
1507
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1508
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1509
|
+
# @param [Google::Apis::RequestOptions] options
|
1510
|
+
# Request-specific options
|
1511
|
+
#
|
1512
|
+
# @yield [result, err] Result & error if block supplied
|
1513
|
+
# @yieldparam result [Google::Apis::GkehubV1::Operation] parsed result object
|
1514
|
+
# @yieldparam err [StandardError] error object if request failed
|
1515
|
+
#
|
1516
|
+
# @return [Google::Apis::GkehubV1::Operation]
|
1517
|
+
#
|
1518
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1519
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1520
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1521
|
+
def patch_project_location_membership_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1522
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1523
|
+
command.request_representation = Google::Apis::GkehubV1::RbacRoleBinding::Representation
|
1524
|
+
command.request_object = rbac_role_binding_object
|
1525
|
+
command.response_representation = Google::Apis::GkehubV1::Operation::Representation
|
1526
|
+
command.response_class = Google::Apis::GkehubV1::Operation
|
1527
|
+
command.params['name'] = name unless name.nil?
|
1528
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1529
|
+
command.query['fields'] = fields unless fields.nil?
|
1530
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1531
|
+
execute_or_queue_command(command, &block)
|
1532
|
+
end
|
1533
|
+
|
1338
1534
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1339
1535
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1340
1536
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.78.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-08-11 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.78.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|