Class: Google::Apis::IdentitytoolkitV3::GetAccountInfoResponse

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

Overview

Response of getting account information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GetAccountInfoResponse

Returns a new instance of GetAccountInfoResponse



203
204
205
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 203

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

Instance Attribute Details

#kindString

The fixed string "identitytoolkit#GetAccountInfoResponse". Corresponds to the JSON property kind

Returns:

  • (String)


196
197
198
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 196

def kind
  @kind
end

#usersArray<Google::Apis::IdentitytoolkitV3::UserInfo>

The info of the users. Corresponds to the JSON property users



201
202
203
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 201

def users
  @users
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



208
209
210
211
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 208

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