class ProjectsLocationsDataAttributeBindings extends Resource (View source)

The "dataAttributeBindings" collection of methods.

Typical usage is:

 $dataplexService = new Google\Service\CloudDataplex(...);
 $dataAttributeBindings = $dataplexService->projects_locations_dataAttributeBindings;

Methods

create(string $parent, GoogleCloudDataplexV1DataAttributeBinding $postBody, array $optParams = [])

Create a DataAttributeBinding resource. (dataAttributeBindings.create)

delete(string $name, array $optParams = [])

Deletes a DataAttributeBinding resource. All attributes within the DataAttributeBinding must be deleted before the DataAttributeBinding can be deleted. (dataAttributeBindings.delete)

get(string $name, array $optParams = [])

Retrieves a DataAttributeBinding resource. (dataAttributeBindings.get)

getIamPolicy(string $resource, array $optParams = [])

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

listProjectsLocationsDataAttributeBindings(string $parent, array $optParams = [])

Lists DataAttributeBinding resources in a project and location.

patch(string $name, GoogleCloudDataplexV1DataAttributeBinding $postBody, array $optParams = [])

Updates a DataAttributeBinding resource. (dataAttributeBindings.patch)

setIamPolicy(string $resource, GoogleIamV1SetIamPolicyRequest $postBody, array $optParams = [])

Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. (dataAttributeBindings.setIamPolicy)

testIamPermissions(string $resource, GoogleIamV1TestIamPermissionsRequest $postBody, array $optParams = [])

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.

Details

GoogleLongrunningOperation create(string $parent, GoogleCloudDataplexV1DataAttributeBinding $postBody, array $optParams = [])

Create a DataAttributeBinding resource. (dataAttributeBindings.create)

Parameters

string $parent

Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}

GoogleCloudDataplexV1DataAttributeBinding $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleLongrunningOperation delete(string $name, array $optParams = [])

Deletes a DataAttributeBinding resource. All attributes within the DataAttributeBinding must be deleted before the DataAttributeBinding can be deleted. (dataAttributeBindings.delete)

Parameters

string $name

Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data _attribute_binding_id}

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudDataplexV1DataAttributeBinding get(string $name, array $optParams = [])

Retrieves a DataAttributeBinding resource. (dataAttributeBindings.get)

Parameters

string $name

Required. The resource name of the DataAttributeBinding: projects/{project_number}/locations/{location_id}/dataAttributeBindings/{data _attribute_binding_id}

array $optParams

Optional parameters.

Return Value

GoogleCloudDataplexV1DataAttributeBinding

Exceptions

Exception

GoogleIamV1Policy getIamPolicy(string $resource, array $optParams = [])

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

(dataAttributeBindings.getIamPolicy)

Parameters

string $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.

array $optParams

Optional parameters.

Return Value

GoogleIamV1Policy

Exceptions

Exception

GoogleCloudDataplexV1ListDataAttributeBindingsResponse listProjectsLocationsDataAttributeBindings(string $parent, array $optParams = [])

Lists DataAttributeBinding resources in a project and location.

(dataAttributeBindings.listProjectsLocationsDataAttributeBindings)

Parameters

string $parent

Required. The resource name of the Location: projects/{project_number}/locations/{location_id}

array $optParams

Optional parameters.

Return Value

GoogleCloudDataplexV1ListDataAttributeBindingsResponse

Exceptions

Exception

GoogleLongrunningOperation patch(string $name, GoogleCloudDataplexV1DataAttributeBinding $postBody, array $optParams = [])

Updates a DataAttributeBinding resource. (dataAttributeBindings.patch)

Parameters

string $name

Output only. The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location }/dataAttributeBindings/{data_attribute_binding_id}

GoogleCloudDataplexV1DataAttributeBinding $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleIamV1Policy setIamPolicy(string $resource, GoogleIamV1SetIamPolicyRequest $postBody, array $optParams = [])

Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. (dataAttributeBindings.setIamPolicy)

Parameters

string $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.

GoogleIamV1SetIamPolicyRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleIamV1Policy

Exceptions

Exception

GoogleIamV1TestIamPermissionsResponse testIamPermissions(string $resource, GoogleIamV1TestIamPermissionsRequest $postBody, array $optParams = [])

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. (dataAttributeBindings.testIamPermissions)

Parameters

string $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.

GoogleIamV1TestIamPermissionsRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleIamV1TestIamPermissionsResponse

Exceptions

Exception