class RegionAutoscalers extends Resource (View source)

The "regionAutoscalers" collection of methods.

Typical usage is:

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

Methods

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

Deletes the specified autoscaler. (regionAutoscalers.delete)

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

Returns the specified autoscaler. (regionAutoscalers.get)

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

Creates an autoscaler in the specified project using the data included in the request. (regionAutoscalers.insert)

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

Retrieves a list of autoscalers contained within the specified region.

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

Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. (regionAutoscalers.patch)

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

Updates an autoscaler in the specified project using the data included in the request. (regionAutoscalers.update)

Details

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

Deletes the specified autoscaler. (regionAutoscalers.delete)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $autoscaler

Name of the autoscaler to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Returns the specified autoscaler. (regionAutoscalers.get)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $autoscaler

Name of the autoscaler to return.

array $optParams

Optional parameters.

Return Value

Autoscaler

Exceptions

Exception

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

Creates an autoscaler in the specified project using the data included in the request. (regionAutoscalers.insert)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

Autoscaler $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Retrieves a list of autoscalers contained within the specified region.

(regionAutoscalers.listRegionAutoscalers)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

array $optParams

Optional parameters.

Return Value

RegionAutoscalerList

Exceptions

Exception

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

Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. (regionAutoscalers.patch)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

Autoscaler $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Updates an autoscaler in the specified project using the data included in the request. (regionAutoscalers.update)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

Autoscaler $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception