Google Cloud Ai Platform V1 Client - Class StudyTimeConstraint (1.11.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
Name Description
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
Type Description
Google\Protobuf\Duration|null

hasMaxDuration

setMaxDuration

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

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getEndTime

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

setEndTime

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

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getConstraint

Returns
Type Description
string