The "instanceTemplates" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| delete ($project, $instanceTemplate, $optParams=array()) |
| Deletes the specified instance template.
|
|
| get ($project, $instanceTemplate, $optParams=array()) |
| Returns the specified instance template resource.
|
|
| insert ($project, Google_Service_Compute_InstanceTemplate $postBody, $optParams=array()) |
| Creates an instance template in the specified project using the data that is included in the request.
|
|
| listInstanceTemplates ($project, $optParams=array()) |
| Retrieves a list of instance templates that are contained within the specified project and zone.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "instanceTemplates" collection of methods.
Typical usage is: $computeService = new Google_Service_Compute(...); $instanceTemplates = $computeService->instanceTemplates;
◆ 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_InstanceTemplates_Resource::delete |
( |
| $project, |
|
|
| $instanceTemplate, |
|
|
| $optParams = array() ) |
Deletes the specified instance template.
(instanceTemplates.delete)
- Parameters
-
string | $project | The project ID for this request. |
string | $instanceTemplate | The name of the instance template to delete. |
array | $optParams | Optional parameters. |
- Return values
-
◆ get()
Google_Service_Compute_InstanceTemplates_Resource::get |
( |
| $project, |
|
|
| $instanceTemplate, |
|
|
| $optParams = array() ) |
Returns the specified instance template resource.
(instanceTemplates.get)
- Parameters
-
string | $project | The project ID for this request. |
string | $instanceTemplate | The name of the instance template. |
array | $optParams | Optional parameters. |
- Return values
-
◆ insert()
Creates an instance template in the specified project using the data that is included in the request.
(instanceTemplates.insert)
- Parameters
-
string | $project | The project ID for this request. |
Google_InstanceTemplate | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listInstanceTemplates()
Google_Service_Compute_InstanceTemplates_Resource::listInstanceTemplates |
( |
| $project, |
|
|
| $optParams = array() ) |
Retrieves a list of instance templates that are contained within the specified project and zone.
(instanceTemplates.listInstanceTemplates)
- Parameters
-
string | $project | The project ID for 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
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Compute.php