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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/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.



1547
1548
1549
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1547

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)


1518
1519
1520
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1518

def creation_time
  @creation_time
end

#domain_alias_nameString

The domain alias name. Corresponds to the JSON property domainAliasName

Returns:

  • (String)


1523
1524
1525
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1523

def domain_alias_name
  @domain_alias_name
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


1528
1529
1530
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1528

def etag
  @etag
end

#kindString

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

Returns:

  • (String)


1533
1534
1535
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1533

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)


1539
1540
1541
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1539

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)


1544
1545
1546
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1544

def verified
  @verified
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1552
1553
1554
1555
1556
1557
1558
1559
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1552

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