Class: Google::Apis::AdminDirectoryV1::DomainAlias
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::DomainAlias
- 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
-
#creation_time ⇒ String
The creation time of the domain alias.
-
#domain_alias_name ⇒ String
The domain alias name.
-
#etag ⇒ String
ETag of the resource.
-
#kind ⇒ String
Kind of resource this is.
-
#parent_domain_name ⇒ String
The parent domain name that the domain alias is associated with.
-
#verified ⇒ Boolean
(also: #verified?)
Indicates the verification state of a domain alias.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DomainAlias
constructor
A new instance of DomainAlias.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DomainAlias
Returns a new instance of DomainAlias.
818 819 820 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 818 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_time ⇒ String
The creation time of the domain alias. (Read-only).
Corresponds to the JSON property creationTime
789 790 791 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 789 def creation_time @creation_time end |
#domain_alias_name ⇒ String
The domain alias name.
Corresponds to the JSON property domainAliasName
794 795 796 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 794 def domain_alias_name @domain_alias_name end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
799 800 801 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 799 def etag @etag end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
804 805 806 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 804 def kind @kind end |
#parent_domain_name ⇒ String
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
810 811 812 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 810 def parent_domain_name @parent_domain_name end |
#verified ⇒ Boolean Also known as: verified?
Indicates the verification state of a domain alias. (Read-only)
Corresponds to the JSON property verified
815 816 817 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 815 def verified @verified end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
823 824 825 826 827 828 829 830 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 823 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 |