class Google::Apis::DomainsV1beta1::RegisterDomainRequest

Request for the `RegisterDomain` method.

Attributes

contact_notices[RW]

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in `registration.contact_settings`. Corresponds to the JSON property `contactNotices` @return [Array<String>]

domain_notices[RW]

The list of domain notices that you acknowledge. Call ` RetrieveRegisterParameters` to see the notices that need acknowledgement. Corresponds to the JSON property `domainNotices` @return [Array<String>]

registration[RW]

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`. Corresponds to the JSON property `registration` @return [Google::Apis::DomainsV1beta1::Registration]

validate_only[RW]

When true, only validation will be performed, without actually registering the domain. Follows: cloud.google.com/apis/design/design_patterns# request_validation Corresponds to the JSON property `validateOnly` @return [Boolean]

validate_only?[RW]

When true, only validation will be performed, without actually registering the domain. Follows: cloud.google.com/apis/design/design_patterns# request_validation Corresponds to the JSON property `validateOnly` @return [Boolean]

yearly_price[RW]

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

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/domains_v1beta1/classes.rb, line 1191
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_v1beta1/classes.rb, line 1196
def update!(**args)
  @contact_notices = args[:contact_notices] if args.key?(:contact_notices)
  @domain_notices = args[:domain_notices] if args.key?(:domain_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