Compute Cloud API, gRPC: DiskPlacementGroupService.Get
Returns the specified placement group.
gRPC request
rpc Get (GetDiskPlacementGroupRequest) returns (DiskPlacementGroup)
GetDiskPlacementGroupRequest
{
"disk_placement_group_id": "string"
}
Field |
Description |
disk_placement_group_id |
string Required field. ID of the placement group to return. |
DiskPlacementGroup
{
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"zone_id": "string",
"status": "Status",
// Includes only one of the fields `spread_placement_strategy`, `partition_placement_strategy`
"spread_placement_strategy": "DiskSpreadPlacementStrategy",
"partition_placement_strategy": {
"partitions": "int64"
}
// end of the list of possible fields
}
Field |
Description |
id |
string ID of the placement group. |
folder_id |
string ID of the folder that the placement group belongs to. |
created_at |
Creation timestamp in RFC3339 |
name |
string Name of the placement group. |
description |
string Description of the placement group. |
labels |
object (map<string, string>) Resource labels as |
zone_id |
string ID of the availability zone where the placement group resides. |
status |
enum Status Current status of the placement group
|
spread_placement_strategy |
Distribute disks over distinct failure domains. Includes only one of the fields Placement strategy. |
partition_placement_strategy |
DiskPartitionPlacementStrategy Distribute disks over partitions. Includes only one of the fields Placement strategy. |
DiskSpreadPlacementStrategy
Field |
Description |
Empty |
DiskPartitionPlacementStrategy
Field |
Description |
partitions |
int64 |