Class: Google::Apis::DomainsV1beta1::Registration
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1beta1::Registration
- 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
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
.
Instance Attribute Summary collapse
-
#contact_settings ⇒ Google::Apis::DomainsV1beta1::ContactSettings
Defines the contact information associated with a
Registration
. -
#create_time ⇒ String
Output only.
-
#dns_settings ⇒ Google::Apis::DomainsV1beta1::DnsSettings
Defines the DNS configuration of a
Registration
, including name servers, DNSSEC, and glue records. -
#domain_name ⇒ String
Required.
-
#expire_time ⇒ String
Output only.
-
#issues ⇒ Array<String>
Output only.
-
#labels ⇒ Hash<String,String>
Set of labels associated with the
Registration
. -
#management_settings ⇒ Google::Apis::DomainsV1beta1::ManagementSettings
Defines renewal, billing, and transfer settings for a
Registration
. -
#name ⇒ String
Output only.
-
#pending_contact_settings ⇒ Google::Apis::DomainsV1beta1::ContactSettings
Defines the contact information associated with a
Registration
. -
#state ⇒ String
Output only.
-
#supported_privacy ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Registration
constructor
A new instance of Registration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Registration
Returns a new instance of Registration.
1329 1330 1331 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1329 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contact_settings ⇒ Google::Apis::DomainsV1beta1::ContactSettings
Defines the contact information associated with a Registration
. ICANN 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
1265 1266 1267 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1265 def contact_settings @contact_settings end |
#create_time ⇒ String
Output only. The creation timestamp of the Registration
resource.
Corresponds to the JSON property createTime
1270 1271 1272 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1270 def create_time @create_time end |
#dns_settings ⇒ Google::Apis::DomainsV1beta1::DnsSettings
Defines the DNS configuration of a Registration
, including name servers,
DNSSEC, and glue records.
Corresponds to the JSON property dnsSettings
1276 1277 1278 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1276 def dns_settings @dns_settings end |
#domain_name ⇒ String
Required. Immutable. The domain name. Unicode domain names must be expressed
in Punycode format.
Corresponds to the JSON property domainName
1282 1283 1284 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1282 def domain_name @domain_name end |
#expire_time ⇒ String
Output only. The expiration timestamp of the Registration
.
Corresponds to the JSON property expireTime
1287 1288 1289 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1287 def expire_time @expire_time end |
#issues ⇒ Array<String>
Output only. The set of issues with the Registration
that require attention.
Corresponds to the JSON property issues
1292 1293 1294 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1292 def issues @issues end |
#labels ⇒ Hash<String,String>
Set of labels associated with the Registration
.
Corresponds to the JSON property labels
1297 1298 1299 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1297 def labels @labels end |
#management_settings ⇒ Google::Apis::DomainsV1beta1::ManagementSettings
Defines renewal, billing, and transfer settings for a Registration
.
Corresponds to the JSON property managementSettings
1302 1303 1304 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1302 def management_settings @management_settings end |
#name ⇒ String
Output only. Name of the Registration
resource, in the format projects/*/
locations/*/registrations/
.
Corresponds to the JSON property name
1308 1309 1310 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1308 def name @name end |
#pending_contact_settings ⇒ Google::Apis::DomainsV1beta1::ContactSettings
Defines the contact information associated with a Registration
. ICANN 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
1316 1317 1318 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1316 def pending_contact_settings @pending_contact_settings end |
#state ⇒ String
Output only. The state of the Registration
Corresponds to the JSON property state
1321 1322 1323 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1321 def state @state end |
#supported_privacy ⇒ Array<String>
Output only. Set of options for the contact_settings.privacy
field that this
Registration
supports.
Corresponds to the JSON property supportedPrivacy
1327 1328 1329 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 1327 def supported_privacy @supported_privacy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 |
# File 'generated/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 |