Class: Google::Apis::DomainsV1alpha2::TransferDomainRequest
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1alpha2::TransferDomainRequest
- 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
Request for the TransferDomain
method.
Instance Attribute Summary collapse
-
#authorization_code ⇒ Google::Apis::DomainsV1alpha2::AuthorizationCode
Defines an authorization code.
-
#contact_notices ⇒ Array<String>
The list of contact notices that you acknowledge.
-
#registration ⇒ Google::Apis::DomainsV1alpha2::Registration
The
Registration
resource facilitates managing and configuring domain name registrations. -
#validate_only ⇒ Boolean
(also: #validate_only?)
Validate the request without actually transferring the domain.
-
#yearly_price ⇒ Google::Apis::DomainsV1alpha2::Money
Represents an amount of money with its currency type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TransferDomainRequest
constructor
A new instance of TransferDomainRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TransferDomainRequest
Returns a new instance of TransferDomainRequest.
1725 1726 1727 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1725 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authorization_code ⇒ Google::Apis::DomainsV1alpha2::AuthorizationCode
Defines an authorization code.
Corresponds to the JSON property authorizationCode
1686 1687 1688 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1686 def @authorization_code end |
#contact_notices ⇒ Array<String>
The list of contact notices that you acknowledge. The notices needed here
depend on the values specified in registration.contact_settings
.
Corresponds to the JSON property contactNotices
1692 1693 1694 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1692 def contact_notices @contact_notices end |
#registration ⇒ Google::Apis::DomainsV1alpha2::Registration
The Registration
resource facilitates managing and configuring domain name
registrations. There are several ways to create a new Registration
resource:
To create a new Registration
resource, find a suitable domain name by
calling the SearchDomains
method with a query to see available domain name
options. After choosing a name, call RetrieveRegisterParameters
to ensure
availability and obtain information like pricing, which is needed to build a
call to RegisterDomain
. Another way to create a new Registration
is to
transfer an existing domain from another registrar. First, go to the current
registrar to unlock the domain for transfer and retrieve the domain's transfer
authorization code. Then call RetrieveTransferParameters
to confirm that the
domain is unlocked and to get values needed to build a call to TransferDomain
. Finally, you can create a new Registration
by importing an existing domain
managed with Google Domains. First, call
RetrieveImportableDomains
to list domains to which the calling user has
sufficient access. Then call ImportDomain
on any domain names you want to
use with Cloud Domains.
Corresponds to the JSON property registration
1712 1713 1714 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1712 def registration @registration end |
#validate_only ⇒ Boolean Also known as: validate_only?
Validate the request without actually transferring the domain.
Corresponds to the JSON property validateOnly
1717 1718 1719 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1717 def validate_only @validate_only end |
#yearly_price ⇒ Google::Apis::DomainsV1alpha2::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property yearlyPrice
1723 1724 1725 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1723 def yearly_price @yearly_price end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1730 1731 1732 1733 1734 1735 1736 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1730 def update!(**args) @authorization_code = args[:authorization_code] if args.key?(:authorization_code) @contact_notices = args[:contact_notices] if args.key?(:contact_notices) @registration = args[:registration] if args.key?(:registration) @validate_only = args[:validate_only] if args.key?(:validate_only) @yearly_price = args[:yearly_price] if args.key?(:yearly_price) end |