class Google::Apis::ResellerV1::Subscription::TrialSettings

Trial Settings of the subscription.

Attributes

is_in_trial[RW]

Whether the subscription is in trial. Corresponds to the JSON property `isInTrial` @return [Boolean]

is_in_trial?[RW]

Whether the subscription is in trial. Corresponds to the JSON property `isInTrial` @return [Boolean]

trial_end_time[RW]

End time of the trial in milliseconds since Unix epoch. Corresponds to the JSON property `trialEndTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/reseller_v1/classes.rb, line 495
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/reseller_v1/classes.rb, line 500
def update!(**args)
  @is_in_trial = args[:is_in_trial] if args.key?(:is_in_trial)
  @trial_end_time = args[:trial_end_time] if args.key?(:trial_end_time)
end