Class ProjectsResource.LocationsResource.AppsResource.GuardrailsResource.DeleteRequest
Deletes the specified guardrail.
Inheritance
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.AppsResource.GuardrailsResource.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 guardrail. 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 guardrail, 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 guardrail, even if it is still
referenced by app/agents. * If force = false, the deletion fails if any apps/agents still
reference the guardrail. * If force = true, all existing references from apps/agents will
be removed and the guardrail 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 guardrail 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()