Reference documentation and code samples for the Google Cloud Tpu V2 Client class Guaranteed.
Guaranteed tier definition.
Generated from protobuf message google.cloud.tpu.v2.QueuedResource.Guaranteed
Namespace
Google \ Cloud \ Tpu \ V2 \ QueuedResourceMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ min_duration |
Google\Protobuf\Duration
Optional. Defines the minimum duration of the guarantee. If specified, the requested resources will only be provisioned if they can be allocated for at least the given duration. |
getMinDuration
Optional. Defines the minimum duration of the guarantee. If specified, the requested resources will only be provisioned if they can be allocated for at least the given duration.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
hasMinDuration
clearMinDuration
setMinDuration
Optional. Defines the minimum duration of the guarantee. If specified, the requested resources will only be provisioned if they can be allocated for at least the given duration.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |