Class ProjectsResource.LocationsResource.JobsResource
The "jobs" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudRun.v1
Assembly: Google.Apis.CloudRun.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 |
Methods
GetIamPolicy(string)
Get 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 |
SetIamPolicy(SetIamPolicyRequest, string)
Sets the IAM Access control policy for the specified job. Overwrites any existing policy.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
SetIamPolicyRequest | 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(TestIamPermissionsRequest, string)
Returns permissions that a caller has on the specified job. There are no permissions required for making this API call.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestIamPermissionsRequest | 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 |