class ProjectsLocationsDomainmappings extends Resource (View source)

The "domainmappings" collection of methods.

Typical usage is:

 $runService = new Google\Service\CloudRun(...);
 $domainmappings = $runService->domainmappings;

Methods

create(string $parent, DomainMapping $postBody, array $optParams = [])

Create a new domain mapping. (domainmappings.create)

delete(string $name, array $optParams = [])

Delete a domain mapping. (domainmappings.delete)

get(string $name, array $optParams = [])

Get information about a domain mapping. (domainmappings.get)

listProjectsLocationsDomainmappings(string $parent, array $optParams = [])

List domain mappings. (domainmappings.listProjectsLocationsDomainmappings)

Details

DomainMapping create(string $parent, DomainMapping $postBody, array $optParams = [])

Create a new domain mapping. (domainmappings.create)

Parameters

string $parent

The namespace in which the domain mapping should be created. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number.

DomainMapping $postBody
array $optParams

Optional parameters.

Return Value

DomainMapping

Status delete(string $name, array $optParams = [])

Delete a domain mapping. (domainmappings.delete)

Parameters

string $name

The name of the domain mapping to delete. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number.

array $optParams

Optional parameters.

Return Value

Status

DomainMapping get(string $name, array $optParams = [])

Get information about a domain mapping. (domainmappings.get)

Parameters

string $name

The name of the domain mapping to retrieve. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number.

array $optParams

Optional parameters.

Return Value

DomainMapping

ListDomainMappingsResponse listProjectsLocationsDomainmappings(string $parent, array $optParams = [])

List domain mappings. (domainmappings.listProjectsLocationsDomainmappings)

Parameters

string $parent

The namespace from which the domain mappings should be listed. For Cloud Run (fully managed), replace {namespace_id} with the project ID or number.

array $optParams

Optional parameters.

Return Value

ListDomainMappingsResponse