Google Cloud Ai Platform V1 Client - Class StudyTimeConstraint (1.7.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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.