class Google::Apis::DomainsV1beta1::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
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::DomainsV1beta1::ContactSettings]
Output only. The creation timestamp of the `Registration` resource. Corresponds to the JSON property `createTime` @return [String]
Defines the DNS configuration of a `Registration`, including name servers, DNSSEC, and glue records. Corresponds to the JSON property `dnsSettings` @return [Google::Apis::DomainsV1beta1::DnsSettings]
Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format. Corresponds to the JSON property `domainName` @return [String]
Output only. The expiration timestamp of the `Registration`. Corresponds to the JSON property `expireTime` @return [String]
Output only. The set of issues with the `Registration` that require attention. Corresponds to the JSON property `issues` @return [Array<String>]
Set of labels associated with the `Registration`. Corresponds to the JSON property `labels` @return [Hash<String,String>]
Defines renewal, billing, and transfer settings for a `Registration`. Corresponds to the JSON property `managementSettings` @return [Google::Apis::DomainsV1beta1::ManagementSettings]
Output only. Name of the `Registration` resource, in the format `projects/*/ locations/*/registrations/`. Corresponds to the JSON property `name` @return [String]
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::DomainsV1beta1::ContactSettings]
Output only. The state of the `Registration` Corresponds to the JSON property `state` @return [String]
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
# File lib/google/apis/domains_v1beta1/classes.rb, line 1329 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/domains_v1beta1/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