Class: Google::Apis::DomainsV1beta1::ImportDomainRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/domains_v1beta1/classes.rb,
lib/google/apis/domains_v1beta1/representations.rb,
lib/google/apis/domains_v1beta1/representations.rb

Overview

Deprecated: For more information, see Cloud Domains feature deprecation. Request for the ImportDomain method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportDomainRequest

Returns a new instance of ImportDomainRequest.



718
719
720
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 718

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#domain_nameString

Required. The domain name. Unicode domain names must be expressed in Punycode format. Corresponds to the JSON property domainName

Returns:

  • (String)


711
712
713
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 711

def domain_name
  @domain_name
end

#labelsHash<String,String>

Set of labels associated with the Registration. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


716
717
718
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 716

def labels
  @labels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



723
724
725
726
# File 'lib/google/apis/domains_v1beta1/classes.rb', line 723

def update!(**args)
  @domain_name = args[:domain_name] if args.key?(:domain_name)
  @labels = args[:labels] if args.key?(:labels)
end