class Google::Apis::DomainsV1alpha2::Registration

The `Registration` resource facilitates managing and configuring domain name registrations. 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`.

Attributes

contact_settings[RW]

Defines the contact information associated with a `Registration`. [ICANN]( icann.org/) 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` @return [Google::Apis::DomainsV1alpha2::ContactSettings]

create_time[RW]

Output only. The creation timestamp of the `Registration` resource. Corresponds to the JSON property `createTime` @return [String]

dns_settings[RW]

Defines the DNS configuration of a `Registration`, including name servers, DNSSEC, and glue records. Corresponds to the JSON property `dnsSettings` @return [Google::Apis::DomainsV1alpha2::DnsSettings]

domain_name[RW]

Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format. Corresponds to the JSON property `domainName` @return [String]

expire_time[RW]

Output only. The expiration timestamp of the `Registration`. Corresponds to the JSON property `expireTime` @return [String]

issues[RW]

Output only. The set of issues with the `Registration` that require attention. Corresponds to the JSON property `issues` @return [Array<String>]

labels[RW]

Set of labels associated with the `Registration`. Corresponds to the JSON property `labels` @return [Hash<String,String>]

management_settings[RW]

Defines renewal, billing, and transfer settings for a `Registration`. Corresponds to the JSON property `managementSettings` @return [Google::Apis::DomainsV1alpha2::ManagementSettings]

name[RW]

Output only. Name of the `Registration` resource, in the format `projects/*/ locations/*/registrations/`. Corresponds to the JSON property `name` @return [String]

pending_contact_settings[RW]

Defines the contact information associated with a `Registration`. [ICANN]( icann.org/) 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` @return [Google::Apis::DomainsV1alpha2::ContactSettings]

state[RW]

Output only. The state of the `Registration` Corresponds to the JSON property `state` @return [String]

supported_privacy[RW]

Output only. Set of options for the `contact_settings.privacy` field that this `Registration` supports. Corresponds to the JSON property `supportedPrivacy` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/domains_v1alpha2/classes.rb, line 1329
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/domains_v1alpha2/classes.rb, line 1334
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)
  @state = args[:state] if args.key?(:state)
  @supported_privacy = args[:supported_privacy] if args.key?(:supported_privacy)
end