Class: Google::Apis::DomainsV1alpha2::RegisterParameters
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1alpha2::RegisterParameters
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/domains_v1alpha2/classes.rb,
generated/google/apis/domains_v1alpha2/representations.rb,
generated/google/apis/domains_v1alpha2/representations.rb
Overview
Parameters required to register a new domain.
Instance Attribute Summary collapse
-
#availability ⇒ String
Indicates whether the domain is available for registration.
-
#domain_name ⇒ String
The domain name.
-
#domain_notices ⇒ Array<String>
Notices about special properties of the domain.
-
#supported_privacy ⇒ Array<String>
Contact privacy options that the domain supports.
-
#yearly_price ⇒ Google::Apis::DomainsV1alpha2::Money
Represents an amount of money with its currency type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RegisterParameters
constructor
A new instance of RegisterParameters.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RegisterParameters
Returns a new instance of RegisterParameters.
1236 1237 1238 |
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 1236 def initialize(**args) update!(**args) end |
Instance Attribute Details
#availability ⇒ String
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
1214 1215 1216 |
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 1214 def availability @availability end |
#domain_name ⇒ String
The domain name. Unicode domain names are expressed in Punycode format.
Corresponds to the JSON property domainName
1219 1220 1221 |
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 1219 def domain_name @domain_name end |
#domain_notices ⇒ Array<String>
Notices about special properties of the domain.
Corresponds to the JSON property domainNotices
1224 1225 1226 |
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 1224 def domain_notices @domain_notices end |
#supported_privacy ⇒ Array<String>
Contact privacy options that the domain supports.
Corresponds to the JSON property supportedPrivacy
1229 1230 1231 |
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 1229 def supported_privacy @supported_privacy end |
#yearly_price ⇒ Google::Apis::DomainsV1alpha2::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property yearlyPrice
1234 1235 1236 |
# File 'generated/google/apis/domains_v1alpha2/classes.rb', line 1234 def yearly_price @yearly_price end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1241 1242 1243 1244 1245 1246 1247 |
# File 'generated/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 |