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.
833 834 835 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 833 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
826 827 828 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 826 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
831 832 833 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 831 def transfer_lock_state @transfer_lock_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
838 839 840 841 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 838 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 |