Interface DeleteAutoProtectionPolicyRequestOrBuilder (0.58.0)

public interface DeleteAutoProtectionPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEtag()

public abstract String getEtag()

The current etag of the AutoProtectionPolicy. If an etag is provided and does not match the current etag of the connection, the request will be rejected with an ABORTED error.

string etag = 2;

Returns
Type Description
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

The current etag of the AutoProtectionPolicy. If an etag is provided and does not match the current etag of the connection, the request will be rejected with an ABORTED error.

string etag = 2;

Returns
Type Description
ByteString

The bytes for etag.

getName()

public abstract String getName()

Required. The name of the policy to delete. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the policy to delete. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.