class Google::Apis::ResellerV1::Subscription::Plan
Plan details of the subscription
Attributes
commitment_interval[RW]
Interval of the commitment if it is a commitment plan. Corresponds to the JSON property `commitmentInterval` @return [Google::Apis::ResellerV1::Subscription::Plan::CommitmentInterval]
is_commitment_plan[RW]
Whether the plan is a commitment plan or not. Corresponds to the JSON property `isCommitmentPlan` @return [Boolean]
is_commitment_plan?[RW]
Whether the plan is a commitment plan or not. Corresponds to the JSON property `isCommitmentPlan` @return [Boolean]
plan_name[RW]
The plan name of this subscription's plan. Corresponds to the JSON property `planName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/reseller_v1/classes.rb, line 418 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 423 def update!(**args) @commitment_interval = args[:commitment_interval] if args.key?(:commitment_interval) @is_commitment_plan = args[:is_commitment_plan] if args.key?(:is_commitment_plan) @plan_name = args[:plan_name] if args.key?(:plan_name) end