Class NamespacesResource.JobsResource.DeleteRequest
Delete a job.
Inheritance
NamespacesResource.JobsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.CloudRun.v1
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class NamespacesResource.JobsResource.DeleteRequest : CloudRunBaseServiceRequest<Status>, IClientServiceRequest<Status>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
ApiVersion
Optional. Cloud Run currently ignores this parameter.
Declaration
[RequestParameter("apiVersion", RequestParameterType.Query)]
public virtual string ApiVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Kind
Optional. Cloud Run currently ignores this parameter.
Declaration
[RequestParameter("kind", RequestParameterType.Query)]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the job to delete. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
PropagationPolicy
Optional. Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.
Declaration
[RequestParameter("propagationPolicy", RequestParameterType.Query)]
public virtual string PropagationPolicy { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()