# Cloud Build V2 API - Class Google::Cloud::Build::V2::DeleteRepositoryRequest (v0.14.0)

0.14.0 (latest) 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 0.8.0 0.7.2 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::DeleteRepositoryRequest.

Message for deleting a Repository.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #etag

    def etag() -> ::String

**Returns**

- (::String) --- The current etag of the repository. If an etag is provided and does not match the current etag of the repository, deletion will be blocked and an ABORTED error will be returned.

### #etag=

    def etag=(value) -> ::String

**Parameter**

- **value** (::String) --- The current etag of the repository. If an etag is provided and does not match the current etag of the repository, deletion will be blocked and an ABORTED error will be returned.
**Returns**

- (::String) --- The current etag of the repository. If an etag is provided and does not match the current etag of the repository, deletion will be blocked and an ABORTED error will be returned.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The name of the Repository to delete. Format: `projects/*/locations/*/connections/*/repositories/*`.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the Repository to delete. Format: `projects/*/locations/*/connections/*/repositories/*`.
**Returns**

- (::String) --- Required. The name of the Repository to delete. Format: `projects/*/locations/*/connections/*/repositories/*`.

### #validate_only

    def validate_only() -> ::Boolean

**Returns**

- (::Boolean) --- If set, validate the request, but do not actually post it.

### #validate_only=

    def validate_only=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- If set, validate the request, but do not actually post it.
**Returns**

- (::Boolean) --- If set, validate the request, but do not actually post it.