Google Cloud Channel V1 Client - Class CommitmentSettings (2.2.1)
Stay organized with collections
Save and categorize content based on your preferences.
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
Namespace
Google \ Cloud \ Channel \ V1
Methods
__construct
Parameters |
Name |
Description |
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 |
RenewalSettings
Optional. Renewal settings applicable for a commitment-based Offer.
|
getStartTime
Output only. Commitment start timestamp.
hasStartTime
clearStartTime
setStartTime
Output only. Commitment start timestamp.
Returns |
Type |
Description |
$this |
|
getEndTime
Output only. Commitment end timestamp.
hasEndTime
clearEndTime
setEndTime
Output only. Commitment end timestamp.
Returns |
Type |
Description |
$this |
|
getRenewalSettings
Optional. Renewal settings applicable for a commitment-based Offer.
hasRenewalSettings
clearRenewalSettings
setRenewalSettings
Optional. Renewal settings applicable for a commitment-based Offer.
Returns |
Type |
Description |
$this |
|
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-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Channel V1 Client - Class CommitmentSettings (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-channel/latest/V1.CommitmentSettings)\n- [2.2.0](/php/docs/reference/cloud-channel/2.2.0/V1.CommitmentSettings)\n- [2.1.4](/php/docs/reference/cloud-channel/2.1.4/V1.CommitmentSettings)\n- [2.0.0](/php/docs/reference/cloud-channel/2.0.0/V1.CommitmentSettings)\n- [1.9.5](/php/docs/reference/cloud-channel/1.9.5/V1.CommitmentSettings)\n- [1.8.2](/php/docs/reference/cloud-channel/1.8.2/V1.CommitmentSettings)\n- [1.7.0](/php/docs/reference/cloud-channel/1.7.0/V1.CommitmentSettings)\n- [1.6.0](/php/docs/reference/cloud-channel/1.6.0/V1.CommitmentSettings)\n- [1.5.0](/php/docs/reference/cloud-channel/1.5.0/V1.CommitmentSettings)\n- [1.4.0](/php/docs/reference/cloud-channel/1.4.0/V1.CommitmentSettings)\n- [1.3.0](/php/docs/reference/cloud-channel/1.3.0/V1.CommitmentSettings)\n- [1.2.1](/php/docs/reference/cloud-channel/1.2.1/V1.CommitmentSettings)\n- [1.1.1](/php/docs/reference/cloud-channel/1.1.1/V1.CommitmentSettings)\n- [1.0.1](/php/docs/reference/cloud-channel/1.0.1/V1.CommitmentSettings) \nReference documentation and code samples for the Google Cloud Channel V1 Client class CommitmentSettings.\n\nCommitment settings for commitment-based offers.\n\nGenerated from protobuf message `google.cloud.channel.v1.CommitmentSettings`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Channel \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getStartTime\n\nOutput only. Commitment start timestamp.\n\n### hasStartTime\n\n### clearStartTime\n\n### setStartTime\n\nOutput only. Commitment start timestamp.\n\n### getEndTime\n\nOutput only. Commitment end timestamp.\n\n### hasEndTime\n\n### clearEndTime\n\n### setEndTime\n\nOutput only. Commitment end timestamp.\n\n### getRenewalSettings\n\nOptional. Renewal settings applicable for a commitment-based Offer.\n\n### hasRenewalSettings\n\n### clearRenewalSettings\n\n### setRenewalSettings\n\nOptional. Renewal settings applicable for a commitment-based Offer."]]