class Google::Apis::CloudchannelV1::GoogleCloudChannelV1CommitmentSettings

Commitment settings for commitment-based offers.

Attributes

end_time[RW]

Output only. Commitment end timestamp. Corresponds to the JSON property `endTime` @return [String]

renewal_settings[RW]

Renewal settings for renewable Offers. Corresponds to the JSON property `renewalSettings` @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1RenewalSettings]

start_time[RW]

Output only. Commitment start timestamp. Corresponds to the JSON property `startTime` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudchannel_v1/classes.rb, line 476
def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @renewal_settings = args[:renewal_settings] if args.key?(:renewal_settings)
  @start_time = args[:start_time] if args.key?(:start_time)
end