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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Members

Returns a new instance of Members.



2914
2915
2916
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2914

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

Instance Attribute Details

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


2897
2898
2899
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2897

def etag
  @etag
end

#kindString

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

Returns:

  • (String)


2902
2903
2904
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2902

def kind
  @kind
end

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

A list of member objects. Corresponds to the JSON property members



2907
2908
2909
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2907

def members
  @members
end

#next_page_tokenString

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

Returns:

  • (String)


2912
2913
2914
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2912

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2919
2920
2921
2922
2923
2924
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2919

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