The "projects" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| get ($project, $optParams=array()) |
| Returns the specified project resource.
|
|
| moveDisk ($project, Google_Service_Compute_DiskMoveRequest $postBody, $optParams=array()) |
| Moves a persistent disk from one zone to another.
|
|
| moveInstance ($project, Google_Service_Compute_InstanceMoveRequest $postBody, $optParams=array()) |
| Moves an instance and its attached persistent disks from one zone to another.
|
|
| setCommonInstanceMetadata ($project, Google_Service_Compute_Metadata $postBody, $optParams=array()) |
| Sets metadata common to all instances within the specified project using the data included in the request.
|
|
| setUsageExportBucket ($project, Google_Service_Compute_UsageExportLocation $postBody, $optParams=array()) |
| Enables the usage export feature and sets the usage export bucket where reports are stored.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "projects" collection of methods.
Typical usage is: $computeService = new Google_Service_Compute(...); $projects = $computeService->projects;
◆ 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
-
◆ get()
Google_Service_Compute_Projects_Resource::get |
( |
| $project, |
|
|
| $optParams = array() ) |
Returns the specified project resource.
(projects.get)
- Parameters
-
string | $project | Project ID for this request. |
array | $optParams | Optional parameters. |
- Return values
-
◆ moveDisk()
Moves a persistent disk from one zone to another.
(projects.moveDisk)
- Parameters
-
string | $project | Project ID for this request. |
Google_DiskMoveRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ moveInstance()
Moves an instance and its attached persistent disks from one zone to another.
(projects.moveInstance)
- Parameters
-
string | $project | Project ID for this request. |
Google_InstanceMoveRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ setCommonInstanceMetadata()
Sets metadata common to all instances within the specified project using the data included in the request.
(projects.setCommonInstanceMetadata)
- Parameters
-
string | $project | Project ID for this request. |
Google_Metadata | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ setUsageExportBucket()
Enables the usage export feature and sets the usage export bucket where reports are stored.
If you provide an empty request body using this method, the usage export feature will be disabled. (projects.setUsageExportBucket)
- Parameters
-
string | $project | Project ID for this request. |
Google_UsageExportLocation | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Compute.php