Google Cloud Tpu V2 Client - Class QueueingPolicy (2.1.2)

Reference documentation and code samples for the Google Cloud Tpu V2 Client class QueueingPolicy.

Defines the policy of the QueuedRequest.

Generated from protobuf message google.cloud.tpu.v2.QueuedResource.QueueingPolicy

Namespace

Google \ Cloud \ Tpu \ V2 \ QueuedResource

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ valid_until_duration
Google\Protobuf\Duration

Optional. A relative time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

↳ valid_until_time
Google\Protobuf\Timestamp

Optional. An absolute time after which resources should not be created. If the request cannot be fulfilled by this time the request will be failed.

↳ valid_after_duration
Google\Protobuf\Duration

Optional. A relative time after which resources may be created.

↳ valid_after_time
Google\Protobuf\Timestamp

Optional. An absolute time after which resources may be created.

↳ valid_interval
Google\Type\Interval

Optional. An absolute time interval within which resources may be created.

getValidUntilDuration

Optional. A relative time after which resources should not be created.

If the request cannot be fulfilled by this time the request will be failed.

Returns
Type
Description

hasValidUntilDuration

setValidUntilDuration

Optional. A relative time after which resources should not be created.

If the request cannot be fulfilled by this time the request will be failed.

Parameter
Name
Description
Returns
Type
Description
$this

getValidUntilTime

Optional. An absolute time after which resources should not be created.

If the request cannot be fulfilled by this time the request will be failed.

Returns
Type
Description

hasValidUntilTime

setValidUntilTime

Optional. An absolute time after which resources should not be created.

If the request cannot be fulfilled by this time the request will be failed.

Parameter
Name
Description
Returns
Type
Description
$this

getValidAfterDuration

Optional. A relative time after which resources may be created.

Returns
Type
Description

hasValidAfterDuration

setValidAfterDuration

Optional. A relative time after which resources may be created.

Parameter
Name
Description
Returns
Type
Description
$this

getValidAfterTime

Optional. An absolute time after which resources may be created.

Returns
Type
Description

hasValidAfterTime

setValidAfterTime

Optional. An absolute time after which resources may be created.

Parameter
Name
Description
Returns
Type
Description
$this

getValidInterval

Optional. An absolute time interval within which resources may be created.

Returns
Type
Description

hasValidInterval

setValidInterval

Optional. An absolute time interval within which resources may be created.

Parameter
Name
Description
Returns
Type
Description
$this

getStartTimingConstraints

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: