class Google::Apis::ResellerV1::Subscription::Plan::CommitmentInterval

Interval of the commitment if it is a commitment plan.

Attributes

end_time[RW]

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

start_time[RW]

Start time of the commitment interval in milliseconds since Unix epoch. Corresponds to the JSON property `startTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/reseller_v1/classes.rb, line 443
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 448
def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @start_time = args[:start_time] if args.key?(:start_time)
end