Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
The "diskTypes" collection of methods. More...
Public Member Functions | |
aggregatedList ($project, $optParams=array()) | |
Retrieves the list of disk type resources grouped by scope. | |
call ($name, $arguments, $expected_class=null) | |
TODO: This function needs simplifying. | |
get ($project, $zone, $diskType, $optParams=array()) | |
Returns the specified disk type resource. | |
listDiskTypes ($project, $zone, $optParams=array()) | |
Retrieves the list of disk type resources available to the specified project. | |
Protected Member Functions | |
convertToArrayAndStripNulls ($o) | |
The "diskTypes" collection of methods.
Typical usage is: $computeService = new Google_Service_Compute(...); $diskTypes = $computeService->diskTypes;
Google_Service_Compute_DiskTypes_Resource::aggregatedList | ( | $project, | |
$optParams = array() ) |
Retrieves the list of disk type resources grouped by scope.
(diskTypes.aggregatedList)
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_DiskTypeAggregatedList |
|
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_DiskTypes_Resource::get | ( | $project, | |
$zone, | |||
$diskType, | |||
$optParams = array() ) |
Returns the specified disk type resource.
(diskTypes.get)
string | $project | Project ID for this request. |
string | $zone | The name of the zone for this request. |
string | $diskType | Name of the disk type resource to return. |
array | $optParams | Optional parameters. |
Google_Service_Compute_DiskType |
Google_Service_Compute_DiskTypes_Resource::listDiskTypes | ( | $project, | |
$zone, | |||
$optParams = array() ) |
Retrieves the list of disk type resources available to the specified project.
(diskTypes.listDiskTypes)
string | $project | Project ID for this request. |
string | $zone | The name of the zone 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_DiskTypeList |