Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1SetAccountInfoResponse

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 SetAccountInfo

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1SetAccountInfoResponse

Returns a new instance of GoogleCloudIdentitytoolkitV1SetAccountInfoResponse.



2107
2108
2109
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2107

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

Instance Attribute Details

#display_nameString

The account's display name. Corresponds to the JSON property displayName

Returns:

  • (String)


2048
2049
2050
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2048

def display_name
  @display_name
end

#emailString

The account's email address. Corresponds to the JSON property email

Returns:

  • (String)


2053
2054
2055
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2053

def email
  @email
end

#email_verifiedBoolean Also known as: email_verified?

Whether the account's email has been verified. Corresponds to the JSON property emailVerified

Returns:

  • (Boolean)


2058
2059
2060
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2058

def email_verified
  @email_verified
end

#expires_inFixnum

The number of seconds until the Identity Platform ID token expires. Corresponds to the JSON property expiresIn

Returns:

  • (Fixnum)


2064
2065
2066
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2064

def expires_in
  @expires_in
end

#id_tokenString

An Identity Platform ID token for the account. This is used for legacy user sign up. Corresponds to the JSON property idToken

Returns:

  • (String)


2070
2071
2072
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2070

def id_token
  @id_token
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


2075
2076
2077
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2075

def kind
  @kind
end

#local_idString

The ID of the authenticated user. Corresponds to the JSON property localId

Returns:

  • (String)


2080
2081
2082
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2080

def local_id
  @local_id
end

#new_emailString

The new email that has been set on the user's account attributes. Corresponds to the JSON property newEmail

Returns:

  • (String)


2085
2086
2087
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2085

def new_email
  @new_email
end

#password_hashString

Deprecated. No actual password hash is currently returned. Corresponds to the JSON property passwordHash

Returns:

  • (String)


2090
2091
2092
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2090

def password_hash
  @password_hash
end

#photo_urlString

The user's photo URL for the account's profile photo. Corresponds to the JSON property photoUrl

Returns:

  • (String)


2095
2096
2097
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2095

def photo_url
  @photo_url
end

#provider_user_infoArray<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1ProviderUserInfo>

The linked Identity Providers on the account. Corresponds to the JSON property providerUserInfo



2100
2101
2102
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2100

def 
  @provider_user_info
end

#refresh_tokenString

A refresh token for the account. This is used for legacy user sign up. Corresponds to the JSON property refreshToken

Returns:

  • (String)


2105
2106
2107
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2105

def refresh_token
  @refresh_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 2112

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @email = args[:email] if args.key?(:email)
  @email_verified = args[:email_verified] if args.key?(:email_verified)
  @expires_in = args[:expires_in] if args.key?(:expires_in)
  @id_token = args[:id_token] if args.key?(:id_token)
  @kind = args[:kind] if args.key?(:kind)
  @local_id = args[:local_id] if args.key?(:local_id)
  @new_email = args[:new_email] if args.key?(:new_email)
  @password_hash = args[:password_hash] if args.key?(:password_hash)
  @photo_url = args[:photo_url] if args.key?(:photo_url)
  @provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info)
  @refresh_token = args[:refresh_token] if args.key?(:refresh_token)
end