google-apis-dataplex_v1 0.80.0 → 0.81.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 209421701e9142c178ef99754aafacbe8fffb5066f092eb4fcb491e984c85590
4
- data.tar.gz: aa691dff3620c92637293303953e6a57b5b3c9c52c9bfef4b60879454716afc1
3
+ metadata.gz: 2b52b50cece48248171469805f946c2a448fb71ccbffb75e825ebb9d3664fe3a
4
+ data.tar.gz: ea5837b10b647d1c0ba93e0409b220d6be4c183bbaa6301051ee4e132c64fa53
5
5
  SHA512:
6
- metadata.gz: 4615135475977dcf4bdc909cbfbd5d823741494e8fdbe8f53584b990cfd8c8b197a14409965f3d990dcc04e7c86ad78e053c07ae466591494eb55079b310a329
7
- data.tar.gz: f348cbd3ea47d4d594fc27bb016247564e7c9e58943bed5928eac9cd3bcd6caec8fcfd735b089b761d71ec36a1d2e8927f5c1ad3595de721a1f939f225f26b93
6
+ metadata.gz: ee67e69ec0342bb98981c097f0a7d5d6da5209e75f1b48de70cdc0c49b66b3ddc957b9dc801d16847b138eb6ac2b4b4d104124fe77d608973440d4545ac81480
7
+ data.tar.gz: 5c4d5b03b5fa386b58d8bd8e765dcea2157cf548f05a684bec078f11c0196b975ac138e28cf9d0128f790b0120a3346e34a79f17e2512f6414b7f237992b4afd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dataplex_v1
2
2
 
3
+ ### v0.81.0 (2025-08-03)
4
+
5
+ * Regenerated from discovery document revision 20250729
6
+
3
7
  ### v0.80.0 (2025-07-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20250714
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataplexV1
18
18
  # Version of the google-apis-dataplex_v1 gem
19
- GEM_VERSION = "0.80.0"
19
+ GEM_VERSION = "0.81.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250714"
25
+ REVISION = "20250729"
26
26
  end
27
27
  end
28
28
  end
@@ -1345,6 +1345,248 @@ module Google
1345
1345
  execute_or_queue_command(command, &block)
1346
1346
  end
1347
1347
 
