REST Resource: projects.locations.dataExportJobs

Resource: DataExportJob

Describes a data export job.

JSON representation
{
  "projectNumber": string,
  "location": string,
  "dataset": string,
  "table": string,
  "frequency": enum (Frequency),
  "state": enum (JobState),
  "id": string,
  "createTime": string,
  "updateTime": string
}
Fields
projectNumber

string (int64 format)

User project number. The project should have document warehouse API enabled. The BigQuery database should also be in the same project.

location

string

Location of document warehouse API.

dataset

string

BigQuery dataset name.

table

string

BigQuery table name.

frequency

enum (Frequency)

Frequency of the data export job.

state

enum (JobState)

The current state of the data export job.

id

string

The data export job id.

createTime

string (Timestamp format)

The create time of the job.

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

updateTime

string (Timestamp format)

The last update time of the job.

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

Frequency

Frequency of the data export job.

Enums
FREQUENCY_UNSPECIFIED Unspecified frequency. Will be rejected.
ADHOC Adhoc data export job only runs once and syncs all contents to BigQuery. No new updates will be appended after the sync.
DAILY Daily job runs daily.
HOURLY Hourly job runs hourly.

JobState

status of a data export job.

Enums
JOB_STATE_UNSPECIFIED Unspecified state.
ACTIVE The job is active. For daily and hourly jobs, DW will do the initial sync or sync new updates to BigQuery. For Adhoc jobs, DW will execute the full data sync.
ARCHIVED The job has been archived. No more updates will be sent to BigQuery.

Methods

archiveDataExportJob

Archives a data export job.

create

Creates a data export job.