ProjectsLocationsJobsResourceApi class

Constructors

ProjectsLocationsJobsResourceApi(ApiRequester client)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

create(Job request, String parent, {String $fields}) Future<Job>
Creates a job. [...]
delete(String name, {String $fields}) Future<Empty>
Deletes a job. [...]
get(String name, {String $fields}) Future<Job>
Gets a job. [...]
list(String parent, {int pageSize, String pageToken, String $fields}) Future<ListJobsResponse>
Lists jobs. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
patch(Job request, String name, {String updateMask, String $fields}) Future<Job>
Updates a job. If successful, the updated Job is returned. If the job does not exist, NOT_FOUND is returned. If UpdateJob does not successfully return, it is possible for the job to be in an Job.State.UPDATE_FAILED state. A job in this state may not be executed. If this happens, retry the UpdateJob request until a successful response is received. [...]
pause(PauseJobRequest request, String name, {String $fields}) Future<Job>
Pauses a job. If a job is paused then the system will stop executing the job until it is re-enabled via ResumeJob. The state of the job is stored in state; if paused it will be set to Job.State.PAUSED. A job must be in Job.State.ENABLED to be paused. [...]
resume(ResumeJobRequest request, String name, {String $fields}) Future<Job>
Resume a job. This method reenables a job after it has been Job.State.PAUSED. The state of a job is stored in Job.state; after calling this method it will be set to Job.State.ENABLED. A job must be in Job.State.PAUSED to be resumed. [...]
run(RunJobRequest request, String name, {String $fields}) Future<Job>
Forces a job to run now. When this method is called, Cloud Scheduler will dispatch the job, even if the job is already running. [...]
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited