# App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::CreateDomainMappingRequest (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::CreateDomainMappingRequest.

Request message for `DomainMappings.CreateDomainMapping`.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #domain_mapping

    def domain_mapping() -> ::Google::Cloud::AppEngine::V1::DomainMapping

**Returns**

- ([::Google::Cloud::AppEngine::V1::DomainMapping](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-DomainMapping)) --- Domain mapping configuration.

### #domain_mapping=

    def domain_mapping=(value) -> ::Google::Cloud::AppEngine::V1::DomainMapping

**Parameter**

- **value** ([::Google::Cloud::AppEngine::V1::DomainMapping](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-DomainMapping)) --- Domain mapping configuration.
**Returns**

- ([::Google::Cloud::AppEngine::V1::DomainMapping](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-DomainMapping)) --- Domain mapping configuration.

### #override_strategy

    def override_strategy() -> ::Google::Cloud::AppEngine::V1::DomainOverrideStrategy

**Returns**

- ([::Google::Cloud::AppEngine::V1::DomainOverrideStrategy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-DomainOverrideStrategy)) --- Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.

### #override_strategy=

    def override_strategy=(value) -> ::Google::Cloud::AppEngine::V1::DomainOverrideStrategy

**Parameter**

- **value** ([::Google::Cloud::AppEngine::V1::DomainOverrideStrategy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-DomainOverrideStrategy)) --- Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
**Returns**

- ([::Google::Cloud::AppEngine::V1::DomainOverrideStrategy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-DomainOverrideStrategy)) --- Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Name of the parent Application resource. Example: `apps/myapp`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of the parent Application resource. Example: `apps/myapp`.
**Returns**

- (::String) --- Name of the parent Application resource. Example: `apps/myapp`.