Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class Job.
Describes a job
Generated from protobuf message google.cloud.securitycenter.v2.Job
Namespace
Google \ Cloud \ SecurityCenter \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The fully-qualified name for a job. e.g. projects/<project_id>/jobs/<job_id>
↳ state
int
Output only. State of the job, such as RUNNING
or PENDING
.
↳ error_code
int
Optional. If the job did not complete successfully, this field describes why.
↳ location
string
Optional. Gives the location where the job ran, such as US
or europe-west1
getName
The fully-qualified name for a job.
e.g. projects/<project_id>/jobs/<job_id>
string
setName
The fully-qualified name for a job.
e.g. projects/<project_id>/jobs/<job_id>
var
string
$this
getState
Output only. State of the job, such as RUNNING
or PENDING
.
int
setState
Output only. State of the job, such as RUNNING
or PENDING
.
var
int
$this
getErrorCode
Optional. If the job did not complete successfully, this field describes why.
int
setErrorCode
Optional. If the job did not complete successfully, this field describes why.
var
int
$this
getLocation
Optional. Gives the location where the job ran, such as US
or europe-west1
string
setLocation
Optional. Gives the location where the job ran, such as US
or europe-west1
var
string
$this