Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
|
The "images" collection of methods. More...
Public Member Functions | |
call ($name, $arguments, $expected_class=null) | |
TODO: This function needs simplifying. | |
delete ($project, $image, $optParams=array()) | |
Deletes the specified image resource. | |
deprecate ($project, $image, Google_Service_Compute_DeprecationStatus $postBody, $optParams=array()) | |
Sets the deprecation status of an image. | |
get ($project, $image, $optParams=array()) | |
Returns the specified image resource. | |
insert ($project, Google_Service_Compute_Image $postBody, $optParams=array()) | |
Creates an image resource in the specified project using the data included in the request. | |
listImages ($project, $optParams=array()) | |
Retrieves the list of private images available to the specified project. | |
Protected Member Functions | |
convertToArrayAndStripNulls ($o) | |
The "images" collection of methods.
Typical usage is: $computeService = new Google_Service_Compute(...); $images = $computeService->images;
|
inherited |
TODO: This function needs simplifying.
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
Google_Http_Request|expected_class |
Google_Exception |
Google_Service_Compute_Images_Resource::delete | ( | $project, | |
$image, | |||
$optParams = array() ) |
Deletes the specified image resource.
(images.delete)
string | $project | Project ID for this request. |
string | $image | Name of the image resource to delete. |
array | $optParams | Optional parameters. |
Google_Service_Compute_Operation |
Google_Service_Compute_Images_Resource::deprecate | ( | $project, | |
$image, | |||
Google_Service_Compute_DeprecationStatus | $postBody, | ||
$optParams = array() ) |
Sets the deprecation status of an image.
If an empty request body is given, clears the deprecation status instead. (images.deprecate)
string | $project | Project ID for this request. |
string | $image | Image name. |
Google_DeprecationStatus | $postBody | |
array | $optParams | Optional parameters. |
Google_Service_Compute_Operation |
Google_Service_Compute_Images_Resource::get | ( | $project, | |
$image, | |||
$optParams = array() ) |
Returns the specified image resource.
(images.get)
string | $project | Project ID for this request. |
string | $image | Name of the image resource to return. |
array | $optParams | Optional parameters. |
Google_Service_Compute_Image |
Google_Service_Compute_Images_Resource::insert | ( | $project, | |
Google_Service_Compute_Image | $postBody, | ||
$optParams = array() ) |
Creates an image resource in the specified project using the data included in the request.
(images.insert)
string | $project | Project ID for this request. |
Google_Image | $postBody | |
array | $optParams | Optional parameters. |
Google_Service_Compute_Operation |
Google_Service_Compute_Images_Resource::listImages | ( | $project, | |
$optParams = array() ) |
Retrieves the list of private images available to the specified project.
Private images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly- available images, like Debian 7. If you want to get a list of publicly- available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud.
See Accessing images for more information. (images.listImages)
string | $project | 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.
Google_Service_Compute_ImageList |