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

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Domains

Returns a new instance of Domains.


1493
1494
1495
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1493

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

Instance Attribute Details

#creation_timeFixnum

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

Returns:

  • (Fixnum)

1459
1460
1461
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1459

def creation_time
  @creation_time
end

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

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


1464
1465
1466
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1464

def domain_aliases
  @domain_aliases
end

#domain_nameString

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

Returns:

  • (String)

1469
1470
1471
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1469

def domain_name
  @domain_name
end

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)

1474
1475
1476
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1474

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)

1479
1480
1481
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1479

def is_primary
  @is_primary
end

#kindString

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

Returns:

  • (String)

1485
1486
1487
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1485

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)

1490
1491
1492
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1490

def verified
  @verified
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1498
1499
1500
1501
1502
1503
1504
1505
1506
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1498

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