Class ProjectsResource.LocationsResource.WorkstationClustersResource.WorkstationConfigsResource.DeleteRequest
Deletes the specified workstation configuration.
Inheritance
ProjectsResource.LocationsResource.WorkstationClustersResource.WorkstationConfigsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.CloudWorkstations.v1beta
Assembly: Google.Apis.CloudWorkstations.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.WorkstationClustersResource.WorkstationConfigsResource.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 is rejected if the latest version of the workstation configuration 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 workstations in the workstation configuration are also deleted. Otherwise, the request works only if the workstation configuration has no 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 configuration 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 actually 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()