Google Cloud Appengine Admin V1 Client - Class CreateDomainMappingRequest (1.0.6)

Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class CreateDomainMappingRequest.

Request message for DomainMappings.CreateDomainMapping.

Generated from protobuf message google.appengine.v1.CreateDomainMappingRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Name of the parent Application resource. Example: apps/myapp.

↳ domain_mapping Google\Cloud\AppEngine\V1\DomainMapping

Domain mapping configuration.

↳ override_strategy int

Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.

getParent

Name of the parent Application resource. Example: apps/myapp.

Returns
TypeDescription
string

setParent

Name of the parent Application resource. Example: apps/myapp.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDomainMapping

Domain mapping configuration.

Returns
TypeDescription
Google\Cloud\AppEngine\V1\DomainMapping|null

hasDomainMapping

clearDomainMapping

setDomainMapping

Domain mapping configuration.

Parameter
NameDescription
var Google\Cloud\AppEngine\V1\DomainMapping
Returns
TypeDescription
$this

getOverrideStrategy

Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.

Returns
TypeDescription
int

setOverrideStrategy

Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.

Parameter
NameDescription
var int
Returns
TypeDescription
$this