Class: Google::Apis::DomainsV1alpha2::ImportDomainRequest
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1alpha2::ImportDomainRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/domains_v1alpha2/classes.rb,
lib/google/apis/domains_v1alpha2/representations.rb,
lib/google/apis/domains_v1alpha2/representations.rb
Overview
Deprecated: For more information, see Cloud Domains feature deprecation.
Request for the ImportDomain
method.
Instance Attribute Summary collapse
-
#domain_name ⇒ String
Required.
-
#labels ⇒ Hash<String,String>
Set of labels associated with the
Registration
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImportDomainRequest
constructor
A new instance of ImportDomainRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImportDomainRequest
Returns a new instance of ImportDomainRequest.
911 912 913 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 911 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domain_name ⇒ String
Required. The domain name. Unicode domain names must be expressed in Punycode
format.
Corresponds to the JSON property domainName
904 905 906 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 904 def domain_name @domain_name end |
#labels ⇒ Hash<String,String>
Set of labels associated with the Registration
.
Corresponds to the JSON property labels
909 910 911 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 909 def labels @labels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
916 917 918 919 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 916 def update!(**args) @domain_name = args[:domain_name] if args.key?(:domain_name) @labels = args[:labels] if args.key?(:labels) end |