class Google::Apis::DomainsV1alpha2::RegisterParameters

Parameters required to register a new domain.

Attributes

availability[RW]

Indicates whether the domain is available for registration. This value is accurate when obtained by calling `RetrieveRegisterParameters`, but is approximate when obtained by calling `SearchDomains`. Corresponds to the JSON property `availability` @return [String]

domain_name[RW]

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

domain_notices[RW]

Notices about special properties of the domain. Corresponds to the JSON property `domainNotices` @return [Array<String>]

supported_privacy[RW]

Contact privacy options that the domain supports. Corresponds to the JSON property `supportedPrivacy` @return [Array<String>]

yearly_price[RW]

Represents an amount of money with its currency type. Corresponds to the JSON property `yearlyPrice` @return [Google::Apis::DomainsV1alpha2::Money]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/domains_v1alpha2/classes.rb, line 1236
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 1241
def update!(**args)
  @availability = args[:availability] if args.key?(:availability)
  @domain_name = args[:domain_name] if args.key?(:domain_name)
  @domain_notices = args[:domain_notices] if args.key?(:domain_notices)
  @supported_privacy = args[:supported_privacy] if args.key?(:supported_privacy)
  @yearly_price = args[:yearly_price] if args.key?(:yearly_price)
end