Class: Google::Apis::AdminDirectoryV1::Users

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

STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/ stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (See http://go/stepladder-help#fieldNumber)

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) ⇒ Users

Returns a new instance of Users.


4181
4182
4183
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4181

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

Instance Attribute Details

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)

4159
4160
4161
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4159

def etag
  @etag
end

#kindString

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

Returns:

  • (String)

4164
4165
4166
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4164

def kind
  @kind
end

#next_page_tokenString

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

Returns:

  • (String)

4169
4170
4171
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4169

def next_page_token
  @next_page_token
end

#trigger_eventString

Event that triggered this response (only used in case of Push Response) Corresponds to the JSON property trigger_event

Returns:

  • (String)

4174
4175
4176
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4174

def trigger_event
  @trigger_event
end

#usersArray<Google::Apis::AdminDirectoryV1::User>

List of user objects. Corresponds to the JSON property users


4179
4180
4181
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4179

def users
  @users
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4186
4187
4188
4189
4190
4191
4192
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4186

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