Reference documentation and code samples for the Compute V1 Client class DisksScopedList.
Generated from protobuf message google.cloud.compute.v1.DisksScopedList
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ disks |
array<Google\Cloud\Compute\V1\Disk>
[Output Only] A list of disks contained in this scope. |
↳ warning |
Google\Cloud\Compute\V1\Warning
[Output Only] Informational warning which replaces the list of disks when the list is empty. |
getDisks
[Output Only] A list of disks contained in this scope.
Generated from protobuf field repeated .google.cloud.compute.v1.Disk disks = 95594102;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDisks
[Output Only] A list of disks contained in this scope.
Generated from protobuf field repeated .google.cloud.compute.v1.Disk disks = 95594102;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Compute\V1\Disk>
|
Returns | |
---|---|
Type | Description |
$this |
getWarning
[Output Only] Informational warning which replaces the list of disks when the list is empty.
Generated from protobuf field optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns | |
---|---|
Type | Description |
Google\Cloud\Compute\V1\Warning|null |
hasWarning
clearWarning
setWarning
[Output Only] Informational warning which replaces the list of disks when the list is empty.
Generated from protobuf field optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Compute\V1\Warning
|
Returns | |
---|---|
Type | Description |
$this |