Class: Google::Apis::ResellerV1::RenewalSettings
- Inherits:
-
Object
- Object
- Google::Apis::ResellerV1::RenewalSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/reseller_v1/classes.rb,
generated/google/apis/reseller_v1/representations.rb,
generated/google/apis/reseller_v1/representations.rb
Overview
JSON template for a subscription renewal settings.
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies the resource as a subscription renewal setting.
-
#renewal_type ⇒ String
Subscription renewal type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RenewalSettings
constructor
A new instance of RenewalSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RenewalSettings
Returns a new instance of RenewalSettings.
221 222 223 |
# File 'generated/google/apis/reseller_v1/classes.rb', line 221 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies the resource as a subscription renewal setting.
Corresponds to the JSON property kind
214 215 216 |
# File 'generated/google/apis/reseller_v1/classes.rb', line 214 def kind @kind end |
#renewal_type ⇒ String
Subscription renewal type.
Corresponds to the JSON property renewalType
219 220 221 |
# File 'generated/google/apis/reseller_v1/classes.rb', line 219 def renewal_type @renewal_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
226 227 228 229 |
# File 'generated/google/apis/reseller_v1/classes.rb', line 226 def update!(**args) @kind = args[:kind] if args.key?(:kind) @renewal_type = args[:renewal_type] if args.key?(:renewal_type) end |