Class: Google::Apis::AdminDirectoryV1::Domains
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::Domains
- 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 object in Directory API.
Instance Attribute Summary collapse
-
#creation_time ⇒ Fixnum
Creation time of the domain.
-
#domain_aliases ⇒ Array<Google::Apis::AdminDirectoryV1::DomainAlias>
List of domain alias objects.
-
#domain_name ⇒ String
The domain name of the customer.
-
#etag ⇒ String
ETag of the resource.
-
#is_primary ⇒ Boolean
(also: #is_primary?)
Indicates if the domain is a primary domain (Read-only).
-
#kind ⇒ String
Kind of resource this is.
-
#verified ⇒ Boolean
(also: #verified?)
Indicates the verification state of a domain.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Domains
constructor
A new instance of Domains.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Domains
Returns a new instance of Domains
1514 1515 1516 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1514 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_time ⇒ Fixnum
Creation time of the domain. (Read-only).
Corresponds to the JSON property creationTime
1480 1481 1482 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1480 def creation_time @creation_time end |
#domain_aliases ⇒ Array<Google::Apis::AdminDirectoryV1::DomainAlias>
List of domain alias objects. (Read-only)
Corresponds to the JSON property domainAliases
1485 1486 1487 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1485 def domain_aliases @domain_aliases end |
#domain_name ⇒ String
The domain name of the customer.
Corresponds to the JSON property domainName
1490 1491 1492 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1490 def domain_name @domain_name end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
1495 1496 1497 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1495 def etag @etag end |
#is_primary ⇒ Boolean Also known as: is_primary?
Indicates if the domain is a primary domain (Read-only).
Corresponds to the JSON property isPrimary
1500 1501 1502 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1500 def is_primary @is_primary end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
1506 1507 1508 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1506 def kind @kind end |
#verified ⇒ Boolean Also known as: verified?
Indicates the verification state of a domain. (Read-only).
Corresponds to the JSON property verified
1511 1512 1513 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1511 def verified @verified end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1519 1520 1521 1522 1523 1524 1525 1526 1527 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1519 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 |