Class ProjectsResource.LocationsResource.JobsResource
The "jobs" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudRun.v2
Assembly: Google.Apis.CloudRun.v2.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
Executions
Gets the Executions resource.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.ExecutionsResource Executions { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.ExecutionsResource |
Methods
Create(GoogleCloudRunV2Job, string)
Creates a Job.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.CreateRequest Create(GoogleCloudRunV2Job body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRunV2Job | body | The body of the request. |
string | parent | Required. The location and project in which this Job should be created. Format: projects/{project}/locations/{location}, where {project} can be project id or number. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.CreateRequest |
Delete(string)
Deletes a Job.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The full name of the Job. Format: projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or number. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.DeleteRequest |
Get(string)
Gets information about a Job.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The full name of the Job. Format: projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or number. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.GetRequest |
GetIamPolicy(string)
Gets the IAM Access Control policy currently in effect for the given Job. This result does not include any inherited policies.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
Type | Name | Description |
---|---|---|
string | resource | REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.GetIamPolicyRequest |
List(string)
Lists Jobs. Results are sorted by creation time, descending.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The location and project to list resources on. Format: projects/{project}/locations/{location}, where {project} can be project id or number. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.ListRequest |
Patch(GoogleCloudRunV2Job, string)
Updates a Job.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.PatchRequest Patch(GoogleCloudRunV2Job body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRunV2Job | body | The body of the request. |
string | name | The fully qualified name of this Job. Format: projects/{project}/locations/{location}/jobs/{job} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.PatchRequest |
Run(GoogleCloudRunV2RunJobRequest, string)
Triggers creation of a new Execution of this Job.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.RunRequest Run(GoogleCloudRunV2RunJobRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRunV2RunJobRequest | body | The body of the request. |
string | name | Required. The full name of the Job. Format: projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or number. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.RunRequest |
SetIamPolicy(GoogleIamV1SetIamPolicyRequest, string)
Sets the IAM Access control policy for the specified Job. Overwrites any existing policy.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.SetIamPolicyRequest SetIamPolicy(GoogleIamV1SetIamPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
GoogleIamV1SetIamPolicyRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.SetIamPolicyRequest |
TestIamPermissions(GoogleIamV1TestIamPermissionsRequest, string)
Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.TestIamPermissionsRequest TestIamPermissions(GoogleIamV1TestIamPermissionsRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
GoogleIamV1TestIamPermissionsRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.TestIamPermissionsRequest |