class Google::Apis::AdminDirectoryV1::Domains

JSON template for Domain object in Directory API.

Attributes

creation_time[RW]

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

domain_aliases[RW]

List of domain alias objects. (Read-only) Corresponds to the JSON property `domainAliases` @return [Array<Google::Apis::AdminDirectoryV1::DomainAlias>]

domain_name[RW]

The domain name of the customer. Corresponds to the JSON property `domainName` @return [String]

etag[RW]

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

is_primary[RW]

Indicates if the domain is a primary domain (Read-only). Corresponds to the JSON property `isPrimary` @return [Boolean]

is_primary?[RW]

Indicates if the domain is a primary domain (Read-only). Corresponds to the JSON property `isPrimary` @return [Boolean]

kind[RW]

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

verified[RW]

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

verified?[RW]

Indicates the verification state of a domain. (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 879
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 884
def update!(**args)
  @creation_time = args[:creation_time] if args.key?(:creation_time)
  @domain_aliases = args[:domain_aliases] if args.key?(:domain_aliases)
  @domain_name = args[:domain_name] if args.key?(:domain_name)
  @etag = args[:etag] if args.key?(:etag)
  @is_primary = args[:is_primary] if args.key?(:is_primary)
  @kind = args[:kind] if args.key?(:kind)
  @verified = args[:verified] if args.key?(:verified)
end