0.16.0 (latest) 0.15.0 0.14.2 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.1 0.7.0 0.6.1 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the API Keys V2 API class Google::Cloud::ApiKeys::V2::DeleteKeyRequest.

Request message for `DeleteKey` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #etag

    def etag() -> ::String

**Returns**

- (::String) --- Optional. The etag known to the client for the expected state of the key. This is to be used for optimistic concurrency.

### #etag=

    def etag=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The etag known to the client for the expected state of the key. This is to be used for optimistic concurrency.
**Returns**

- (::String) --- Optional. The etag known to the client for the expected state of the key. This is to be used for optimistic concurrency.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The resource name of the API key to be deleted.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The resource name of the API key to be deleted.
**Returns**

- (::String) --- Required. The resource name of the API key to be deleted.