Class ProjectsResource.LocationsResource.WorkstationClustersResource.DeleteRequest
Deletes the specified workstation cluster.
Inheritance
ProjectsResource.LocationsResource.WorkstationClustersResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.CloudWorkstations.v1beta
Assembly: Google.Apis.CloudWorkstations.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.WorkstationClustersResource.DeleteRequest : CloudWorkstationsBaseServiceRequest<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 | |
string | name |
Properties
Etag
Optional. If set, the request will be rejected if the latest version of the workstation cluster on the server does not have this ETag.
Declaration
[RequestParameter("etag", RequestParameterType.Query)]
public virtual string Etag { get; set; }
Property Value
Type | Description |
---|---|
string |
Force
Optional. If set, any workstation configurations and workstations in the workstation cluster are also deleted. Otherwise, the request only works if the workstation cluster has no configurations or workstations.
Declaration
[RequestParameter("force", RequestParameterType.Query)]
public virtual bool? Force { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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. Name of the workstation cluster to delete.
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
ValidateOnly
Optional. If set, validate the request and preview the review, but do not apply it.
Declaration
[RequestParameter("validateOnly", RequestParameterType.Query)]
public virtual bool? ValidateOnly { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()