google-apis-gkehub_v1 0.76.0 → 0.77.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: c5857aec0002b87ba0bc4ed499b3048d659140a7ba84b8652552b7d7907d4bce
4
- data.tar.gz: 58a942fafb62b45747b13ec38ac76107305dc931e9c486f4f342b3e72b83fe3b
3
+ metadata.gz: cf8e33c229852743b0a950101b4acd9ea0fb0457d6886a4e2b584eb14b85fd16
4
+ data.tar.gz: b09da809daace719dd1fde4c45b6303b5c73c52f47e0492658aa7a1b020acdb0
5
5
  SHA512:
6
- metadata.gz: 0d9d3649352b77deb7f67e34a4dac19aec77c31878435fcc95d1e08332c508d2ade20b15718bdaa44e849943a0ab7f9cec7d9395fcaa55537124b416345ff43e
7
- data.tar.gz: e055f20e7ce449b834d8cf5361b4c57963250c7ea434c3f959e638aa9d5fd53efd992a9e1c03e69a15eb369723eeb57e584dc6260f22fecae9009fc72856c27a
6
+ metadata.gz: 255788cc5765b9df759dd1b8dbc5c60f13ab878b0384b54a993f647a16bce243854c5d27eda38d9b2ba9431da6a807572122e7a355999b1810aab70f6b3e6a4e
7
+ data.tar.gz: 8433a3b0bf9296f7bcfa4fe2bd628a745f08f22eee0563dc7c0d04f408e5b2e696ded8c44e70333d786991a20e27e1d2abaad43a09132a548a97bf513d2b8ace
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.77.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240706
6
+
3
7
  ### v0.76.0 (2024-06-30)
4
8
 
5
9
  * 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 admission_webhook pod
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
@@ -2479,6 +2503,25 @@ module Google
2479
2503
  end
2480
2504
  end
2481
2505
 
2506
+ # Response for GenerateRBACRoleBindingYAML.
2507
+ class GenerateMembershipRbacRoleBindingYamlResponse
2508
+ include Google::Apis::Core::Hashable
2509
+
2510
+ # a yaml text blob including the RBAC policies.
2511
+ # Corresponds to the JSON property `roleBindingsYaml`
2512
+ # @return [String]
2513
+ attr_accessor :role_bindings_yaml
2514
+
2515
+ def initialize(**args)
2516
+ update!(**args)
2517
+ end
2518
+
2519
+ # Update properties of this object
2520
+ def update!(**args)
2521
+ @role_bindings_yaml = args[:role_bindings_yaml] if args.key?(:role_bindings_yaml)
2522
+ end
2523
+ end
2524
+
2482
2525
  # GkeCluster contains information specific to GKE clusters.
2483
2526
  class GkeCluster
2484
2527
  include Google::Apis::Core::Hashable
@@ -5413,7 +5456,7 @@ module Google
5413
5456
  # @return [String]
5414
5457
  attr_accessor :control_plane
5415
5458
 
5416
- # Enables automatic Service Mesh management.
5459
+ # Optional. Enables automatic Service Mesh management.
5417
5460
  # Corresponds to the JSON property `management`
5418
5461
  # @return [String]
5419
5462
  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.76.0"
19
+ GEM_VERSION = "0.77.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240623"
25
+ REVISION = "20240706"
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
@@ -1661,6 +1671,13 @@ module Google
1661
1671
  end
1662
1672
  end
1663
1673
 
1674
+ class GenerateMembershipRbacRoleBindingYamlResponse
1675
+ # @private
1676
+ class Representation < Google::Apis::Core::JsonRepresentation
1677
+ property :role_bindings_yaml, as: 'roleBindingsYaml'
1678
+ end
1679
+ end
1680
+
1664
1681
  class GkeCluster
1665
1682
  # @private
1666
1683
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1294,6 +1294,151 @@ module Google
1294
1294
  execute_or_queue_command(command, &block)
1295
1295
  end
1296
1296
 
