# Apigee Registry V1 API - Class Google::Cloud::ApigeeRegistry::V1::DeleteApiSpecRequest (v0.16.0)

0.15.0 (latest) 0.14.0 0.13.1 0.12.0 0.11.0 0.10.1 0.9.0 0.8.1 0.7.2 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Apigee Registry V1 API class Google::Cloud::ApigeeRegistry::V1::DeleteApiSpecRequest.

Request message for DeleteApiSpec.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #force

    def force() -> ::Boolean

**Returns**

- (::Boolean) --- If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.)

### #force=

    def force=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.)
**Returns**

- (::Boolean) --- If set to true, any child resources will also be deleted. (Otherwise, the request will only work if there are no child resources.)

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The name of the spec to delete. Format: `projects/*/locations/*/apis/*/versions/*/specs/*`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the spec to delete. Format: `projects/*/locations/*/apis/*/versions/*/specs/*`
**Returns**

- (::String) --- Required. The name of the spec to delete. Format: `projects/*/locations/*/apis/*/versions/*/specs/*`