Resource: DataExport
DataExport resource.
JSON representation |
---|
{
"name": string,
"start_time": string,
"end_time": string,
"log_type": string,
"gcs_bucket": string,
"data_export_status": {
object ( |
Fields | |
---|---|
name |
Identifier. Name of the DataTap. |
start_ |
Required. Start, inclusive time from the range. 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: |
end_ |
Required. Last, exclusive time from the range. 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: |
log_ |
Optional. Log type to export. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type} |
gcs_ |
Required. Link to the destination Cloud Storage bucket. |
data_ |
Output only. Status of the current export. |
export_ |
Optional. Option to indicate export of all log types. |
DataExportStatus
Represents a data export status.
JSON representation |
---|
{
"stage": enum ( |
Fields | |
---|---|
stage |
Output only. The stage/status of a given data export request. |
progress_ |
Output only. The progress in percentage, only applicable for stage "PROCESSING" |
error |
Output only. The error message if the stage is FINISHED_FAILURE |
Stage
Represents the stage/status of the data export request.
Enums | |
---|---|
STAGE_UNSPECIFIED |
Unspecified stage. |
IN_QUEUE |
The request is still in the queue and yet to be processed. |
PROCESSING |
The request is being processed. |
FINISHED_FAILURE |
The system wasn't able to process the request successfully. |
FINISHED_SUCCESS |
The system processed the request successfully. |
CANCELLED |
The request has been cancelled by the system. |
Methods |
|
---|---|
|
Cancels a DataExport. |
|
Creates a new DataExport. |
|
Fetches available log types for export. |
|
Gets a DataExport. |