Class: Google::Apis::DomainsV1beta1::AuthorizationCode

Inherits:
Object
  • Object
show all
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

Defines an authorization code.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuthorizationCode

Returns a new instance of AuthorizationCode.



106
107
108
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 106

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

Instance Attribute Details

#codeString

The Authorization Code in ASCII. It can be used to transfer the domain to or from another registrar. Corresponds to the JSON property code

Returns:

  • (String)


104
105
106
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 104

def code
  @code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



111
112
113
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 111

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