Class: Google::Apis::DomainsV1beta1::RegisterDomainRequest
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1beta1::RegisterDomainRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/domains_v1beta1/classes.rb,
generated/google/apis/domains_v1beta1/representations.rb,
generated/google/apis/domains_v1beta1/representations.rb
Overview
Request for the RegisterDomain
method.
Instance Attribute Summary collapse
-
#contact_notices ⇒ Array<String>
The list of contact notices that the caller acknowledges.
-
#domain_notices ⇒ Array<String>
The list of domain notices that you acknowledge.
-
#registration ⇒ Google::Apis::DomainsV1beta1::Registration
The
Registration
resource facilitates managing and configuring domain name registrations. -
#validate_only ⇒ Boolean
(also: #validate_only?)
When true, only validation will be performed, without actually registering the domain.
-
#yearly_price ⇒ Google::Apis::DomainsV1beta1::Money
Represents an amount of money with its currency type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegisterDomainRequest
constructor
A new instance of RegisterDomainRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RegisterDomainRequest
Returns a new instance of RegisterDomainRequest.
1191 1192 1193 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1191 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contact_notices ⇒ Array<String>
The list of contact notices that the caller acknowledges. The notices required
here depend on the values specified in registration.contact_settings
.
Corresponds to the JSON property contactNotices
1160 1161 1162 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1160 def contact_notices @contact_notices end |
#domain_notices ⇒ Array<String>
The list of domain notices that you acknowledge. Call
RetrieveRegisterParameters
to see the notices that need acknowledgement.
Corresponds to the JSON property domainNotices
1166 1167 1168 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1166 def domain_notices @domain_notices end |
#registration ⇒ 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
.
Corresponds to the JSON property registration
1176 1177 1178 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1176 def registration @registration end |
#validate_only ⇒ Boolean Also known as: validate_only?
When true, only validation will be performed, without actually registering the
domain. Follows: https://cloud.google.com/apis/design/design_patterns#
request_validation
Corresponds to the JSON property validateOnly
1183 1184 1185 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1183 def validate_only @validate_only end |
#yearly_price ⇒ Google::Apis::DomainsV1beta1::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property yearlyPrice
1189 1190 1191 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1189 def yearly_price @yearly_price end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1196 1197 1198 1199 1200 1201 1202 |
# File 'generated/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 |