Google Cloud Ai Platform V1 Client - Class StudyTimeConstraint (0.27.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class StudyTimeConstraint.

Time-based Constraint for Study

Generated from protobuf message google.cloud.aiplatform.v1.StudyTimeConstraint

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ max_duration Google\Protobuf\Duration

Counts the wallclock time passed since the creation of this Study.

↳ end_time Google\Protobuf\Timestamp

Compares the wallclock time to this time. Must use UTC timezone.

getMaxDuration

Counts the wallclock time passed since the creation of this Study.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasMaxDuration

setMaxDuration

Counts the wallclock time passed since the creation of this Study.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getEndTime

Compares the wallclock time to this time. Must use UTC timezone.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

setEndTime

Compares the wallclock time to this time. Must use UTC timezone.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getConstraint

Returns
TypeDescription
string