Reference documentation and code samples for the Compute V1 Client class CapacityHistoryRequest.
A request to get the capacity history.
Generated from protobuf message google.cloud.compute.v1.CapacityHistoryRequest
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ instance_properties |
CapacityHistoryRequestInstanceProperties
Instance properties for this request. |
↳ location_policy |
CapacityHistoryRequestLocationPolicy
Location policy for this request. |
↳ types |
string[]
List of history types to get capacity history for. Check the Types enum for the list of possible values. |
getInstanceProperties
Instance properties for this request.
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryRequestInstanceProperties|null |
|
hasInstanceProperties
clearInstanceProperties
setInstanceProperties
Instance properties for this request.
| Parameter | |
|---|---|
| Name | Description |
var |
CapacityHistoryRequestInstanceProperties
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocationPolicy
Location policy for this request.
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryRequestLocationPolicy|null |
|
hasLocationPolicy
clearLocationPolicy
setLocationPolicy
Location policy for this request.
| Parameter | |
|---|---|
| Name | Description |
var |
CapacityHistoryRequestLocationPolicy
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTypes
List of history types to get capacity history for.
Check the Types enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setTypes
List of history types to get capacity history for.
Check the Types enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|