UrlMaps
class UrlMaps extends Resource (View source)
The "urlMaps" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$urlMaps = $computeService->urlMaps;
Methods
Retrieves the list of all UrlMap resources, regional and global, available to
the specified project. To prevent failure, Google recommends that you set the
returnPartialSuccess
parameter to true
. (urlMaps.aggregatedList)
Deletes the specified UrlMap resource. (urlMaps.delete)
Returns the specified UrlMap resource. (urlMaps.get)
Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. For more information, see Invalidating cached content.
Retrieves the list of UrlMap resources available to the specified project.
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
UrlMapsAggregatedList
aggregatedList(string $project, array $optParams = [])
Retrieves the list of all UrlMap resources, regional and global, available to
the specified project. To prevent failure, Google recommends that you set the
returnPartialSuccess
parameter to true
. (urlMaps.aggregatedList)
Operation
delete(string $project, string $urlMap, array $optParams = [])
Deletes the specified UrlMap resource. (urlMaps.delete)
UrlMap
get(string $project, string $urlMap, array $optParams = [])
Returns the specified UrlMap resource. (urlMaps.get)
Operation
insert(string $project, UrlMap $postBody, array $optParams = [])
Creates a UrlMap resource in the specified project using the data included in the request. (urlMaps.insert)
Operation
invalidateCache(string $project, string $urlMap, CacheInvalidationRule $postBody, array $optParams = [])
Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. For more information, see Invalidating cached content.
(urlMaps.invalidateCache)
UrlMapList
listUrlMaps(string $project, array $optParams = [])
Retrieves the list of UrlMap resources available to the specified project.
(urlMaps.listUrlMaps)
Operation
patch(string $project, 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 the JSON merge patch format and processing rules. (urlMaps.patch)
Operation
update(string $project, string $urlMap, UrlMap $postBody, array $optParams = [])
Updates the specified UrlMap resource with the data included in the request.
(urlMaps.update)
UrlMapsValidateResponse
validate(string $project, string $urlMap, UrlMapsValidateRequest $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.
(urlMaps.validate)