class Google::Apis::AdminDirectoryV1::Domains2

JSON response template to list Domains in Directory API.

Attributes

domains[RW]

List of domain objects. Corresponds to the JSON property `domains` @return [Array<Google::Apis::AdminDirectoryV1::Domains>]

etag[RW]

ETag of the resource. Corresponds to the JSON property `etag` @return [String]

kind[RW]

Kind of resource this is. Corresponds to the JSON property `kind` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/admin_directory_v1/classes.rb, line 914
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/admin_directory_v1/classes.rb, line 919
def update!(**args)
  @domains = args[:domains] if args.key?(:domains)
  @etag = args[:etag] if args.key?(:etag)
  @kind = args[:kind] if args.key?(:kind)
end