1348
+ # Gets the access control policy for a resource. Returns an empty policy if the
1349
+ # resource exists and does not have a policy set.
1350
+ # @param [String] resource
1351
+ # REQUIRED: The resource for which the policy is being requested. See Resource
1352
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1353
+ # appropriate value for this field.
1354
+ # @param [Fixnum] options_requested_policy_version
1355
+ # Optional. The maximum policy version that will be used to format the policy.
1356
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1357
+ # rejected.Requests for policies with any conditional role bindings must specify
1358
+ # version 3. Policies with no conditional role bindings may specify any valid
1359
+ # value or leave the field unset.The policy in the response might use the policy
1360
+ # version that you specified, or it might use a lower policy version. For
1361
+ # example, if you specify version 3, but the policy has no conditional role
1362
+ # bindings, the response uses version 1.To learn which resources support
1363
+ # conditions in their IAM policies, see the IAM documentation (https://cloud.
1364
+ # google.com/iam/help/conditions/resource-policies).
1365
+ # @param [String] fields
1366
+ # Selector specifying which fields to include in a partial response.
1367
+ # @param [String] quota_user
1368
+ # Available to use for quota purposes for server-side applications. Can be any
1369
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1370
+ # @param [Google::Apis::RequestOptions] options
1371
+ # Request-specific options
1372
+ #
1373
+ # @yield [result, err] Result & error if block supplied
1374
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
1375
+ # @yieldparam err [StandardError] error object if request failed
1376
+ #
1377
+ # @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
1378
+ #
1379
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1380
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1381
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1382
+ def get_project_location_data_product_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
1383
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
1384
+ command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
1385
+ command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
1386
+ command.params['resource'] = resource unless resource.nil?
1387
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1388
+ command.query['fields'] = fields unless fields.nil?
1389
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1390
+ execute_or_queue_command(command, &block)
1391
+ end
1392
+
1393
+ # Sets the access control policy on the specified resource. Replaces any
1394
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
1395
+ # errors.
1396
+ # @param [String] resource
1397
+ # REQUIRED: The resource for which the policy is being specified. See Resource
1398
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1399
+ # appropriate value for this field.
1400
+ # @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
1401
+ # @param [String] fields
1402
+ # Selector specifying which fields to include in a partial response.
1403
+ # @param [String] quota_user
1404
+ # Available to use for quota purposes for server-side applications. Can be any
1405
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1406
+ # @param [Google::Apis::RequestOptions] options
1407
+ # Request-specific options
1408
+ #
1409
+ # @yield [result, err] Result & error if block supplied
1410
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
1411
+ # @yieldparam err [StandardError] error object if request failed
1412
+ #
1413
+ # @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
1414
+ #
1415
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1416
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1417
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1418
+ def set_project_location_data_product_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1419
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
1420
+ command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
1421
+ command.request_object = google_iam_v1_set_iam_policy_request_object
1422
+ command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
1423
+ command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
1424
+ command.params['resource'] = resource unless resource.nil?
1425
+ command.query['fields'] = fields unless fields.nil?
1426
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1427
+ execute_or_queue_command(command, &block)
1428
+ end
1429
+
1430
+ # Returns permissions that a caller has on the specified resource. If the
1431
+ # resource does not exist, this will return an empty set of permissions, not a
1432
+ # NOT_FOUND error.Note: This operation is designed to be used for building
1433
+ # permission-aware UIs and command-line tools, not for authorization checking.
1434
+ # This operation may "fail open" without warning.
1435
+ # @param [String] resource
1436
+ # REQUIRED: The resource for which the policy detail is being requested. See
1437
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
1438
+ # appropriate value for this field.
1439
+ # @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
1440
+ # @param [String] fields
1441
+ # Selector specifying which fields to include in a partial response.
1442
+ # @param [String] quota_user
1443
+ # Available to use for quota purposes for server-side applications. Can be any
1444
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1445
+ # @param [Google::Apis::RequestOptions] options
1446
+ # Request-specific options
1447
+ #
1448
+ # @yield [result, err] Result & error if block supplied
1449
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
1450
+ # @yieldparam err [StandardError] error object if request failed
1451
+ #
1452
+ # @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
1453
+ #
1454
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1455
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1456
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1457
+ def test_project_location_data_product_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1458
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
1459
+ command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
1460
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
1461
+ command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
1462
+ command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
1463
+ command.params['resource'] = resource unless resource.nil?
1464
+ command.query['fields'] = fields unless fields.nil?
1465
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1466
+ execute_or_queue_command(command, &block)
1467
+ end
1468
+
1469
+ # Gets the access control policy for a resource. Returns an empty policy if the
1470
+ # resource exists and does not have a policy set.
1471
+ # @param [String] resource
1472
+ # REQUIRED: The resource for which the policy is being requested. See Resource
1473
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1474
+ # appropriate value for this field.
1475
+ # @param [Fixnum] options_requested_policy_version
1476
+ # Optional. The maximum policy version that will be used to format the policy.
1477
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1478
+ # rejected.Requests for policies with any conditional role bindings must specify
1479
+ # version 3. Policies with no conditional role bindings may specify any valid
1480
+ # value or leave the field unset.The policy in the response might use the policy
1481
+ # version that you specified, or it might use a lower policy version. For
1482
+ # example, if you specify version 3, but the policy has no conditional role
1483
+ # bindings, the response uses version 1.To learn which resources support
1484
+ # conditions in their IAM policies, see the IAM documentation (https://cloud.
1485
+ # google.com/iam/help/conditions/resource-policies).
1486
+ # @param [String] fields
1487
+ # Selector specifying which fields to include in a partial response.
1488
+ # @param [String] quota_user
1489
+ # Available to use for quota purposes for server-side applications. Can be any
1490
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1491
+ # @param [Google::Apis::RequestOptions] options
1492
+ # Request-specific options
1493
+ #
1494
+ # @yield [result, err] Result & error if block supplied
1495
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
1496
+ # @yieldparam err [StandardError] error object if request failed
1497
+ #
1498
+ # @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
1499
+ #
1500
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1501
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1502
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1503
+ def get_project_location_data_product_data_asset_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
1504
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
1505
+ command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
1506
+ command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
1507
+ command.params['resource'] = resource unless resource.nil?
1508
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1509
+ command.query['fields'] = fields unless fields.nil?
1510
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1511
+ execute_or_queue_command(command, &block)
1512
+ end
1513
+
1514
+ # Sets the access control policy on the specified resource. Replaces any
1515
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
1516
+ # errors.
1517
+ # @param [String] resource
1518
+ # REQUIRED: The resource for which the policy is being specified. See Resource
1519
+ # names (https://cloud.google.com/apis/design/resource_names) for the
1520
+ # appropriate value for this field.
1521
+ # @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
1522
+ # @param [String] fields
1523
+ # Selector specifying which fields to include in a partial response.
1524
+ # @param [String] quota_user
1525
+ # Available to use for quota purposes for server-side applications. Can be any
1526
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1527
+ # @param [Google::Apis::RequestOptions] options
1528
+ # Request-specific options
1529
+ #
1530
+ # @yield [result, err] Result & error if block supplied
1531
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
1532
+ # @yieldparam err [StandardError] error object if request failed
1533
+ #
1534
+ # @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
1535
+ #
1536
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1537
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1538
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1539
+ def set_project_location_data_product_data_asset_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1540
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
1541
+ command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
1542
+ command.request_object = google_iam_v1_set_iam_policy_request_object
1543
+ command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
1544
+ command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
1545
+ command.params['resource'] = resource unless resource.nil?
1546
+ command.query['fields'] = fields unless fields.nil?
1547
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1548
+ execute_or_queue_command(command, &block)
1549
+ end
1550
+
1551
+ # Returns permissions that a caller has on the specified resource. If the
1552
+ # resource does not exist, this will return an empty set of permissions, not a
1553
+ # NOT_FOUND error.Note: This operation is designed to be used for building
1554
+ # permission-aware UIs and command-line tools, not for authorization checking.
1555
+ # This operation may "fail open" without warning.
1556
+ # @param [String] resource
1557
+ # REQUIRED: The resource for which the policy detail is being requested. See
1558
+ # Resource names (https://cloud.google.com/apis/design/resource_names) for the
1559
+ # appropriate value for this field.
1560
+ # @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
1561
+ # @param [String] fields
1562
+ # Selector specifying which fields to include in a partial response.
1563
+ # @param [String] quota_user
1564
+ # Available to use for quota purposes for server-side applications. Can be any
1565
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1566
+ # @param [Google::Apis::RequestOptions] options
1567
+ # Request-specific options
1568
+ #
1569
+ # @yield [result, err] Result & error if block supplied
1570
+ # @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
1571
+ # @yieldparam err [StandardError] error object if request failed
1572
+ #
1573
+ # @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
1574
+ #
1575
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1576
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1577
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1578
+ def test_project_location_data_product_data_asset_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1579
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
1580
+ command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
1581
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
1582
+ command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
1583
+ command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
1584
+ command.params['resource'] = resource unless resource.nil?
1585
+ command.query['fields'] = fields unless fields.nil?
1586
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1587
+ execute_or_queue_command(command, &block)
1588
+ end
1589
+
1348
1590
  # Creates a DataScan resource.
1349
1591
  # @param [String] parent
1350
1592
  # Required. The resource name of the parent location: projects/`project`/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataplex_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.80.0
4
+ version: 0.81.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataplex_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.80.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.81.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataplex_v1
62
62
  rdoc_options: []
63
63
  require_paths: