Reference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::TrialSettings.
Settings for trial offers.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Date when the trial ends. The value is in milliseconds using the UNIX Epoch format. See an example Epoch converter.
#end_time=
def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Date when the trial ends. The value is in milliseconds using the UNIX Epoch format. See an example Epoch converter.
Returns
- (::Google::Protobuf::Timestamp) — Date when the trial ends. The value is in milliseconds using the UNIX Epoch format. See an example Epoch converter.
#trial
def trial() -> ::Boolean
Returns
-
(::Boolean) —
Determines if the entitlement is in a trial or not:
true
- The entitlement is in trial.false
- The entitlement is not in trial.
#trial=
def trial=(value) -> ::Boolean
Parameter
-
value (::Boolean) —
Determines if the entitlement is in a trial or not:
true
- The entitlement is in trial.false
- The entitlement is not in trial.
Returns
-
(::Boolean) —
Determines if the entitlement is in a trial or not:
true
- The entitlement is in trial.false
- The entitlement is not in trial.