1297
+ # Creates a Membership RBACRoleBinding.
1298
+ # @param [String] parent
1299
+ # Required. The parent (project and location) where the RBACRoleBinding will be
1300
+ # created. Specified in the format `projects/*/locations/*/memberships/*`.
1301
+ # @param [Google::Apis::GkehubV1::RbacRoleBinding] rbac_role_binding_object
1302
+ # @param [String] rbacrolebinding_id
1303
+ # Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
1304
+ # be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
1305
+ # It must consist of lower case alphanumeric characters or `-` 3. It must start
1306
+ # and end with an alphanumeric character Which can be expressed as the regex: `[
1307
+ # a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
1308
+ # @param [String] fields
1309
+ # Selector specifying which fields to include in a partial response.
1310
+ # @param [String] quota_user
1311
+ # Available to use for quota purposes for server-side applications. Can be any
1312
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1313
+ # @param [Google::Apis::RequestOptions] options
1314
+ # Request-specific options
1315
+ #
1316
+ # @yield [result, err] Result & error if block supplied
1317
+ # @yieldparam result [Google::Apis::GkehubV1::Operation] parsed result object
1318
+ # @yieldparam err [StandardError] error object if request failed
1319
+ #
1320
+ # @return [Google::Apis::GkehubV1::Operation]
1321
+ #
1322
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1323
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1324
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1325
+ def create_project_location_membership_rbacrolebinding(parent, rbac_role_binding_object = nil, rbacrolebinding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1326
+ command = make_simple_command(:post, 'v1/{+parent}/rbacrolebindings', options)
1327
+ command.request_representation = Google::Apis::GkehubV1::RbacRoleBinding::Representation
1328
+ command.request_object = rbac_role_binding_object
1329
+ command.response_representation = Google::Apis::GkehubV1::Operation::Representation
1330
+ command.response_class = Google::Apis::GkehubV1::Operation
1331
+ command.params['parent'] = parent unless parent.nil?
1332
+ command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
1333
+ command.query['fields'] = fields unless fields.nil?
1334
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1335
+ execute_or_queue_command(command, &block)
1336
+ end
1337
+
1338
+ # Deletes a Membership RBACRoleBinding.
1339
+ # @param [String] name
1340
+ # Required. The RBACRoleBinding resource name in the format `projects/*/
1341
+ # locations/*/memberships/*/rbacrolebindings/*`.
1342
+ # @param [String] fields
1343
+ # Selector specifying which fields to include in a partial response.
1344
+ # @param [String] quota_user
1345
+ # Available to use for quota purposes for server-side applications. Can be any
1346
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1347
+ # @param [Google::Apis::RequestOptions] options
1348
+ # Request-specific options
1349
+ #
1350
+ # @yield [result, err] Result & error if block supplied
1351
+ # @yieldparam result [Google::Apis::GkehubV1::Operation] parsed result object
1352
+ # @yieldparam err [StandardError] error object if request failed
1353
+ #
1354
+ # @return [Google::Apis::GkehubV1::Operation]
1355
+ #
1356
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1357
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1358
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1359
+ def delete_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
1360
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1361
+ command.response_representation = Google::Apis::GkehubV1::Operation::Representation
1362
+ command.response_class = Google::Apis::GkehubV1::Operation
1363
+ command.params['name'] = name unless name.nil?
1364
+ command.query['fields'] = fields unless fields.nil?
1365
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1366
+ execute_or_queue_command(command, &block)
1367
+ end
1368
+
1369
+ # Generates a YAML of the RBAC policies for the specified RoleBinding and its
1370
+ # associated impersonation resources.
1371
+ # @param [String] parent
1372
+ # Required. The parent (project and location) where the RBACRoleBinding will be
1373
+ # created. Specified in the format `projects/*/locations/*/memberships/*`.
1374
+ # @param [Google::Apis::GkehubV1::RbacRoleBinding] rbac_role_binding_object
1375
+ # @param [String] rbacrolebinding_id
1376
+ # Required. Client chosen ID for the RBACRoleBinding. `rbacrolebinding_id` must
1377
+ # be a valid RFC 1123 compliant DNS label: 1. At most 63 characters in length 2.
1378
+ # It must consist of lower case alphanumeric characters or `-` 3. It must start
1379
+ # and end with an alphanumeric character Which can be expressed as the regex: `[
1380
+ # a-z0-9]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
1381
+ # @param [String] fields
1382
+ # Selector specifying which fields to include in a partial response.
1383
+ # @param [String] quota_user
1384
+ # Available to use for quota purposes for server-side applications. Can be any
1385
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1386
+ # @param [Google::Apis::RequestOptions] options
1387
+ # Request-specific options
1388
+ #
1389
+ # @yield [result, err] Result & error if block supplied
1390
+ # @yieldparam result [Google::Apis::GkehubV1::GenerateMembershipRbacRoleBindingYamlResponse] parsed result object
1391
+ # @yieldparam err [StandardError] error object if request failed
1392
+ #
1393
+ # @return [Google::Apis::GkehubV1::GenerateMembershipRbacRoleBindingYamlResponse]
1394
+ #
1395
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1396
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1397
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1398
+ 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)
1399
+ command = make_simple_command(:post, 'v1/{+parent}/rbacrolebindings:generateMembershipRBACRoleBindingYAML', options)
1400
+ command.request_representation = Google::Apis::GkehubV1::RbacRoleBinding::Representation
1401
+ command.request_object = rbac_role_binding_object
1402
+ command.response_representation = Google::Apis::GkehubV1::GenerateMembershipRbacRoleBindingYamlResponse::Representation
1403
+ command.response_class = Google::Apis::GkehubV1::GenerateMembershipRbacRoleBindingYamlResponse
1404
+ command.params['parent'] = parent unless parent.nil?
1405
+ command.query['rbacrolebindingId'] = rbacrolebinding_id unless rbacrolebinding_id.nil?
1406
+ command.query['fields'] = fields unless fields.nil?
1407
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1408
+ execute_or_queue_command(command, &block)
1409
+ end
1410
+
1411
+ # Returns the details of a Membership RBACRoleBinding.
1412
+ # @param [String] name
1413
+ # Required. The RBACRoleBinding resource name in the format `projects/*/
1414
+ # locations/*/memberships/*/rbacrolebindings/*`.
1415
+ # @param [String] fields
1416
+ # Selector specifying which fields to include in a partial response.
1417
+ # @param [String] quota_user
1418
+ # Available to use for quota purposes for server-side applications. Can be any
1419
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1420
+ # @param [Google::Apis::RequestOptions] options
1421
+ # Request-specific options
1422
+ #
1423
+ # @yield [result, err] Result & error if block supplied
1424
+ # @yieldparam result [Google::Apis::GkehubV1::RbacRoleBinding] parsed result object
1425
+ # @yieldparam err [StandardError] error object if request failed
1426
+ #
1427
+ # @return [Google::Apis::GkehubV1::RbacRoleBinding]
1428
+ #
1429
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1430
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1431
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1432
+ def get_project_location_membership_rbacrolebinding(name, fields: nil, quota_user: nil, options: nil, &block)
1433
+ command = make_simple_command(:get, 'v1/{+name}', options)
1434
+ command.response_representation = Google::Apis::GkehubV1::RbacRoleBinding::Representation
1435
+ command.response_class = Google::Apis::GkehubV1::RbacRoleBinding
1436
+ command.params['name'] = name unless name.nil?
1437
+ command.query['fields'] = fields unless fields.nil?
1438
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1439
+ execute_or_queue_command(command, &block)
1440
+ end
1441
+
1297
1442
  # Lists all Membership RBACRoleBindings.
