Class: Google::Apis::DomainsV1beta1::ManagementSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/domains_v1beta1/classes.rb,
generated/google/apis/domains_v1beta1/representations.rb,
generated/google/apis/domains_v1beta1/representations.rb

Overview

Defines renewal, billing, and transfer settings for a Registration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagementSettings

Returns a new instance of ManagementSettings.



771
772
773
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 771

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#renewal_methodString

Output only. The renewal method for this Registration. Corresponds to the JSON property renewalMethod

Returns:

  • (String)


764
765
766
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 764

def renewal_method
  @renewal_method
end

#transfer_lock_stateString

Controls whether the domain can be transferred to another registrar. Corresponds to the JSON property transferLockState

Returns:

  • (String)


769
770
771
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 769

def transfer_lock_state
  @transfer_lock_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



776
777
778
779
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 776

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