class RegionUrlMaps extends Resource (View source)

The "regionUrlMaps" collection of methods.

Typical usage is:

 $computeService = new Google\Service\Compute(...);
 $regionUrlMaps = $computeService->regionUrlMaps;

Methods

delete(string $project, string $region, string $urlMap, array $optParams = [])

Deletes the specified UrlMap resource. (regionUrlMaps.delete)

get(string $project, string $region, string $urlMap, array $optParams = [])

Returns the specified UrlMap resource. (regionUrlMaps.get)

insert(string $project, string $region, UrlMap $postBody, array $optParams = [])

Creates a UrlMap resource in the specified project using the data included in the request. (regionUrlMaps.insert)

listRegionUrlMaps(string $project, string $region, array $optParams = [])

Retrieves the list of UrlMap resources available to the specified project in the specified region. (regionUrlMaps.listRegionUrlMaps)

patch(string $project, string $region, string $urlMap, UrlMap $postBody, array $optParams = [])

Patches the specified UrlMap resource with the data included in the request.

update(string $project, string $region, string $urlMap, UrlMap $postBody, array $optParams = [])

Updates the specified UrlMap resource with the data included in the request.

validate(string $project, string $region, string $urlMap, RegionUrlMapsValidateRequest $postBody, array $optParams = [])

Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.

Details

Operation delete(string $project, string $region, string $urlMap, array $optParams = [])

Deletes the specified UrlMap resource. (regionUrlMaps.delete)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $urlMap

Name of the UrlMap resource to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

UrlMap get(string $project, string $region, string $urlMap, array $optParams = [])

Returns the specified UrlMap resource. (regionUrlMaps.get)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $urlMap

Name of the UrlMap resource to return.

array $optParams

Optional parameters.

Return Value

UrlMap

Exceptions

Exception

Operation insert(string $project, string $region, UrlMap $postBody, array $optParams = [])

Creates a UrlMap resource in the specified project using the data included in the request. (regionUrlMaps.insert)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

UrlMap $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

UrlMapList listRegionUrlMaps(string $project, string $region, array $optParams = [])

Retrieves the list of UrlMap resources available to the specified project in the specified region. (regionUrlMaps.listRegionUrlMaps)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

array $optParams

Optional parameters.

Return Value

UrlMapList

Exceptions

Exception

Operation patch(string $project, string $region, string $urlMap, UrlMap $postBody, array $optParams = [])

Patches the specified UrlMap resource with the data included in the request.

This method supports PATCH semantics and uses JSON merge patch format and processing rules. (regionUrlMaps.patch)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $urlMap

Name of the UrlMap resource to patch.

UrlMap $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation update(string $project, string $region, string $urlMap, UrlMap $postBody, array $optParams = [])

Updates the specified UrlMap resource with the data included in the request.

(regionUrlMaps.update)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $urlMap

Name of the UrlMap resource to update.

UrlMap $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

UrlMapsValidateResponse validate(string $project, string $region, string $urlMap, RegionUrlMapsValidateRequest $postBody, array $optParams = [])

Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.

(regionUrlMaps.validate)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $urlMap

Name of the UrlMap resource to be validated as.

RegionUrlMapsValidateRequest $postBody
array $optParams

Optional parameters.

Return Value

UrlMapsValidateResponse

Exceptions

Exception