Class: Google::Apis::AdminDirectoryV1::DomainAlias

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DomainAlias

Returns a new instance of DomainAlias.



2148
2149
2150
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2148

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

Instance Attribute Details

#creation_timeFixnum

The creation time of the domain alias. (Read-only). Corresponds to the JSON property creationTime

Returns:

  • (Fixnum)


2119
2120
2121
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2119

def creation_time
  @creation_time
end

#domain_alias_nameString

The domain alias name. Corresponds to the JSON property domainAliasName

Returns:

  • (String)


2124
2125
2126
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2124

def domain_alias_name
  @domain_alias_name
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


2129
2130
2131
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2129

def etag
  @etag
end

#kindString

Kind of resource this is. Corresponds to the JSON property kind

Returns:

  • (String)


2134
2135
2136
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2134

def kind
  @kind
end

#parent_domain_nameString

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

Returns:

  • (String)


2140
2141
2142
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2140

def parent_domain_name
  @parent_domain_name
end

#verifiedBoolean Also known as: verified?

Indicates the verification state of a domain alias. (Read-only) Corresponds to the JSON property verified

Returns:

  • (Boolean)


2145
2146
2147
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2145

def verified
  @verified
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2153
2154
2155
2156
2157
2158
2159
2160
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2153

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