Show / Hide Table of Contents

Class NamespacesResource.JobsResource

The "jobs" collection of methods.

Inheritance
System.Object
NamespacesResource.JobsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudRun.v1alpha1
Assembly: Google.Apis.CloudRun.v1alpha1.dll
Syntax
public class JobsResource

Constructors

JobsResource(IClientService)

Constructs a new resource.

Declaration
public JobsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(Job, String)

Create a job.

Declaration
public virtual NamespacesResource.JobsResource.CreateRequest Create(Job body, string parent)
Parameters
Type Name Description
Job body

The body of the request.

System.String parent

Required. The namespace in which the job should be created. Replace {namespace_id} with the project ID or number.

Returns
Type Description
NamespacesResource.JobsResource.CreateRequest

Delete(String)

Delete a job.

Declaration
public virtual NamespacesResource.JobsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
System.String name

Required. The name of the job to delete. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number.

Returns
Type Description
NamespacesResource.JobsResource.DeleteRequest

Get(String)

Get information about a job.

Declaration
public virtual NamespacesResource.JobsResource.GetRequest Get(string name)
Parameters
Type Name Description
System.String name

Required. The name of the job to retrieve. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number.

Returns
Type Description
NamespacesResource.JobsResource.GetRequest

List(String)

List jobs.

Declaration
public virtual NamespacesResource.JobsResource.ListRequest List(string parent)
Parameters
Type Name Description
System.String parent

Required. The namespace from which the jobs should be listed. Replace {namespace_id} with the project ID or number.

Returns
Type Description
NamespacesResource.JobsResource.ListRequest
In This Article
Back to top