Class ProjectsResource.LocationsResource.AppsResource.ToolsResource.DeleteRequest
Deletes the specified tool.
Inheritance
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1
Assembly: Google.Apis.CustomerEngagementSuite.v1.dll
Syntax
public class ProjectsResource.LocationsResource.AppsResource.ToolsResource.DeleteRequest : CustomerEngagementSuiteBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, 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. The current etag of the tool. If an etag is not provided, the deletion will overwrite any concurrent changes. If an etag is provided and does not match the current etag of the tool, deletion will be blocked and an ABORTED error will be returned.
Declaration
[RequestParameter("etag", RequestParameterType.Query)]
public virtual string Etag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Force
Optional. Indicates whether to forcefully delete the tool, even if it is still referenced by
agents/examples. * If force = false, the deletion will fail if any agents still reference
the tool. * If force = true, all existing references from agents will be removed and the
tool will be deleted.
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. The resource name of the tool 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
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()