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.



1622
1623
1624
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1622

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)


1614
1615
1616
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1614

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



1620
1621
1622
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1620

def 
  @user_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1627
1628
1629
1630
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1627

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