1298
1443
  # @param [String] parent
1299
1444
  # Required. The parent (project and location) where the Features will be listed.
@@ -1335,6 +1480,45 @@ module Google
1335
1480
  execute_or_queue_command(command, &block)
1336
1481
  end
1337
1482
 
1483
+ # Updates a Membership RBACRoleBinding.
1484
+ # @param [String] name
1485
+ # The resource name for the rbacrolebinding `projects/`project`/locations/`
1486
+ # location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
1487
+ # project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
1488
+ # rbacrolebinding``
1489
+ # @param [Google::Apis::GkehubV1::RbacRoleBinding] rbac_role_binding_object
1490
+ # @param [String] update_mask
1491
+ # Required. The fields to be updated.
1492
+ # @param [String] fields
1493
+ # Selector specifying which fields to include in a partial response.
1494
+ # @param [String] quota_user
1495
+ # Available to use for quota purposes for server-side applications. Can be any
1496
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1497
+ # @param [Google::Apis::RequestOptions] options
1498
+ # Request-specific options
1499
+ #
1500
+ # @yield [result, err] Result & error if block supplied
1501
+ # @yieldparam result [Google::Apis::GkehubV1::Operation] parsed result object
1502
+ # @yieldparam err [StandardError] error object if request failed
1503
+ #
1504
+ # @return [Google::Apis::GkehubV1::Operation]
1505
+ #
1506
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1507
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1508
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1509
+ def patch_project_location_membership_rbacrolebinding(name, rbac_role_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1510
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1511
+ command.request_representation = Google::Apis::GkehubV1::RbacRoleBinding::Representation
1512
+ command.request_object = rbac_role_binding_object
1513
+ command.response_representation = Google::Apis::GkehubV1::Operation::Representation
1514
+ command.response_class = Google::Apis::GkehubV1::Operation
1515
+ command.params['name'] = name unless name.nil?
1516
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1517
+ command.query['fields'] = fields unless fields.nil?
1518
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1519
+ execute_or_queue_command(command, &block)
1520
+ end
1521
+
1338
1522
  # Starts asynchronous cancellation on a long-running operation. The server makes
1339
1523
  # a best effort to cancel the operation, but success is not guaranteed. If the
1340
1524
  # 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.76.0
4
+ version: 0.77.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-06-30 00:00:00.000000000 Z
11
+ date: 2024-07-25 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.76.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.77.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: []