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.
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.
Generated from protobuf field .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Google\Protobuf\Timestamp|null
hasStartTime
clearStartTime
setStartTime
Output only. Commitment start timestamp.
Generated from protobuf field .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
Google\Protobuf\Timestamp
$this
getEndTime
Output only. Commitment end timestamp.
Generated from protobuf field .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Google\Protobuf\Timestamp|null
hasEndTime
clearEndTime
setEndTime
Output only. Commitment end timestamp.
Generated from protobuf field .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
Google\Protobuf\Timestamp
$this
getRenewalSettings
Optional. Renewal settings applicable for a commitment-based Offer.
Generated from protobuf field .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
hasRenewalSettings
clearRenewalSettings
setRenewalSettings
Optional. Renewal settings applicable for a commitment-based Offer.
Generated from protobuf field .google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
$this