target.apidocs.com.google.api.services.dataplex.v1.CloudDataplex.Projects.Locations.DataTaxonomies.Attributes.html Maven / Gradle / Ivy
CloudDataplex.Projects.Locations.DataTaxonomies.Attributes (Cloud Dataplex API v1-rev20241206-2.0.0)
com.google.api.services.dataplex.v1
Class CloudDataplex.Projects.Locations.DataTaxonomies.Attributes
- java.lang.Object
-
- com.google.api.services.dataplex.v1.CloudDataplex.Projects.Locations.DataTaxonomies.Attributes
-
- Enclosing class:
- CloudDataplex.Projects.Locations.DataTaxonomies
public class CloudDataplex.Projects.Locations.DataTaxonomies.Attributes
extends Object
The "attributes" collection of methods.
-
-
Nested Class Summary
-
Constructor Summary
Constructors
Constructor and Description
Attributes()
-
Method Summary
-
-
Method Detail
-
create
public CloudDataplex.Projects.Locations.DataTaxonomies.Attributes.Create create(String parent,
GoogleCloudDataplexV1DataAttribute content)
throws IOException
Create a DataAttribute resource.
Create a request for the method "attributes.create".
This request holds the parameters needed by the dataplex server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The resource name of the parent data taxonomy
projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
content
- the GoogleCloudDataplexV1DataAttribute
- Returns:
- the request
- Throws:
IOException
-
delete
public CloudDataplex.Projects.Locations.DataTaxonomies.Attributes.Delete delete(String name)
throws IOException
Deletes a Data Attribute resource.
Create a request for the method "attributes.delete".
This request holds the parameters needed by the dataplex server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name of the DataAttribute: projects/{project_number}/locations/{location_id}/
dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- Returns:
- the request
- Throws:
IOException
-
get
public CloudDataplex.Projects.Locations.DataTaxonomies.Attributes.Get get(String name)
throws IOException
Retrieves a Data Attribute resource.
Create a request for the method "attributes.get".
This request holds the parameters needed by the dataplex server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name of the dataAttribute: projects/{project_number}/locations/{location_id}/
dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
- Returns:
- the request
- Throws:
IOException
-
getIamPolicy
public CloudDataplex.Projects.Locations.DataTaxonomies.Attributes.GetIamPolicy getIamPolicy(String resource)
throws IOException
Gets the access control policy for a resource. Returns an empty policy if the resource exists and
does not have a policy set.
Create a request for the method "attributes.getIamPolicy".
This request holds the parameters needed by the dataplex server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
resource
- REQUIRED: The resource for which the policy is being requested. See Resource names
(https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
field.
- Returns:
- the request
- Throws:
IOException
-
list
public CloudDataplex.Projects.Locations.DataTaxonomies.Attributes.List list(String parent)
throws IOException
Lists Data Attribute resources in a DataTaxonomy.
Create a request for the method "attributes.list".
This request holds the parameters needed by the dataplex server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The resource name of the DataTaxonomy:
projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
- Returns:
- the request
- Throws:
IOException
-
patch
public CloudDataplex.Projects.Locations.DataTaxonomies.Attributes.Patch patch(String name,
GoogleCloudDataplexV1DataAttribute content)
throws IOException
Updates a DataAttribute resource.
Create a request for the method "attributes.patch".
This request holds the parameters needed by the dataplex server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Output only. The relative resource name of the dataAttribute, of the form: projects/{project_number}
/locations/{location_id}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}.
content
- the GoogleCloudDataplexV1DataAttribute
- Returns:
- the request
- Throws:
IOException
-
setIamPolicy
public CloudDataplex.Projects.Locations.DataTaxonomies.Attributes.SetIamPolicy setIamPolicy(String resource,
GoogleIamV1SetIamPolicyRequest content)
throws IOException
Sets the access control policy on the specified resource. Replaces any existing policy.Can return
NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
Create a request for the method "attributes.setIamPolicy".
This request holds the parameters needed by the dataplex server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
resource
- REQUIRED: The resource for which the policy is being specified. See Resource names
(https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
field.
content
- the GoogleIamV1SetIamPolicyRequest
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public CloudDataplex.Projects.Locations.DataTaxonomies.Attributes.TestIamPermissions testIamPermissions(String resource,
GoogleIamV1TestIamPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource. If the resource does not exist,
this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is
designed to be used for building permission-aware UIs and command-line tools, not for
authorization checking. This operation may "fail open" without warning.
Create a request for the method "attributes.testIamPermissions".
This request holds the parameters needed by the dataplex server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
resource
- REQUIRED: The resource for which the policy detail is being requested. See Resource names
(https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
field.
content
- the GoogleIamV1TestIamPermissionsRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy