Skip to content

Commit 62b4def

Browse files
1 parent d6dea1d commit 62b4def

3 files changed

Lines changed: 58 additions & 9 deletions

File tree

src/AIPlatformNotebooks/BootDisk.php

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,30 @@ class BootDisk extends \Google\Model
5252
*/
5353
public const DISK_TYPE_PD_EXTREME = 'PD_EXTREME';
5454
/**
55-
* Hyperdisk Balanced persistent disk type.
55+
* Represents the Hyperdisk Balanced persistent disk type. Can be used as a
56+
* boot disk or data disk.
5657
*/
5758
public const DISK_TYPE_HYPERDISK_BALANCED = 'HYPERDISK_BALANCED';
59+
/**
60+
* Represents the Hyperdisk Extreme persistent disk type. Can only be used as
61+
* a data disk.
62+
*/
63+
public const DISK_TYPE_HYPERDISK_EXTREME = 'HYPERDISK_EXTREME';
64+
/**
65+
* Represents the Hyperdisk Throughput persistent disk type. Can only be used
66+
* as a data disk.
67+
*/
68+
public const DISK_TYPE_HYPERDISK_THROUGHPUT = 'HYPERDISK_THROUGHPUT';
69+
/**
70+
* Represents the Hyperdisk Balanced High Availability persistent disk type.
71+
* Can be used as a boot disk or data disk.
72+
*/
73+
public const DISK_TYPE_HYPERDISK_BALANCED_HIGH_AVAILABILITY = 'HYPERDISK_BALANCED_HIGH_AVAILABILITY';
74+
/**
75+
* Represents the Hyperdisk ML persistent disk type. Can be used as a boot
76+
* disk or data disk.
77+
*/
78+
public const DISK_TYPE_HYPERDISK_ML = 'HYPERDISK_ML';
5879
/**
5980
* Optional. Input only. Disk encryption method used on the boot and data
6081
* disks, defaults to GMEK.
@@ -127,7 +148,8 @@ public function getDiskSizeGb()
127148
* Optional. Indicates the type of the disk.
128149
*
129150
* Accepted values: DISK_TYPE_UNSPECIFIED, PD_STANDARD, PD_SSD, PD_BALANCED,
130-
* PD_EXTREME, HYPERDISK_BALANCED
151+
* PD_EXTREME, HYPERDISK_BALANCED, HYPERDISK_EXTREME, HYPERDISK_THROUGHPUT,
152+
* HYPERDISK_BALANCED_HIGH_AVAILABILITY, HYPERDISK_ML
131153
*
132154
* @param self::DISK_TYPE_* $diskType
133155
*/

src/AIPlatformNotebooks/DataDisk.php

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,30 @@ class DataDisk extends \Google\Collection
5252
*/
5353
public const DISK_TYPE_PD_EXTREME = 'PD_EXTREME';
5454
/**
55-
* Hyperdisk Balanced persistent disk type.
55+
* Represents the Hyperdisk Balanced persistent disk type. Can be used as a
56+
* boot disk or data disk.
5657
*/
5758
public const DISK_TYPE_HYPERDISK_BALANCED = 'HYPERDISK_BALANCED';
59+
/**
60+
* Represents the Hyperdisk Extreme persistent disk type. Can only be used as
61+
* a data disk.
62+
*/
63+
public const DISK_TYPE_HYPERDISK_EXTREME = 'HYPERDISK_EXTREME';
64+
/**
65+
* Represents the Hyperdisk Throughput persistent disk type. Can only be used
66+
* as a data disk.
67+
*/
68+
public const DISK_TYPE_HYPERDISK_THROUGHPUT = 'HYPERDISK_THROUGHPUT';
69+
/**
70+
* Represents the Hyperdisk Balanced High Availability persistent disk type.
71+
* Can be used as a boot disk or data disk.
72+
*/
73+
public const DISK_TYPE_HYPERDISK_BALANCED_HIGH_AVAILABILITY = 'HYPERDISK_BALANCED_HIGH_AVAILABILITY';
74+
/**
75+
* Represents the Hyperdisk ML persistent disk type. Can be used as a boot
76+
* disk or data disk.
77+
*/
78+
public const DISK_TYPE_HYPERDISK_ML = 'HYPERDISK_ML';
5879
protected $collection_key = 'resourcePolicies';
5980
/**
6081
* Optional. Input only. Disk encryption method used on the boot and data
@@ -132,7 +153,8 @@ public function getDiskSizeGb()
132153
* Optional. Input only. Indicates the type of the disk.
133154
*
134155
* Accepted values: DISK_TYPE_UNSPECIFIED, PD_STANDARD, PD_SSD, PD_BALANCED,
135-
* PD_EXTREME, HYPERDISK_BALANCED
156+
* PD_EXTREME, HYPERDISK_BALANCED, HYPERDISK_EXTREME, HYPERDISK_THROUGHPUT,
157+
* HYPERDISK_BALANCED_HIGH_AVAILABILITY, HYPERDISK_ML
136158
*
137159
* @param self::DISK_TYPE_* $diskType
138160
*/

src/AIPlatformNotebooks/Resource/ProjectsLocations.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,16 @@ public function get($name, $optParams = [])
4646
}
4747
/**
4848
* Lists information about the supported locations for this service. This method
49-
* can be called in two ways: * **List all public locations:** Use the path `GET
50-
* /v1/locations`. * **List project-visible locations:** Use the path `GET
51-
* /v1/projects/{project_id}/locations`. This may include public locations as
52-
* well as private or other locations specifically visible to the project.
53-
* (locations.listProjectsLocations)
49+
* lists locations based on the resource scope provided in the
50+
* [ListLocationsRequest.name] field: * **Global locations**: If `name` is
51+
* empty, the method lists the public locations available to all projects. *
52+
* **Project-specific locations**: If `name` follows the format
53+
* `projects/{project}`, the method lists locations visible to that specific
54+
* project. This includes public, private, or other project-specific locations
55+
* enabled for the project. For gRPC and client library implementations, the
56+
* resource name is passed as the `name` field. For direct service calls, the
57+
* resource name is incorporated into the request path based on the specific
58+
* service implementation and version. (locations.listProjectsLocations)
5459
*
5560
* @param string $name The resource that owns the locations collection, if
5661
* applicable.

0 commit comments

Comments
 (0)