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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Members

Returns a new instance of Members.



2018
2019
2020
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2018

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

Instance Attribute Details

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


2001
2002
2003
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2001

def etag
  @etag
end

#kindString

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

Returns:

  • (String)


2006
2007
2008
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2006

def kind
  @kind
end

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

List of member objects. Corresponds to the JSON property members



2011
2012
2013
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2011

def members
  @members
end

#next_page_tokenString

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

Returns:

  • (String)


2016
2017
2018
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2016

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2023
2024
2025
2026
2027
2028
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 2023

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