Google Cloud Channel V1 Client - Class CommitmentSettings (1.3.0)

Reference documentation and code samples for the Google Cloud Channel V1 Client class CommitmentSettings.

Commitment settings for commitment-based offers.

Generated from protobuf message google.cloud.channel.v1.CommitmentSettings

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ start_time Google\Protobuf\Timestamp

Output only. Commitment start timestamp.

↳ end_time Google\Protobuf\Timestamp

Output only. Commitment end timestamp.

↳ renewal_settings Google\Cloud\Channel\V1\RenewalSettings

Optional. Renewal settings applicable for a commitment-based Offer.

getStartTime

Output only. Commitment start timestamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Output only. Commitment start timestamp.

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

getEndTime

Output only. Commitment end timestamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. Commitment end timestamp.

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

getRenewalSettings

Optional. Renewal settings applicable for a commitment-based Offer.

Returns
TypeDescription
Google\Cloud\Channel\V1\RenewalSettings|null

hasRenewalSettings

clearRenewalSettings

setRenewalSettings

Optional. Renewal settings applicable for a commitment-based Offer.

Parameter
NameDescription
var Google\Cloud\Channel\V1\RenewalSettings
Returns
TypeDescription
$this