Class ProjectsResource.LocationsResource.WorkerPoolsResource.DeleteRequest
Deletes a WorkerPool
. NOTE: As of now, this method returns an Operation
that is always complete.
Inheritance
System.Object
ProjectsResource.LocationsResource.WorkerPoolsResource.DeleteRequest
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.CloudBuild.v1beta1
Assembly: Google.Apis.CloudBuild.v1beta1.dll
Syntax
public class DeleteRequest : CloudBuildBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, String)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
System.String | name |
Properties
Etag
Optional. If this is provided, it must match the server's etag on the workerpool for the request to be processed.
Declaration
[RequestParameter("etag", RequestParameterType.Query)]
public virtual string Etag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1beta1.Data.Operation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1beta1.Data.Operation>.MethodName
Name
Required. The name of the WorkerPool
to delete. Format:
projects/{project}/locations/{workerPool}/workerPools/{workerPool}
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBuild.v1beta1.Data.Operation>.RestPath
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudBuild.v1beta1.CloudBuildBaseServiceRequest<Google.Apis.CloudBuild.v1beta1.Data.Operation>.InitParameters()