Class ProjectsResource.LocationsResource.JobsResource
The "jobs" collection of methods.
Inherited Members
Namespace: Google.Apis.Batch.v1
Assembly: Google.Apis.Batch.v1.dll
Syntax
public class ProjectsResource.LocationsResource.JobsResource
Constructors
JobsResource(IClientService)
Constructs a new resource.
Declaration
public JobsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
TaskGroups
Gets the TaskGroups resource.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.TaskGroupsResource TaskGroups { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.TaskGroupsResource |
Methods
Create(Job, string)
Create a Job.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.CreateRequest Create(Job body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Job | body | The body of the request. |
string | parent | Required. The parent resource name where the Job will be created. Pattern: "projects/{project}/locations/{location}" |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.CreateRequest |
Delete(string)
Delete a Job.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Job name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.DeleteRequest |
Get(string)
Get a Job specified by its resource name.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Job name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.GetRequest |
List(string)
List all Jobs for a project within a region.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Parent path. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.ListRequest |