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 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Renewal settings for the annual commitment plan. 
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
| 253 254 255 | # File 'generated/google/apis/reseller_v1/classes.rb', line 253 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#kind ⇒ String
Identifies the resource as a subscription renewal setting. Value:
subscriptions#renewalSettings
Corresponds to the JSON property kind
| 244 245 246 | # File 'generated/google/apis/reseller_v1/classes.rb', line 244 def kind @kind end | 
#renewal_type ⇒ String
Renewal settings for the annual commitment plan. For more detailed information,
see renewal options in the administrator help center. When renewing a
subscription, the renewalType is a required property.
Corresponds to the JSON property renewalType
| 251 252 253 | # File 'generated/google/apis/reseller_v1/classes.rb', line 251 def renewal_type @renewal_type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 258 259 260 261 | # File 'generated/google/apis/reseller_v1/classes.rb', line 258 def update!(**args) @kind = args[:kind] if args.key?(:kind) @renewal_type = args[:renewal_type] if args.key?(:renewal_type) end |