class Google::Apis::AdminDirectoryV1::OrgUnits

Attributes

etag[RW]

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

kind[RW]

The type of the API resource. For Org Unit resources, the type is `admin# directory#orgUnits`. Corresponds to the JSON property `kind` @return [String]

organization_units[RW]

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

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admin_directory_v1/classes.rb, line 2884
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