Class: Google::Apis::AdminDirectoryV1::Domains
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::Domains
- 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
-
#creation_time ⇒ Fixnum
Creation time of the domain.
-
#domain_aliases ⇒ Array<Google::Apis::AdminDirectoryV1::DomainAlias>
A 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.
Constructor Details
#initialize(**args) ⇒ Domains
Returns a new instance of Domains.
2236 2237 2238 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2236 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_time ⇒ Fixnum
Creation time of the domain. Expressed in Unix time format. (Read-only).
Corresponds to the JSON property creationTime
2202 2203 2204 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2202 def creation_time @creation_time end |
#domain_aliases ⇒ Array<Google::Apis::AdminDirectoryV1::DomainAlias>
A list of domain alias objects. (Read-only)
Corresponds to the JSON property domainAliases
2207 2208 2209 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2207 def domain_aliases @domain_aliases end |
#domain_name ⇒ String
The domain name of the customer.
Corresponds to the JSON property domainName
2212 2213 2214 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2212 def domain_name @domain_name end |
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
2217 2218 2219 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2217 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
2222 2223 2224 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2222 def is_primary @is_primary end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
2228 2229 2230 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2228 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
2233 2234 2235 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2233 def verified @verified end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2241 2242 2243 2244 2245 2246 2247 2248 2249 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2241 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 |