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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Users

Returns a new instance of Users.



4438
4439
4440
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4438

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

Instance Attribute Details

#etagString

ETag of the resource. Corresponds to the JSON property etag

Returns:

  • (String)


4416
4417
4418
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4416

def etag
  @etag
end

#kindString

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

Returns:

  • (String)


4421
4422
4423
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4421

def kind
  @kind
end

#next_page_tokenString

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

Returns:

  • (String)


4426
4427
4428
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4426

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)


4431
4432
4433
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4431

def trigger_event
  @trigger_event
end

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

List of user objects. Corresponds to the JSON property users



4436
4437
4438
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4436

def users
  @users
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4443
4444
4445
4446
4447
4448
4449
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 4443

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