Class: Google::Apis::DomainsV1alpha2::ManagementSettings
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1alpha2::ManagementSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/domains_v1alpha2/classes.rb,
lib/google/apis/domains_v1alpha2/representations.rb,
lib/google/apis/domains_v1alpha2/representations.rb
Overview
Defines renewal, billing, and transfer settings for a Registration.
Instance Attribute Summary collapse
-
#renewal_method ⇒ String
Output only.
-
#transfer_lock_state ⇒ String
Controls whether the domain can be transferred to another registrar.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagementSettings
constructor
A new instance of ManagementSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ManagementSettings
Returns a new instance of ManagementSettings.
831 832 833 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 831 def initialize(**args) update!(**args) end |
Instance Attribute Details
#renewal_method ⇒ String
Output only. The renewal method for this Registration.
Corresponds to the JSON property renewalMethod
824 825 826 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 824 def renewal_method @renewal_method end |
#transfer_lock_state ⇒ String
Controls whether the domain can be transferred to another registrar.
Corresponds to the JSON property transferLockState
829 830 831 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 829 def transfer_lock_state @transfer_lock_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
836 837 838 839 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 836 def update!(**args) @renewal_method = args[:renewal_method] if args.key?(:renewal_method) @transfer_lock_state = args[:transfer_lock_state] if args.key?(:transfer_lock_state) end |