REST Resource: projects.locations.observationJobs

Resource: ObservationJob

Message describing ObservationJob object

JSON representation
{
  "name": string,
  "state": enum (State),
  "sources": [
    string
  ],
  "createTime": string,
  "updateTime": string
}
Fields
name

string

Identifier. name of resource Format: projects/{project}/locations/{location}/observationJobs/{observationJob}

state

enum (State)

Output only. The observation job state

sources[]

string

Optional. These should be of the same kind of source.

createTime

string (Timestamp format)

Output only. [Output only] Create time stamp

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)

Output only. [Output only] Update time stamp

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

State

Observation job state

Enums
STATE_UNSPECIFIED Unspecified state
CREATING Job is in the creating state
ENABLING Job is in the enabling state
ENABLED Job is enabled
DISABLING Job is in the disabling state
DISABLED Job is disabled
DELETING Job is being deleted
ERROR Job is in an error state

Methods

create

CreateObservationJob creates a new ObservationJob but does not have any effecton its own.

delete

DeleteObservationJob deletes an ObservationJob.

disable

Disables the given ObservationJob.

enable

Enables the given ObservationJob.

get

GetObservationJob retrieves a single ObservationJob by name.

list

ListObservationJobs gets all ObservationJobs for a given project and location.