Class: Google::Apis::DomainsV1alpha2::Registration
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1alpha2::Registration
- 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
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.
Instance Attribute Summary collapse
-
#contact_settings ⇒ Google::Apis::DomainsV1alpha2::ContactSettings
Defines the contact information associated with a
Registration. -
#create_time ⇒ String
Output only.
-
#dns_settings ⇒ Google::Apis::DomainsV1alpha2::DnsSettings
Defines the DNS configuration of a
Registration, including name servers, DNSSEC, and glue records. -
#domain_name ⇒ String
Required.
-
#expire_time ⇒ String
Output only.
-
#issues ⇒ Array<String>
Output only.
-
#labels ⇒ Hash<String,String>
Set of labels associated with the
Registration. -
#management_settings ⇒ Google::Apis::DomainsV1alpha2::ManagementSettings
Defines renewal, billing, and transfer settings for a
Registration. -
#name ⇒ String
Output only.
-
#pending_contact_settings ⇒ Google::Apis::DomainsV1alpha2::ContactSettings
Defines the contact information associated with a
Registration. -
#register_failure_reason ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#supported_privacy ⇒ Array<String>
Output only.
-
#transfer_failure_reason ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Registration
constructor
A new instance of Registration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Registration
Returns a new instance of Registration.
1426 1427 1428 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1426 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contact_settings ⇒ Google::Apis::DomainsV1alpha2::ContactSettings
Defines the contact information associated with a Registration. ICANN requires all domain names to have associated contact
information. The registrant_contact is considered the domain's legal owner,
and often the other contacts are identical.
Corresponds to the JSON property contactSettings
1350 1351 1352 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1350 def contact_settings @contact_settings end |
#create_time ⇒ String
Output only. The creation timestamp of the Registration resource.
Corresponds to the JSON property createTime
1355 1356 1357 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1355 def create_time @create_time end |
#dns_settings ⇒ Google::Apis::DomainsV1alpha2::DnsSettings
Defines the DNS configuration of a Registration, including name servers,
DNSSEC, and glue records.
Corresponds to the JSON property dnsSettings
1361 1362 1363 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1361 def dns_settings @dns_settings end |
#domain_name ⇒ String
Required. Immutable. The domain name. Unicode domain names must be expressed
in Punycode format.
Corresponds to the JSON property domainName
1367 1368 1369 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1367 def domain_name @domain_name end |
#expire_time ⇒ String
Output only. The expiration timestamp of the Registration.
Corresponds to the JSON property expireTime
1372 1373 1374 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1372 def expire_time @expire_time end |
#issues ⇒ Array<String>
Output only. The set of issues with the Registration that require attention.
Corresponds to the JSON property issues
1377 1378 1379 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1377 def issues @issues end |
#labels ⇒ Hash<String,String>
Set of labels associated with the Registration.
Corresponds to the JSON property labels
1382 1383 1384 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1382 def labels @labels end |
#management_settings ⇒ Google::Apis::DomainsV1alpha2::ManagementSettings
Defines renewal, billing, and transfer settings for a Registration.
Corresponds to the JSON property managementSettings
1387 1388 1389 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1387 def management_settings @management_settings end |
#name ⇒ String
Output only. Name of the Registration resource, in the format projects/*/
locations/*/registrations/.
Corresponds to the JSON property name
1393 1394 1395 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1393 def name @name end |
#pending_contact_settings ⇒ Google::Apis::DomainsV1alpha2::ContactSettings
Defines the contact information associated with a Registration. ICANN requires all domain names to have associated contact
information. The registrant_contact is considered the domain's legal owner,
and often the other contacts are identical.
Corresponds to the JSON property pendingContactSettings
1401 1402 1403 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1401 def pending_contact_settings @pending_contact_settings end |
#register_failure_reason ⇒ String
Output only. The reason the domain registration failed. Only set for domains
in REGISTRATION_FAILED state.
Corresponds to the JSON property registerFailureReason
1407 1408 1409 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1407 def register_failure_reason @register_failure_reason end |
#state ⇒ String
Output only. The state of the Registration
Corresponds to the JSON property state
1412 1413 1414 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1412 def state @state end |
#supported_privacy ⇒ Array<String>
Output only. Set of options for the contact_settings.privacy field that this
Registration supports.
Corresponds to the JSON property supportedPrivacy
1418 1419 1420 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1418 def supported_privacy @supported_privacy end |
#transfer_failure_reason ⇒ String
Output only. The reason the domain transfer failed. Only set for domains in
TRANSFER_FAILED state.
Corresponds to the JSON property transferFailureReason
1424 1425 1426 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1424 def transfer_failure_reason @transfer_failure_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 1431 def update!(**args) @contact_settings = args[:contact_settings] if args.key?(:contact_settings) @create_time = args[:create_time] if args.key?(:create_time) @dns_settings = args[:dns_settings] if args.key?(:dns_settings) @domain_name = args[:domain_name] if args.key?(:domain_name) @expire_time = args[:expire_time] if args.key?(:expire_time) @issues = args[:issues] if args.key?(:issues) @labels = args[:labels] if args.key?(:labels) @management_settings = args[:management_settings] if args.key?(:management_settings) @name = args[:name] if args.key?(:name) @pending_contact_settings = args[:pending_contact_settings] if args.key?(:pending_contact_settings) @register_failure_reason = args[:register_failure_reason] if args.key?(:register_failure_reason) @state = args[:state] if args.key?(:state) @supported_privacy = args[:supported_privacy] if args.key?(:supported_privacy) @transfer_failure_reason = args[:transfer_failure_reason] if args.key?(:transfer_failure_reason) end |