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.



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

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)


1612
1613
1614
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1612

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



1618
1619
1620
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1618

def 
  @user_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1625
1626
1627
1628
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1625

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