class Google::Apis::AdminDirectoryV1::Groups

JSON response template for List Groups operation in Directory API.

Attributes

etag[RW]

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

groups[RW]

List of group objects. Corresponds to the JSON property `groups` @return [Array<Google::Apis::AdminDirectoryV1::Group>]

kind[RW]

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

next_page_token[RW]

Token used to access next page of this result. Corresponds to the JSON property `nextPageToken` @return [String]

Public Class Methods

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