Class: Google::Apis::AdminDirectoryV1::Members

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/google/apis/admin_directory_v1/representations.rb

Overview

JSON response template for List Members operation in Directory API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Members

Returns a new instance of Members



1767
1768
1769
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1767

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


1750
1751
1752
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1750

def etag
  @etag
end

#kindString

Kind of resource this is. Corresponds to the JSON property kind

Returns:

  • (String)


1755
1756
1757
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1755

def kind
  @kind
end

#membersArray<Google::Apis::AdminDirectoryV1::Member>

List of member objects. Corresponds to the JSON property members



1760
1761
1762
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1760

def members
  @members
end

#next_page_tokenString

Token used to access next page of this result. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1765
1766
1767
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1765

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1772
1773
1774
1775
1776
1777
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1772

def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @kind = args[:kind] if args.key?(:kind)
  @members = args[:members] if args.key?(:members)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end