REST Resource: projects.locations.instances.dataExports

Resource: DataExport

DataExport resource.

JSON representation
{
  "name": string,
  "start_time": string,
  "end_time": string,
  "log_type": string,
  "gcs_bucket": string,
  "data_export_status": {
    object (DataExportStatus)
  },
  "export_all_logs": boolean
}
Fields
name

string

Identifier. Name of the DataTap.

start_time

string (Timestamp format)

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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

end_time

string (Timestamp format)

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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

log_type

string

Optional. Log type to export. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}

gcs_bucket

string

Required. Link to the destination Cloud Storage bucket.

data_export_status

object (DataExportStatus)

Output only. Status of the current export.

export_all_logs

boolean

Optional. Option to indicate export of all log types.

DataExportStatus

Represents a data export status.

JSON representation
{
  "stage": enum (Stage),
  "progress_percentage": integer,
  "error": string
}
Fields
stage

enum (Stage)

Output only. The stage/status of a given data export request.

progress_percentage

integer

Output only. The progress in percentage, only applicable for stage "PROCESSING"

error

string

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

cancel

Cancels a DataExport.

create

Creates a new DataExport.

fetchavailablelogtypes

Fetches available log types for export.

get

Gets a DataExport.