class Google::Apis::AdminDirectoryV1::DomainAlias

JSON template for Domain Alias object in Directory API.

Attributes

creation_time[RW]

The creation time of the domain alias. (Read-only). Corresponds to the JSON property `creationTime` @return [String]

domain_alias_name[RW]

The domain alias name. Corresponds to the JSON property `domainAliasName` @return [String]

etag[RW]

ETag of the resource. Corresponds to the JSON property `etag` @return [String]

kind[RW]

Kind of resource this is. Corresponds to the JSON property `kind` @return [String]

parent_domain_name[RW]

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` @return [String]

verified[RW]

Indicates the verification state of a domain alias. (Read-only) Corresponds to the JSON property `verified` @return [Boolean]

verified?[RW]

Indicates the verification state of a domain alias. (Read-only) Corresponds to the JSON property `verified` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/admin_directory_v1/classes.rb, line 792
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/admin_directory_v1/classes.rb, line 797
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