actions
Creates, updates, deletes, gets or lists an actions
resource.
Overview
Name | actions |
Type | Resource |
Id | google.dataplex.actions |
Fields
The following fields are returned by SELECT
queries:
- projects_locations_lakes_zones_assets_actions_list
- projects_locations_lakes_zones_actions_list
- projects_locations_lakes_actions_list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Output 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}. |
asset | string | Output 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}. |
category | string | The category of issue associated with the action. |
dataLocations | array | The 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). |
detectTime | string (google-datetime) | The time that the issue was detected. |
failedSecurityPolicyApply | object | Details for issues related to applying security policy. (id: GoogleCloudDataplexV1ActionFailedSecurityPolicyApply) |
incompatibleDataSchema | object | Details for issues related to incompatible schemas detected within data. (id: GoogleCloudDataplexV1ActionIncompatibleDataSchema) |
invalidDataFormat | object | Details for issues related to invalid or unsupported data formats. (id: GoogleCloudDataplexV1ActionInvalidDataFormat) |
invalidDataOrganization | object | Details for issues related to invalid data arrangement. (id: GoogleCloudDataplexV1ActionInvalidDataOrganization) |
invalidDataPartition | object | Details for issues related to invalid or unsupported data partition structure. (id: GoogleCloudDataplexV1ActionInvalidDataPartition) |
issue | string | Detailed description of the issue requiring action. |
lake | string | Output only. The relative resource name of the lake, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. |
missingData | object | Details for issues related to absence of data within managed resources. (id: GoogleCloudDataplexV1ActionMissingData) |
missingResource | object | Details for issues related to absence of a managed resource. (id: GoogleCloudDataplexV1ActionMissingResource) |
unauthorizedResource | object | Details for issues related to lack of permissions to access data resources. (id: GoogleCloudDataplexV1ActionUnauthorizedResource) |
zone | string | Output only. The relative resource name of the zone, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Output 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}. |
asset | string | Output 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}. |
category | string | The category of issue associated with the action. |
dataLocations | array | The 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). |
detectTime | string (google-datetime) | The time that the issue was detected. |
failedSecurityPolicyApply | object | Details for issues related to applying security policy. (id: GoogleCloudDataplexV1ActionFailedSecurityPolicyApply) |
incompatibleDataSchema | object | Details for issues related to incompatible schemas detected within data. (id: GoogleCloudDataplexV1ActionIncompatibleDataSchema) |
invalidDataFormat | object | Details for issues related to invalid or unsupported data formats. (id: GoogleCloudDataplexV1ActionInvalidDataFormat) |
invalidDataOrganization | object | Details for issues related to invalid data arrangement. (id: GoogleCloudDataplexV1ActionInvalidDataOrganization) |
invalidDataPartition | object | Details for issues related to invalid or unsupported data partition structure. (id: GoogleCloudDataplexV1ActionInvalidDataPartition) |
issue | string | Detailed description of the issue requiring action. |
lake | string | Output only. The relative resource name of the lake, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. |
missingData | object | Details for issues related to absence of data within managed resources. (id: GoogleCloudDataplexV1ActionMissingData) |
missingResource | object | Details for issues related to absence of a managed resource. (id: GoogleCloudDataplexV1ActionMissingResource) |
unauthorizedResource | object | Details for issues related to lack of permissions to access data resources. (id: GoogleCloudDataplexV1ActionUnauthorizedResource) |
zone | string | Output only. The relative resource name of the zone, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Output 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}. |
asset | string | Output 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}. |
category | string | The category of issue associated with the action. |
dataLocations | array | The 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). |
detectTime | string (google-datetime) | The time that the issue was detected. |
failedSecurityPolicyApply | object | Details for issues related to applying security policy. (id: GoogleCloudDataplexV1ActionFailedSecurityPolicyApply) |
incompatibleDataSchema | object | Details for issues related to incompatible schemas detected within data. (id: GoogleCloudDataplexV1ActionIncompatibleDataSchema) |
invalidDataFormat | object | Details for issues related to invalid or unsupported data formats. (id: GoogleCloudDataplexV1ActionInvalidDataFormat) |
invalidDataOrganization | object | Details for issues related to invalid data arrangement. (id: GoogleCloudDataplexV1ActionInvalidDataOrganization) |
invalidDataPartition | object | Details for issues related to invalid or unsupported data partition structure. (id: GoogleCloudDataplexV1ActionInvalidDataPartition) |
issue | string | Detailed description of the issue requiring action. |
lake | string | Output only. The relative resource name of the lake, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}. |
missingData | object | Details for issues related to absence of data within managed resources. (id: GoogleCloudDataplexV1ActionMissingData) |
missingResource | object | Details for issues related to absence of a managed resource. (id: GoogleCloudDataplexV1ActionMissingResource) |
unauthorizedResource | object | Details for issues related to lack of permissions to access data resources. (id: GoogleCloudDataplexV1ActionUnauthorizedResource) |
zone | string | Output 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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_lakes_zones_assets_actions_list | select | projectsId , locationsId , lakesId , zonesId , assetsId | pageSize , pageToken | Lists action resources in an asset. |
projects_locations_lakes_zones_actions_list | select | projectsId , locationsId , lakesId , zonesId | pageSize , pageToken | Lists action resources in a zone. |
projects_locations_lakes_actions_list | select | projectsId , locationsId , lakesId | pageSize , pageToken | Lists 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.
Name | Datatype | Description |
---|---|---|
assetsId | string | |
lakesId | string | |
locationsId | string | |
projectsId | string | |
zonesId | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- projects_locations_lakes_zones_assets_actions_list
- projects_locations_lakes_zones_actions_list
- projects_locations_lakes_actions_list
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 }}';
Lists action resources in a zone.
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 pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';
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 projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND lakesId = '{{ lakesId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';