[[["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 TrialSettings (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-channel/latest/V1.TrialSettings)\n- [2.2.0](/php/docs/reference/cloud-channel/2.2.0/V1.TrialSettings)\n- [2.1.4](/php/docs/reference/cloud-channel/2.1.4/V1.TrialSettings)\n- [2.0.0](/php/docs/reference/cloud-channel/2.0.0/V1.TrialSettings)\n- [1.9.5](/php/docs/reference/cloud-channel/1.9.5/V1.TrialSettings)\n- [1.8.2](/php/docs/reference/cloud-channel/1.8.2/V1.TrialSettings)\n- [1.7.0](/php/docs/reference/cloud-channel/1.7.0/V1.TrialSettings)\n- [1.6.0](/php/docs/reference/cloud-channel/1.6.0/V1.TrialSettings)\n- [1.5.0](/php/docs/reference/cloud-channel/1.5.0/V1.TrialSettings)\n- [1.4.0](/php/docs/reference/cloud-channel/1.4.0/V1.TrialSettings)\n- [1.3.0](/php/docs/reference/cloud-channel/1.3.0/V1.TrialSettings)\n- [1.2.1](/php/docs/reference/cloud-channel/1.2.1/V1.TrialSettings)\n- [1.1.1](/php/docs/reference/cloud-channel/1.1.1/V1.TrialSettings)\n- [1.0.1](/php/docs/reference/cloud-channel/1.0.1/V1.TrialSettings) \nReference documentation and code samples for the Google Cloud Channel V1 Client class TrialSettings.\n\nSettings for trial offers.\n\nGenerated from protobuf message `google.cloud.channel.v1.TrialSettings`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Channel \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getTrial\n\nDetermines if the entitlement is in a trial or not:\n\n- `true` - The entitlement is in trial.\n\n- `false` - The entitlement is not in trial.\n\n### setTrial\n\nDetermines if the entitlement is in a trial or not:\n\n- `true` - The entitlement is in trial.\n\n- `false` - The entitlement is not in trial.\n\n### getEndTime\n\nDate when the trial ends. The value is in milliseconds\nusing the UNIX Epoch format. See an example [Epoch\nconverter](https://www.epochconverter.com).\n\n### hasEndTime\n\n### clearEndTime\n\n### setEndTime\n\nDate when the trial ends. The value is in milliseconds\nusing the UNIX Epoch format. See an example [Epoch\nconverter](https://www.epochconverter.com)."]]