- JSON representation
- Action
- Category
- InvalidDataFormat
- IncompatibleDataSchema
- SchemaChange
- InvalidDataPartition
- PartitionStructure
- MissingData
- MissingResource
- UnauthorizedResource
- FailedSecurityPolicyApply
- InvalidDataOrganization
List actions response.
JSON representation |
---|
{
"actions"
:
[
{
object (
|
Fields | |
---|---|
actions[]
|
Actions under the given parent lake/zone/asset. |
nextPageToken
|
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
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.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
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
).
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.
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[]
|
The list of data locations sampled and used for format/schema inference. |
expectedFormat
|
The expected data format of the entity. |
newFormat
|
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 (
|
Fields | |
---|---|
table
|
The name of the table containing invalid data. |
existingSchema
|
The existing and expected schema of the table. The schema is provided as a JSON formatted structure listing columns and data types. |
newSchema
|
The new and incompatible schema within the table. The schema is provided as a JSON formatted structured listing columns and data types. |
sampledDataLocations[]
|
The list of data locations sampled and used for format/schema inference. |
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 (
|
Fields | |
---|---|
expectedStructure
|
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
This type has no fields.
Action details for absence of data detected by discovery.
MissingResource
This type has no fields.
Action details for resource references in assets that cannot be located.
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
|
Resource name of one of the assets with failing security policy application. Populated for a lake or zone resource only. |
InvalidDataOrganization
This type has no fields.
Action details for invalid data arrangement.