Class NamespacesResource.WorkerpoolsResource.DeleteRequest
Deletes the provided worker pool. This will cause the WorkerPool to stop all instances and will delete all associated WorkerPoolRevisions.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudRun.v1
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class NamespacesResource.WorkerpoolsResource.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
DryRun
Indicates that the server should validate the request and populate default values without persisting
the request. Supported values: all
Declaration
[RequestParameter("dryRun", RequestParameterType.Query)]
public virtual string DryRun { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The fully qualified name of the worker pool to delete. It can be any of the following
forms: * namespaces/{project_id_or_number}/workerpools/{worker_pool_name}
(only when the
endpoint
is regional) *
projects/{project_id_or_number}/locations/{region}/workerpools/{worker_pool_name}
*
projects/{project_id_or_number}/regions/{region}/workerpools/{worker_pool_name}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
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()