Google Cloud AlloyDB for PostgreSQL V1 Client - Class TrialMetadata (1.1.2)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class TrialMetadata.

Contains information and all metadata related to TRIAL clusters.

Generated from protobuf message google.cloud.alloydb.v1.Cluster.TrialMetadata

Namespace

Google \ Cloud \ AlloyDb \ V1 \ Cluster

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start_time Google\Protobuf\Timestamp

start time of the trial cluster.

↳ end_time Google\Protobuf\Timestamp

End time of the trial cluster.

↳ upgrade_time Google\Protobuf\Timestamp

Upgrade time of trial cluster to Standard cluster.

↳ grace_end_time Google\Protobuf\Timestamp

grace end time of the cluster.

getStartTime

start time of the trial cluster.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

start time of the trial cluster.

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

getEndTime

End time of the trial cluster.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

End time of the trial cluster.

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

getUpgradeTime

Upgrade time of trial cluster to Standard cluster.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpgradeTime

clearUpgradeTime

setUpgradeTime

Upgrade time of trial cluster to Standard cluster.

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

getGraceEndTime

grace end time of the cluster.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasGraceEndTime

clearGraceEndTime

setGraceEndTime

grace end time of the cluster.

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