Skip to main content

actions

Creates, updates, deletes, gets or lists an actions resource.

Overview

Nameactions
TypeResource
Idgoogle.dataplex.actions

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringOutput only. The relative resource name of the action, of the form: projects/{project}/locations/{location}/lakes/{lake}/actions/{action} projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action} projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}.
assetstringOutput only. The relative resource name of the asset, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}.
categorystringThe category of issue associated with the action.
dataLocationsarrayThe list of data locations associated with this action. Cloud Storage locations are represented as URI paths(E.g. gs://bucket/table1/year=2020/month=Jan/). BigQuery locations refer to resource names(E.g. bigquery.googleapis.com/projects/project-id/datasets/dataset-id).
detectTimestring (google-datetime)The time that the issue was detected.
failedSecurityPolicyApplyobjectDetails for issues related to applying security policy. (id: GoogleCloudDataplexV1ActionFailedSecurityPolicyApply)
incompatibleDataSchemaobjectDetails for issues related to incompatible schemas detected within data. (id: GoogleCloudDataplexV1ActionIncompatibleDataSchema)
invalidDataFormatobjectDetails for issues related to invalid or unsupported data formats. (id: GoogleCloudDataplexV1ActionInvalidDataFormat)
invalidDataOrganizationobjectDetails for issues related to invalid data arrangement. (id: GoogleCloudDataplexV1ActionInvalidDataOrganization)
invalidDataPartitionobjectDetails for issues related to invalid or unsupported data partition structure. (id: GoogleCloudDataplexV1ActionInvalidDataPartition)
issuestringDetailed description of the issue requiring action.
lakestringOutput only. The relative resource name of the lake, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.
missingDataobjectDetails for issues related to absence of data within managed resources. (id: GoogleCloudDataplexV1ActionMissingData)
missingResourceobjectDetails for issues related to absence of a managed resource. (id: GoogleCloudDataplexV1ActionMissingResource)
unauthorizedResourceobjectDetails for issues related to lack of permissions to access data resources. (id: GoogleCloudDataplexV1ActionUnauthorizedResource)
zonestringOutput only. The relative resource name of the zone, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_lakes_zones_assets_actions_listselectprojectsId, locationsId, lakesId, zonesId, assetsIdpageSize, pageTokenLists action resources in an asset.
projects_locations_lakes_zones_actions_listselectprojectsId, locationsId, lakesId, zonesIdpageSize, pageTokenLists action resources in a zone.
projects_locations_lakes_actions_listselectprojectsId, locationsId, lakesIdpageSize, pageTokenLists action resources in a lake.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
assetsIdstring
lakesIdstring
locationsIdstring
projectsIdstring
zonesIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Lists action resources in an asset.

SELECT
name,
asset,
category,
dataLocations,
detectTime,
failedSecurityPolicyApply,
incompatibleDataSchema,
invalidDataFormat,
invalidDataOrganization,
invalidDataPartition,
issue,
lake,
missingData,
missingResource,
unauthorizedResource,
zone
FROM google.dataplex.actions
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND lakesId = '{{ lakesId }}' -- required
AND zonesId = '{{ zonesId }}' -- required
AND assetsId = '{{ assetsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';