google-apis-dataplex_v1 0.37.0 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dataplex_v1/gem_version.rb +2 -2
- data/lib/google/apis/dataplex_v1/service.rb +121 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5349aff1ecc8bdec5d80e15bb9618e2b50813b5d74295232b325895059f44639
|
4
|
+
data.tar.gz: 712a267137d3af30bc27f70041f18f2ec471b54979e1368a4a139bcaf4a0942d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5df53b813703c11669a98e253138246f0d1ccc0b4f2674ac90dddfd150db4d4c15a4685b237148fdb3ff4f367ac7b8ef1225134010ee4d106e1d4ba1287b1863
|
7
|
+
data.tar.gz: 02e541c3db7017bade0287d6edf4a71198fad764a16765c0664e806306acd253e7b4905e7ed702595aa12081c397fc276d60e86568fa4a886f0a8d3f5d81f71b
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
19
|
+
GEM_VERSION = "0.38.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 = "20230831"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1908,6 +1908,127 @@ module Google
|
|
1908
1908
|
execute_or_queue_command(command, &block)
|
1909
1909
|
end
|
1910
1910
|
|
1911
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1912
|
+
# resource exists and does not have a policy set.
|
1913
|
+
# @param [String] resource
|
1914
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
1915
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
1916
|
+
# appropriate value for this field.
|
1917
|
+
# @param [Fixnum] options_requested_policy_version
|
1918
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1919
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1920
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
1921
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
1922
|
+
# value or leave the field unset.The policy in the response might use the policy
|
1923
|
+
# version that you specified, or it might use a lower policy version. For
|
1924
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1925
|
+
# bindings, the response uses version 1.To learn which resources support
|
1926
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
1927
|
+
# google.com/iam/help/conditions/resource-policies).
|
1928
|
+
# @param [String] fields
|
1929
|
+
# Selector specifying which fields to include in a partial response.
|
1930
|
+
# @param [String] quota_user
|
1931
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1932
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1933
|
+
# @param [Google::Apis::RequestOptions] options
|
1934
|
+
# Request-specific options
|
1935
|
+
#
|
1936
|
+
# @yield [result, err] Result & error if block supplied
|
1937
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
1938
|
+
# @yieldparam err [StandardError] error object if request failed
|
1939
|
+
#
|
1940
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
1941
|
+
#
|
1942
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1943
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1944
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1945
|
+
def get_project_location_governance_rule_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1946
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1947
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
1948
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
1949
|
+
command.params['resource'] = resource unless resource.nil?
|
1950
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1951
|
+
command.query['fields'] = fields unless fields.nil?
|
1952
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1953
|
+
execute_or_queue_command(command, &block)
|
1954
|
+
end
|
1955
|
+
|
1956
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1957
|
+
# existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
|
1958
|
+
# errors.
|
1959
|
+
# @param [String] resource
|
1960
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
1961
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
1962
|
+
# appropriate value for this field.
|
1963
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
1964
|
+
# @param [String] fields
|
1965
|
+
# Selector specifying which fields to include in a partial response.
|
1966
|
+
# @param [String] quota_user
|
1967
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1968
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1969
|
+
# @param [Google::Apis::RequestOptions] options
|
1970
|
+
# Request-specific options
|
1971
|
+
#
|
1972
|
+
# @yield [result, err] Result & error if block supplied
|
1973
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
1974
|
+
# @yieldparam err [StandardError] error object if request failed
|
1975
|
+
#
|
1976
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
1977
|
+
#
|
1978
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1979
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1980
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1981
|
+
def set_project_location_governance_rule_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1982
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1983
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
|
1984
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
1985
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
1986
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
1987
|
+
command.params['resource'] = resource unless resource.nil?
|
1988
|
+
command.query['fields'] = fields unless fields.nil?
|
1989
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1990
|
+
execute_or_queue_command(command, &block)
|
1991
|
+
end
|
1992
|
+
|
1993
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1994
|
+
# resource does not exist, this will return an empty set of permissions, not a
|
1995
|
+
# NOT_FOUND error.Note: This operation is designed to be used for building
|
1996
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1997
|
+
# This operation may "fail open" without warning.
|
1998
|
+
# @param [String] resource
|
1999
|
+
# REQUIRED: The resource for which the policy detail is being requested. See
|
2000
|
+
# Resource names (https://cloud.google.com/apis/design/resource_names) for the
|
2001
|
+
# appropriate value for this field.
|
2002
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
2003
|
+
# @param [String] fields
|
2004
|
+
# Selector specifying which fields to include in a partial response.
|
2005
|
+
# @param [String] quota_user
|
2006
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2007
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2008
|
+
# @param [Google::Apis::RequestOptions] options
|
2009
|
+
# Request-specific options
|
2010
|
+
#
|
2011
|
+
# @yield [result, err] Result & error if block supplied
|
2012
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
2013
|
+
# @yieldparam err [StandardError] error object if request failed
|
2014
|
+
#
|
2015
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
|
2016
|
+
#
|
2017
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2018
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2019
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2020
|
+
def test_project_location_governance_rule_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2021
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
2022
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
2023
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
2024
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
2025
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
|
2026
|
+
command.params['resource'] = resource unless resource.nil?
|
2027
|
+
command.query['fields'] = fields unless fields.nil?
|
2028
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2029
|
+
execute_or_queue_command(command, &block)
|
2030
|
+
end
|
2031
|
+
|
1911
2032
|
# Creates a lake resource.
|
1912
2033
|
# @param [String] parent
|
1913
2034
|
# Required. The resource name of the lake location, of the form: projects/`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dataplex_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.38.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-09-03 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-dataplex_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.38.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataplex_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Dataplex API V1
|