Skip to main content

actions

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

Overview

Nameactions
TypeResource
Idgoogle.dataplex.actions

Fields

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).
detectTimestringThe time that the issue was detected.
failedSecurityPolicyApplyobjectFailed to apply security policy to the managed resource(s) under a lake, zone or an asset. For a lake or zone resource, one or more underlying assets has a failure applying security policy to the associated managed resource.
incompatibleDataSchemaobjectAction details for incompatible schemas detected by discovery.
invalidDataFormatobjectAction details for invalid or unsupported data files detected by discovery.
invalidDataOrganizationobjectAction details for invalid data arrangement.
invalidDataPartitionobjectAction details for invalid or unsupported partitions detected by discovery.
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}.
missingDataobjectAction details for absence of data detected by discovery.
missingResourceobjectAction details for resource references in assets that cannot be located.
unauthorizedResourceobjectAction details for unauthorized resource issues raised to indicate that the service account associated with the lake instance is not authorized to access or manage the resource associated with an asset.
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

NameAccessible byRequired ParamsDescription
projects_locations_lakes_actions_listSELECTlakesId, locationsId, projectsIdLists action resources in a lake.
projects_locations_lakes_zones_actions_listSELECTlakesId, locationsId, projectsId, zonesIdLists action resources in a zone.
projects_locations_lakes_zones_assets_actions_listSELECTassetsId, lakesId, locationsId, projectsId, zonesIdLists action resources in an asset.

SELECT examples

Lists action resources in a lake.

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