class Google::Apis::AdminDirectoryV1::OrgUnits

JSON response template for List Organization Units operation in Directory API.

Attributes

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]

organization_units[RW]

List of user objects. Corresponds to the JSON property `organizationUnits` @return [Array<Google::Apis::AdminDirectoryV1::OrgUnit>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/admin_directory_v1/classes.rb, line 1623
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 1628
def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @kind = args[:kind] if args.key?(:kind)
  @organization_units = args[:organization_units] if args.key?(:organization_units)
end