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.



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

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)


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

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



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

def 
  @user_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1579
1580
1581
1582
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1579

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