# Cloud Domains V1 API - Class Google::Cloud::Domains::V1::SearchDomainsRequest (v1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Domains V1 API class Google::Cloud::Domains::V1::SearchDomainsRequest.

Request for the `SearchDomains` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #location

    def location() -> ::String

**Returns**

- (::String) --- Required. The location. Must be in the format `projects/*/locations/*`.

### #location=

    def location=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The location. Must be in the format `projects/*/locations/*`.
**Returns**

- (::String) --- Required. The location. Must be in the format `projects/*/locations/*`.

### #query

    def query() -> ::String

**Returns**

- (::String) --- Required. String used to search for available domain names.

### #query=

    def query=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. String used to search for available domain names.
**Returns**

- (::String) --- Required. String used to search for available domain names.