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

Overview

JSON template for Domain Alias object in Directory API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DomainAlias

Returns a new instance of DomainAlias.



792
793
794
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 792

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

Instance Attribute Details

#creation_timeString

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

Returns:

  • (String)


763
764
765
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 763

def creation_time
  @creation_time
end

#domain_alias_nameString

The domain alias name. Corresponds to the JSON property domainAliasName

Returns:

  • (String)


768
769
770
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 768

def domain_alias_name
  @domain_alias_name
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


773
774
775
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 773

def etag
  @etag
end

#kindString

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

Returns:

  • (String)


778
779
780
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 778

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)


784
785
786
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 784

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)


789
790
791
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 789

def verified
  @verified
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



797
798
799
800
801
802
803
804
# 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