google-apis-metastore_v1 0.25.0 → 0.27.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: 30e72db392f1246ca199824b269dcbe21190f291b7a7a310864106ef9ecca051
|
4
|
+
data.tar.gz: '0910942e4cd23f35cc215063f3f1402a4fcc8b39ba9667e2790573acc5e3e6e8'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5bde93be16c6f0504147e2e0ea59d2eb6aa5cfb231c8ad61bfee1107bed82ec48854bc723835a2b6ede7d4bb6c6fa96e6fd1499aceedb8f2228a52947e38d4b
|
7
|
+
data.tar.gz: 6462e118818f6ec58f5d690f9e4598d3a44f59de2064192a32d218e05198936900979262c4cd7af35ab0d23b23a4aed6e0e2c283d29c5f4233f07300dd05125e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-metastore_v1
|
2
2
|
|
3
|
+
### v0.27.0 (2024-06-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240611
|
6
|
+
|
7
|
+
### v0.26.0 (2024-05-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240510
|
10
|
+
* Regenerated using generator version 0.15.0
|
11
|
+
|
3
12
|
### v0.25.0 (2024-04-21)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240411
|
@@ -1123,8 +1123,8 @@ module Google
|
|
1123
1123
|
include Google::Apis::Core::Hashable
|
1124
1124
|
|
1125
1125
|
# The metadata for the multi-region that includes the constituent regions. The
|
1126
|
-
# metadata is only populated if the region is multi-region. For single region
|
1127
|
-
# it will be empty.
|
1126
|
+
# metadata is only populated if the region is multi-region. For single region or
|
1127
|
+
# custom dual region, it will be empty.
|
1128
1128
|
# Corresponds to the JSON property `multiRegionMetadata`
|
1129
1129
|
# @return [Google::Apis::MetastoreV1::MultiRegionMetadata]
|
1130
1130
|
attr_accessor :multi_region_metadata
|
@@ -1365,8 +1365,8 @@ module Google
|
|
1365
1365
|
end
|
1366
1366
|
|
1367
1367
|
# The metadata for the multi-region that includes the constituent regions. The
|
1368
|
-
# metadata is only populated if the region is multi-region. For single region
|
1369
|
-
# it will be empty.
|
1368
|
+
# metadata is only populated if the region is multi-region. For single region or
|
1369
|
+
# custom dual region, it will be empty.
|
1370
1370
|
class MultiRegionMetadata
|
1371
1371
|
include Google::Apis::Core::Hashable
|
1372
1372
|
|
@@ -1895,6 +1895,13 @@ module Google
|
|
1895
1895
|
# @return [String]
|
1896
1896
|
attr_accessor :database_type
|
1897
1897
|
|
1898
|
+
# Optional. Indicates if the dataproc metastore should be protected against
|
1899
|
+
# accidental deletions.
|
1900
|
+
# Corresponds to the JSON property `deletionProtection`
|
1901
|
+
# @return [Boolean]
|
1902
|
+
attr_accessor :deletion_protection
|
1903
|
+
alias_method :deletion_protection?, :deletion_protection
|
1904
|
+
|
1898
1905
|
# Encryption settings for the service.
|
1899
1906
|
# Corresponds to the JSON property `encryptionConfig`
|
1900
1907
|
# @return [Google::Apis::MetastoreV1::EncryptionConfig]
|
@@ -2012,6 +2019,7 @@ module Google
|
|
2012
2019
|
@artifact_gcs_uri = args[:artifact_gcs_uri] if args.key?(:artifact_gcs_uri)
|
2013
2020
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2014
2021
|
@database_type = args[:database_type] if args.key?(:database_type)
|
2022
|
+
@deletion_protection = args[:deletion_protection] if args.key?(:deletion_protection)
|
2015
2023
|
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
2016
2024
|
@endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
|
2017
2025
|
@hive_metastore_config = args[:hive_metastore_config] if args.key?(:hive_metastore_config)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MetastoreV1
|
18
18
|
# Version of the google-apis-metastore_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.27.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240611"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -837,6 +837,7 @@ module Google
|
|
837
837
|
property :artifact_gcs_uri, as: 'artifactGcsUri'
|
838
838
|
property :create_time, as: 'createTime'
|
839
839
|
property :database_type, as: 'databaseType'
|
840
|
+
property :deletion_protection, as: 'deletionProtection'
|
840
841
|
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::MetastoreV1::EncryptionConfig, decorator: Google::Apis::MetastoreV1::EncryptionConfig::Representation
|
841
842
|
|
842
843
|
property :endpoint_uri, as: 'endpointUri'
|
@@ -1436,6 +1436,170 @@ module Google
|
|
1436
1436
|
execute_or_queue_command(command, &block)
|
1437
1437
|
end
|
1438
1438
|
|
1439
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1440
|
+
# resource exists and does not have a policy set.
|
1441
|
+
# @param [String] resource
|
1442
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
1443
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
1444
|
+
# appropriate value for this field.
|
1445
|
+
# @param [Fixnum] options_requested_policy_version
|
1446
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1447
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1448
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
1449
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
1450
|
+
# value or leave the field unset.The policy in the response might use the policy
|
1451
|
+
# version that you specified, or it might use a lower policy version. For
|
1452
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1453
|
+
# bindings, the response uses version 1.To learn which resources support
|
1454
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
1455
|
+
# google.com/iam/help/conditions/resource-policies).
|
1456
|
+
# @param [String] fields
|
1457
|
+
# Selector specifying which fields to include in a partial response.
|
1458
|
+
# @param [String] quota_user
|
1459
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1460
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1461
|
+
# @param [Google::Apis::RequestOptions] options
|
1462
|
+
# Request-specific options
|
1463
|
+
#
|
1464
|
+
# @yield [result, err] Result & error if block supplied
|
1465
|
+
# @yieldparam result [Google::Apis::MetastoreV1::Policy] parsed result object
|
1466
|
+
# @yieldparam err [StandardError] error object if request failed
|
1467
|
+
#
|
1468
|
+
# @return [Google::Apis::MetastoreV1::Policy]
|
1469
|
+
#
|
1470
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1471
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1472
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1473
|
+
def get_project_location_service_database_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1474
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1475
|
+
command.response_representation = Google::Apis::MetastoreV1::Policy::Representation
|
1476
|
+
command.response_class = Google::Apis::MetastoreV1::Policy
|
1477
|
+
command.params['resource'] = resource unless resource.nil?
|
1478
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1479
|
+
command.query['fields'] = fields unless fields.nil?
|
1480
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1481
|
+
execute_or_queue_command(command, &block)
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1485
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
1486
|
+
# errors.
|
1487
|
+
# @param [String] resource
|
1488
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
1489
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
1490
|
+
# appropriate value for this field.
|
1491
|
+
# @param [Google::Apis::MetastoreV1::SetIamPolicyRequest] set_iam_policy_request_object
|
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::MetastoreV1::Policy] parsed result object
|
1502
|
+
# @yieldparam err [StandardError] error object if request failed
|
1503
|
+
#
|
1504
|
+
# @return [Google::Apis::MetastoreV1::Policy]
|
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 set_database_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1510
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1511
|
+
command.request_representation = Google::Apis::MetastoreV1::SetIamPolicyRequest::Representation
|
1512
|
+
command.request_object = set_iam_policy_request_object
|
1513
|
+
command.response_representation = Google::Apis::MetastoreV1::Policy::Representation
|
1514
|
+
command.response_class = Google::Apis::MetastoreV1::Policy
|
1515
|
+
command.params['resource'] = resource unless resource.nil?
|
1516
|
+
command.query['fields'] = fields unless fields.nil?
|
1517
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1518
|
+
execute_or_queue_command(command, &block)
|
1519
|
+
end
|
1520
|
+
|
1521
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1522
|
+
# resource exists and does not have a policy set.
|
1523
|
+
# @param [String] resource
|
1524
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
1525
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
1526
|
+
# appropriate value for this field.
|
1527
|
+
# @param [Fixnum] options_requested_policy_version
|
1528
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1529
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1530
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
1531
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
1532
|
+
# value or leave the field unset.The policy in the response might use the policy
|
1533
|
+
# version that you specified, or it might use a lower policy version. For
|
1534
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1535
|
+
# bindings, the response uses version 1.To learn which resources support
|
1536
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
1537
|
+
# google.com/iam/help/conditions/resource-policies).
|
1538
|
+
# @param [String] fields
|
1539
|
+
# Selector specifying which fields to include in a partial response.
|
1540
|
+
# @param [String] quota_user
|
1541
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1542
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1543
|
+
# @param [Google::Apis::RequestOptions] options
|
1544
|
+
# Request-specific options
|
1545
|
+
#
|
1546
|
+
# @yield [result, err] Result & error if block supplied
|
1547
|
+
# @yieldparam result [Google::Apis::MetastoreV1::Policy] parsed result object
|
1548
|
+
# @yieldparam err [StandardError] error object if request failed
|
1549
|
+
#
|
1550
|
+
# @return [Google::Apis::MetastoreV1::Policy]
|
1551
|
+
#
|
1552
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1553
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1554
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1555
|
+
def get_project_location_service_database_table_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1556
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1557
|
+
command.response_representation = Google::Apis::MetastoreV1::Policy::Representation
|
1558
|
+
command.response_class = Google::Apis::MetastoreV1::Policy
|
1559
|
+
command.params['resource'] = resource unless resource.nil?
|
1560
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.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
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1567
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
1568
|
+
# errors.
|
1569
|
+
# @param [String] resource
|
1570
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
1571
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
1572
|
+
# appropriate value for this field.
|
1573
|
+
# @param [Google::Apis::MetastoreV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1574
|
+
# @param [String] fields
|
1575
|
+
# Selector specifying which fields to include in a partial response.
|
1576
|
+
# @param [String] quota_user
|
1577
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1578
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1579
|
+
# @param [Google::Apis::RequestOptions] options
|
1580
|
+
# Request-specific options
|
1581
|
+
#
|
1582
|
+
# @yield [result, err] Result & error if block supplied
|
1583
|
+
# @yieldparam result [Google::Apis::MetastoreV1::Policy] parsed result object
|
1584
|
+
# @yieldparam err [StandardError] error object if request failed
|
1585
|
+
#
|
1586
|
+
# @return [Google::Apis::MetastoreV1::Policy]
|
1587
|
+
#
|
1588
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1589
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1590
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1591
|
+
def set_table_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1592
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1593
|
+
command.request_representation = Google::Apis::MetastoreV1::SetIamPolicyRequest::Representation
|
1594
|
+
command.request_object = set_iam_policy_request_object
|
1595
|
+
command.response_representation = Google::Apis::MetastoreV1::Policy::Representation
|
1596
|
+
command.response_class = Google::Apis::MetastoreV1::Policy
|
1597
|
+
command.params['resource'] = resource unless resource.nil?
|
1598
|
+
command.query['fields'] = fields unless fields.nil?
|
1599
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1600
|
+
execute_or_queue_command(command, &block)
|
1601
|
+
end
|
1602
|
+
|
1439
1603
|
# Creates a new MetadataImport in a given project and location.
|
1440
1604
|
# @param [String] parent
|
1441
1605
|
# Required. The relative resource name of the service in which to create a
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-metastore_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.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-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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-metastore_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1/v0.27.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-metastore_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|