Class: Google::Apis::DomainsV1beta1::ManagementSettings
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1beta1::ManagementSettings
- 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
-
#preferred_renewal_method ⇒ String
Optional.
-
#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.
888 889 890 |
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 888 def initialize(**args) update!(**args) end |
Instance Attribute Details
#preferred_renewal_method ⇒ String
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
870 871 872 |
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 870 def preferred_renewal_method @preferred_renewal_method end |
#renewal_method ⇒ String
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
881 882 883 |
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 881 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
886 887 888 |
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 886 def transfer_lock_state @transfer_lock_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
893 894 895 896 897 |
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 893 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 |