Class: Google::Apis::AdminDirectoryV1::DomainAlias
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::DomainAlias
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb
Instance Attribute Summary collapse
-
#creation_time ⇒ Fixnum
The creation time of the domain alias.
-
#domain_alias_name ⇒ String
The domain alias name.
-
#etag ⇒ String
ETag of the resource.
-
#kind ⇒ String
Kind of resource this is.
-
#parent_domain_name ⇒ String
The parent domain name that the domain alias is associated with.
-
#verified ⇒ Boolean
(also: #verified?)
Indicates the verification state of a domain alias.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DomainAlias
constructor
A new instance of DomainAlias.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DomainAlias
Returns a new instance of DomainAlias.
2241 2242 2243 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2241 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_time ⇒ Fixnum
The creation time of the domain alias. (Read-only).
Corresponds to the JSON property creationTime
2212 2213 2214 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2212 def creation_time @creation_time end |
#domain_alias_name ⇒ String
The domain alias name.
Corresponds to the JSON property domainAliasName
2217 2218 2219 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2217 def domain_alias_name @domain_alias_name end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
2222 2223 2224 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2222 def etag @etag end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
2227 2228 2229 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2227 def kind @kind end |
#parent_domain_name ⇒ String
The parent domain name that the domain alias is associated with. This can
either be a primary or secondary domain name within a customer.
Corresponds to the JSON property parentDomainName
2233 2234 2235 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2233 def parent_domain_name @parent_domain_name end |
#verified ⇒ Boolean Also known as: verified?
Indicates the verification state of a domain alias. (Read-only)
Corresponds to the JSON property verified
2238 2239 2240 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2238 def verified @verified end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2246 2247 2248 2249 2250 2251 2252 2253 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2246 def update!(**args) @creation_time = args[:creation_time] if args.key?(:creation_time) @domain_alias_name = args[:domain_alias_name] if args.key?(:domain_alias_name) @etag = args[:etag] if args.key?(:etag) @kind = args[:kind] if args.key?(:kind) @parent_domain_name = args[:parent_domain_name] if args.key?(:parent_domain_name) @verified = args[:verified] if args.key?(:verified) end |