Class: Google::Apis::AdminDirectoryV1::Domains

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) ⇒ Domains

Returns a new instance of Domains.



2369
2370
2371
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2369

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

Instance Attribute Details

#creation_timeFixnum

Creation time of the domain. Expressed in Unix time format. (Read-only). Corresponds to the JSON property creationTime

Returns:

  • (Fixnum)


2335
2336
2337
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2335

def creation_time
  @creation_time
end

#domain_aliasesArray<Google::Apis::AdminDirectoryV1::DomainAlias>

A list of domain alias objects. (Read-only) Corresponds to the JSON property domainAliases



2340
2341
2342
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2340

def domain_aliases
  @domain_aliases
end

#domain_nameString

The domain name of the customer. Corresponds to the JSON property domainName

Returns:

  • (String)


2345
2346
2347
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2345

def domain_name
  @domain_name
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


2350
2351
2352
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2350

def etag
  @etag
end

#is_primaryBoolean Also known as: is_primary?

Indicates if the domain is a primary domain (Read-only). Corresponds to the JSON property isPrimary

Returns:

  • (Boolean)


2355
2356
2357
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2355

def is_primary
  @is_primary
end

#kindString

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

Returns:

  • (String)


2361
2362
2363
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2361

def kind
  @kind
end

#verifiedBoolean Also known as: verified?

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

Returns:

  • (Boolean)


2366
2367
2368
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2366

def verified
  @verified
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2374
2375
2376
2377
2378
2379
2380
2381
2382
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2374

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