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.



1593
1594
1595
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1593

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)


1585
1586
1587
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1585

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



1591
1592
1593
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1591

def 
  @user_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1598
1599
1600
1601
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1598

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