public sealed class Job : IMessage<Job>, IEquatable<Job>, IDeepCloneable<Job>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class Job.
Describes a job
Namespace
Google.Cloud.SecurityCenter.V2Assembly
Google.Cloud.SecurityCenter.V2.dll
Constructors
Job()
public Job()
Job(Job)
public Job(Job other)
Parameter | |
---|---|
Name | Description |
other |
Job |
Properties
ErrorCode
public int ErrorCode { get; set; }
Optional. If the job did not complete successfully, this field describes why.
Property Value | |
---|---|
Type | Description |
int |
Location
public string Location { get; set; }
Optional. Gives the location where the job ran, such as US
or
europe-west1
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
The fully-qualified name for a job.
e.g. projects/<project_id>/jobs/<job_id>
Property Value | |
---|---|
Type | Description |
string |
State
public JobState State { get; set; }
Output only. State of the job, such as RUNNING
or PENDING
.
Property Value | |
---|---|
Type | Description |
JobState |