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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/domains_v1beta1/classes.rb,
lib/google/apis/domains_v1beta1/representations.rb,
lib/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.



889
890
891
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 889

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

Instance Attribute Details

#preferred_renewal_methodString

Optional. The desired renewal method for this Registration. The actual renewal_method is automatically updated to reflect this choice. If unset or equal to RENEWAL_METHOD_UNSPECIFIED, the actual renewalMethod is treated as if it were set to AUTOMATIC_RENEWAL. You cannot use RENEWAL_DISABLED during resource creation, and you can update the renewal status only when the Registration resource has state ACTIVE or SUSPENDED. When preferred_renewal_method is set to AUTOMATIC_RENEWAL, the actual renewal_method can be set to RENEWAL_DISABLED in case of problems with the billing account or reported domain abuse. In such cases, check the issues field on the Registration. After the problem is resolved, the renewal_method is automatically updated to preferred_renewal_method in a few hours. Corresponds to the JSON property preferredRenewalMethod

Returns:

  • (String)


870
871
872
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 870

def preferred_renewal_method
  @preferred_renewal_method
end

#renewal_methodString

Output only. The actual renewal method for this Registration. When preferred_renewal_method is set to AUTOMATIC_RENEWAL, the actual renewal_method can be equal to RENEWAL_DISABLED—for example, when there are problems with the billing account or reported domain abuse. In such cases, check the issues field on the Registration. After the problem is resolved, the renewal_method is automatically updated to preferred_renewal_method in a few hours. Corresponds to the JSON property renewalMethod

Returns:

  • (String)


881
882
883
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 881

def renewal_method
  @renewal_method
end

#transfer_lock_stateString

This is the desired transfer lock state for this Registration. A transfer lock controls whether the domain can be transferred to another registrar. Corresponds to the JSON property transferLockState

Returns:

  • (String)


887
888
889
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 887

def transfer_lock_state
  @transfer_lock_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



894
895
896
897
898
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 894

def update!(**args)
  @preferred_renewal_method = args[:preferred_renewal_method] if args.key?(:preferred_renewal_method)
  @renewal_method = args[:renewal_method] if args.key?(:renewal_method)
  @transfer_lock_state = args[:transfer_lock_state] if args.key?(:transfer_lock_state)
end