Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1QueryUserInfoResponse

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

Overview

Response message for QueryUserInfo.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1QueryUserInfoResponse

Returns a new instance of GoogleCloudIdentitytoolkitV1QueryUserInfoResponse.



1568
1569
1570
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1568

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

Instance Attribute Details

#records_countFixnum

If return_user_info in the request is true, this is the number of returned accounts in this message. Otherwise, this is the total number of accounts matching the query. Corresponds to the JSON property recordsCount

Returns:

  • (Fixnum)


1560
1561
1562
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1560

def records_count
  @records_count
end

#user_infoArray<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1UserInfo>

If return_user_info in the request is true, this is the accounts matching the query. Corresponds to the JSON property userInfo



1566
1567
1568
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1566

def 
  @user_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1573
1574
1575
1576
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1573

def update!(**args)
  @records_count = args[:records_count] if args.key?(:records_count)
  @user_info = args[:user_info] if args.key?(:user_info)
end