ListActionsResponse

Stay organized with collections Save and categorize content based on your preferences.

List actions response.

JSON representation
{
  "actions": [
    {
      object (Action)
    }
  ],
  "nextPageToken": string
}
Fields
actions[]

object (Action)

Actions under the given parent lake/zone/asset.

nextPageToken

string

Token to retrieve the next page of results, or empty if there are no more results in the list.

Action

Action represents an issue requiring administrator action for resolution.

JSON representation
{
  "category": enum (Category),
  "issue": string,
  "detectTime": string,
  "name": string,
  "lake": string,
  "zone": string,
  "asset": string,
  "dataLocations": [
    string
  ],

  // Union field details can be only one of the following:
  "invalidDataFormat": {
    object (InvalidDataFormat)
  },
  "incompatibleDataSchema": {
    object (IncompatibleDataSchema)
  },
  "invalidDataPartition": {
    object (InvalidDataPartition)
  },
  "missingData": {
    object (MissingData)
  },
  "missingResource": {
    object (MissingResource)
  },
  "unauthorizedResource": {
    object (UnauthorizedResource)
  },
  "failedSecurityPolicyApply": {
    object (FailedSecurityPolicyApply)
  },
  "invalidDataOrganization": {
    object (InvalidDataOrganization)
  }
  // End of list of possible types for union field details.
}
Fields
category

enum (Category)

The category of issue associated with the action.

issue

string

Detailed description of the issue requiring action.

detectTime

string (Timestamp format)

The time that the issue was detected.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

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}.

lake

string

Output only. The relative resource name of the lake, of the form: projects/{project_number}/locations/{locationId}/lakes/{lakeId}.

zone

string

Output only. The relative resource name of the zone, of the form: projects/{project_number}/locations/{locationId}/lakes/{lakeId}/zones/{zoneId}.

asset

string

Output only. The relative resource name of the asset, of the form: projects/{project_number}/locations/{locationId}/lakes/{lakeId}/zones/{zoneId}/assets/{assetId}.

dataLocations[]

string

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).

Union field details. Additional details about the action based on the action category. details can be only one of the following:
invalidDataFormat

object (InvalidDataFormat)

Details for issues related to invalid or unsupported data formats.

incompatibleDataSchema

object (IncompatibleDataSchema)

Details for issues related to incompatible schemas detected within data.

invalidDataPartition

object (InvalidDataPartition)

Details for issues related to invalid or unsupported data partition structure.

missingData

object (MissingData)

Details for issues related to absence of data within managed resources.

missingResource

object (MissingResource)

Details for issues related to absence of a managed resource.

unauthorizedResource

object (UnauthorizedResource)

Details for issues related to lack of permissions to access data resources.

failedSecurityPolicyApply

object (FailedSecurityPolicyApply)

Details for issues related to applying security policy.

invalidDataOrganization

object (InvalidDataOrganization)

Details for issues related to invalid data arrangement.

Category

The category of issues.

Enums
CATEGORY_UNSPECIFIED Unspecified category.
RESOURCE_MANAGEMENT Resource management related issues.
SECURITY_POLICY Security policy related issues.
DATA_DISCOVERY Data and discovery related issues.

InvalidDataFormat

Action details for invalid or unsupported data files detected by discovery.

JSON representation
{
  "sampledDataLocations": [
    string
  ],
  "expectedFormat": string,
  "newFormat": string
}
Fields
sampledDataLocations[]

string

The list of data locations sampled and used for format/schema inference.

expectedFormat

string

The expected data format of the entity.

newFormat

string

The new unexpected data format within the entity.

IncompatibleDataSchema

Action details for incompatible schemas detected by discovery.

JSON representation
{
  "table": string,
  "existingSchema": string,
  "newSchema": string,
  "sampledDataLocations": [
    string
  ],
  "schemaChange": enum (SchemaChange)
}
Fields
table

string

The name of the table containing invalid data.

existingSchema

string

The existing and expected schema of the table. The schema is provided as a JSON formatted structure listing columns and data types.

newSchema

string

The new and incompatible schema within the table. The schema is provided as a JSON formatted structured listing columns and data types.

sampledDataLocations[]

string

The list of data locations sampled and used for format/schema inference.

schemaChange

enum (SchemaChange)

Whether the action relates to a schema that is incompatible or modified.

SchemaChange

Whether the action relates to a schema that is incompatible or modified.

Enums
SCHEMA_CHANGE_UNSPECIFIED Schema change unspecified.
INCOMPATIBLE Newly discovered schema is incompatible with existing schema.
MODIFIED Newly discovered schema has changed from existing schema for data in a curated zone.

InvalidDataPartition

Action details for invalid or unsupported partitions detected by discovery.

JSON representation
{
  "expectedStructure": enum (PartitionStructure)
}
Fields
expectedStructure

enum (PartitionStructure)

The issue type of InvalidDataPartition.

PartitionStructure

The expected partition structure.

Enums
PARTITION_STRUCTURE_UNSPECIFIED PartitionStructure unspecified.
CONSISTENT_KEYS Consistent hive-style partition definition (both raw and curated zone).
HIVE_STYLE_KEYS Hive style partition definition (curated zone only).

MissingData

Action details for absence of data detected by discovery.

MissingResource

Action details for resource references in assets that cannot be located.

UnauthorizedResource

Action 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.

FailedSecurityPolicyApply

Failed 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.

JSON representation
{
  "asset": string
}
Fields
asset

string

Resource name of one of the assets with failing security policy application. Populated for a lake or zone resource only.

InvalidDataOrganization

Action details for invalid data arrangement.