The "autoscalers" collection of methods.
More...
|
| aggregatedList ($project, $optParams=array()) |
| Retrieves the list of autoscalers grouped by scope.
|
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| delete ($project, $zone, $autoscaler, $optParams=array()) |
| Deletes the specified autoscaler resource.
|
|
| get ($project, $zone, $autoscaler, $optParams=array()) |
| Returns the specified autoscaler resource.
|
|
| insert ($project, $zone, Google_Service_Compute_Autoscaler $postBody, $optParams=array()) |
| Creates an autoscaler resource in the specified project using the data included in the request.
|
|
| listAutoscalers ($project, $zone, $optParams=array()) |
| Retrieves the list of autoscaler resources contained within the specified zone.
|
|
| patch ($project, $zone, $autoscaler, Google_Service_Compute_Autoscaler $postBody, $optParams=array()) |
| Updates an autoscaler resource in the specified project using the data included in the request.
|
|
| update ($project, $zone, Google_Service_Compute_Autoscaler $postBody, $optParams=array()) |
| Updates an autoscaler resource in the specified project using the data included in the request.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "autoscalers" collection of methods.
Typical usage is: $computeService = new Google_Service_Compute(...); $autoscalers = $computeService->autoscalers;
◆ aggregatedList()
Google_Service_Compute_Autoscalers_Resource::aggregatedList |
( |
| $project, |
|
|
| $optParams = array() ) |
Retrieves the list of autoscalers grouped by scope.
(autoscalers.aggregatedList)
- Parameters
-
string | $project | Name of the project scoping this request. |
array | $optParams | Optional parameters. |
@opt_param string filter Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
For example, filter=name ne example-instance. @opt_param string pageToken Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. @opt_param string maxResults Maximum count of results to be returned.
- Return values
-
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ delete()
Google_Service_Compute_Autoscalers_Resource::delete |
( |
| $project, |
|
|
| $zone, |
|
|
| $autoscaler, |
|
|
| $optParams = array() ) |
Deletes the specified autoscaler resource.
(autoscalers.delete)
- Parameters
-
string | $project | Name of the project scoping this request. |
string | $zone | Name of the zone scoping this request. |
string | $autoscaler | Name of the persistent autoscaler resource to delete. |
array | $optParams | Optional parameters. |
- Return values
-
◆ get()
Google_Service_Compute_Autoscalers_Resource::get |
( |
| $project, |
|
|
| $zone, |
|
|
| $autoscaler, |
|
|
| $optParams = array() ) |
Returns the specified autoscaler resource.
(autoscalers.get)
- Parameters
-
string | $project | Name of the project scoping this request. |
string | $zone | Name of the zone scoping this request. |
string | $autoscaler | Name of the persistent autoscaler resource to return. |
array | $optParams | Optional parameters. |
- Return values
-
◆ insert()
Creates an autoscaler resource in the specified project using the data included in the request.
(autoscalers.insert)
- Parameters
-
string | $project | Name of the project scoping this request. |
string | $zone | Name of the zone scoping this request. |
Google_Autoscaler | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listAutoscalers()
Google_Service_Compute_Autoscalers_Resource::listAutoscalers |
( |
| $project, |
|
|
| $zone, |
|
|
| $optParams = array() ) |
Retrieves the list of autoscaler resources contained within the specified zone.
(autoscalers.listAutoscalers)
- Parameters
-
string | $project | Name of the project scoping this request. |
string | $zone | Name of the zone scoping this request. |
array | $optParams | Optional parameters. |
@opt_param string filter Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
For example, filter=name ne example-instance. @opt_param string pageToken Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. @opt_param string maxResults Maximum count of results to be returned.
- Return values
-
◆ patch()
Updates an autoscaler resource in the specified project using the data included in the request.
This method supports patch semantics. (autoscalers.patch)
- Parameters
-
string | $project | Name of the project scoping this request. |
string | $zone | Name of the zone scoping this request. |
string | $autoscaler | Name of the autoscaler resource to update. |
Google_Autoscaler | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ update()
Updates an autoscaler resource in the specified project using the data included in the request.
(autoscalers.update)
- Parameters
-
string | $project | Name of the project scoping this request. |
string | $zone | Name of the zone scoping this request. |
Google_Autoscaler | $postBody | |
array | $optParams | Optional parameters. |
@opt_param string autoscaler Name of the autoscaler resource to update.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Compute.php