class RegionDiskTypes extends Resource (View source)

The "regionDiskTypes" collection of methods.

Typical usage is:

 $computeService = new Google\Service\Compute(...);
 $regionDiskTypes = $computeService->regionDiskTypes;

Methods

get(string $project, string $region, string $diskType, array $optParams = [])

Returns the specified regional disk type. (regionDiskTypes.get)

listRegionDiskTypes(string $project, string $region, array $optParams = [])

Retrieves a list of regional disk types available to the specified project.

Details

DiskType get(string $project, string $region, string $diskType, array $optParams = [])

Returns the specified regional disk type. (regionDiskTypes.get)

Parameters

string $project

Project ID for this request.

string $region

The name of the region for this request.

string $diskType

Name of the disk type to return.

array $optParams

Optional parameters.

Return Value

DiskType

Exceptions

Exception

RegionDiskTypeList listRegionDiskTypes(string $project, string $region, array $optParams = [])

Retrieves a list of regional disk types available to the specified project.

(regionDiskTypes.listRegionDiskTypes)

Parameters

string $project

Project ID for this request.

string $region

The name of the region for this request.

array $optParams

Optional parameters.

Return Value

RegionDiskTypeList

Exceptions

Exception