google-apis-dataplex_v1 0.36.0 → 0.38.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: 2b76982c570e891e114fe7dd8381d78f14ba6360ffddf6327d7fcf432dfb5d2e
4
- data.tar.gz: a0b95172b5987bf1064f11be0629285511a7acc36b0d2f09d86f27b707461efa
3
+ metadata.gz: 5349aff1ecc8bdec5d80e15bb9618e2b50813b5d74295232b325895059f44639
4
+ data.tar.gz: 712a267137d3af30bc27f70041f18f2ec471b54979e1368a4a139bcaf4a0942d
5
5
  SHA512:
6
- metadata.gz: 2a2f4463d9705f3ad6454707c79e9ed297709a534c219a68ebff56cb6c1a3f44f376376225cd5b0971eabcb1ea3934e66e66edc173084d1e4239f23205834432
7
- data.tar.gz: bada8642ca1db8185ca7a4c678928da63b41e00de41788c4cc23fd18eb71d4f7b6c6ecdd7141ba46d58ba569d4d017572d4ccd548ce5f8578fae7120b2d5bca3
6
+ metadata.gz: 5df53b813703c11669a98e253138246f0d1ccc0b4f2674ac90dddfd150db4d4c15a4685b237148fdb3ff4f367ac7b8ef1225134010ee4d106e1d4ba1287b1863
7
+ data.tar.gz: 02e541c3db7017bade0287d6edf4a71198fad764a16765c0664e806306acd253e7b4905e7ed702595aa12081c397fc276d60e86568fa4a886f0a8d3f5d81f71b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataplex_v1
2
2
 
3
+ ### v0.38.0 (2023-09-03)
4
+
5
+ * Regenerated from discovery document revision 20230831
6
+
7
+ ### v0.37.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230806
10
+
3
11
  ### v0.36.0 (2023-08-06)
4
12
 
5
13
  * Regenerated from discovery document revision 20230801
@@ -1597,8 +1597,9 @@ module Google
1597
1597
  class GoogleCloudDataplexV1DataProfileSpecPostScanActionsBigQueryExport
1598
1598
  include Google::Apis::Core::Hashable
1599
1599
 
1600
- # Optional. The BigQuery table to export DataProfileScan results to. Format:
1601
- # projects/`project`/datasets/`dataset`/tables/`table`
1600
+ # Optional. The BigQuery table to export DataProfileScan results to. Format: //
1601
+ # bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/
1602
+ # TABLE_ID
1602
1603
  # Corresponds to the JSON property `resultsTable`
1603
1604
  # @return [String]
1604
1605
  attr_accessor :results_table
@@ -2280,8 +2281,9 @@ module Google
2280
2281
  class GoogleCloudDataplexV1DataQualitySpecPostScanActionsBigQueryExport
2281
2282
  include Google::Apis::Core::Hashable
2282
2283
 
2283
- # Optional. The BigQuery table to export DataQualityScan results to. Format:
2284
- # projects/`project`/datasets/`dataset`/tables/`table`
2284
+ # Optional. The BigQuery table to export DataQualityScan results to. Format: //
2285
+ # bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/
2286
+ # TABLE_ID
2285
2287
  # Corresponds to the JSON property `resultsTable`
2286
2288
  # @return [String]
2287
2289
  attr_accessor :results_table
@@ -6299,12 +6301,12 @@ module Google
6299
6301
  # @return [String]
6300
6302
  attr_accessor :name
6301
6303
 
6302
- # The normal response of the operation in case of success. If the original
6303
- # method returns no data on success, such as Delete, the response is google.
6304
- # protobuf.Empty. If the original method is standard Get/Create/Update, the
6305
- # response should be the resource. For other methods, the response should have
6306
- # the type XxxResponse, where Xxx is the original method name. For example, if
6307
- # the original method name is TakeSnapshot(), the inferred response type is
6304
+ # The normal, successful response of the operation. If the original method
6305
+ # returns no data on success, such as Delete, the response is google.protobuf.
6306
+ # Empty. If the original method is standard Get/Create/Update, the response
6307
+ # should be the resource. For other methods, the response should have the type
6308
+ # XxxResponse, where Xxx is the original method name. For example, if the
6309
+ # original method name is TakeSnapshot(), the inferred response type is
6308
6310
  # TakeSnapshotResponse.
6309
6311
  # Corresponds to the JSON property `response`
6310
6312
  # @return [Hash<String,Object>]
@@ -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.36.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 = "20230801"
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.36.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-08-06 00:00:00.000000000 Z
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.36.0
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.2
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