Service Client: Google::Cloud::Identitytoolkit::V2::AccountManagementService::AccountManagementServiceClient

Client stub representing the remote AccountManagementService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to identitytoolkit.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Identitytoolkit::V2::AccountManagementService - Compiled Protocol Buffers messages for google/cloud/identitytoolkit/v2/account_management_service.proto

SYNOPSIS

use Google::Cloud::Identitytoolkit::V2::AccountManagementService;

my $msg = Google::Cloud::Identitytoolkit::V2::AccountManagementService::FinalizeMfaEnrollmentRequest->new({
    id_token => $id_token,
    display_name => $display_name,
    phone_verification_info => $phone_verification_info,
    tenant_id => $tenant_id,
});

# Read or update a field
my $val = $msg->id_token();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Identitytoolkit::V2::AccountManagementService::FinalizeMfaEnrollmentRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/identitytoolkit/v2/account_management_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Identitytoolkit::V2::AccountManagementService::FinalizeMfaEnrollmentRequest

Finishes enrolling a second factor for the user.

Inherits from Protobuf::Message.

Accessors

  • $msg->id_token() / $msg->id_token($value)

    Type: String

    Required. ID token.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Display name which is entered by users to distinguish between different second factors with same type or different type.

  • $msg->phone_verification_info() / $msg->phone_verification_info($value)

    Type: Message (Google::Cloud::Identitytoolkit::V2::MfaInfo::FinalizeMfaPhoneRequestInfo)

    Verification info to authorize sending an SMS for phone verification.

  • $msg->tenant_id() / $msg->tenant_id($value)

    Type: String

    The ID of the Identity Platform tenant that the user enrolling MFA belongs to. If not set, the user belongs to the default Identity Platform project.

Google::Cloud::Identitytoolkit::V2::AccountManagementService::FinalizeMfaEnrollmentResponse

FinalizeMfaEnrollment response.

Inherits from Protobuf::Message.

Accessors

  • $msg->id_token() / $msg->id_token($value)

    Type: String

    ID token updated to reflect MFA enrollment.

  • $msg->refresh_token() / $msg->refresh_token($value)

    Type: String

    Refresh token updated to reflect MFA enrollment.

  • $msg->phone_auth_info() / $msg->phone_auth_info($value)

    Type: Message (Google::Cloud::Identitytoolkit::V2::MfaInfo::FinalizeMfaPhoneResponseInfo)

    Auxiliary auth info specific to phone auth.

Google::Cloud::Identitytoolkit::V2::AccountManagementService::StartMfaEnrollmentRequest

Sends MFA enrollment verification SMS for a user.

Inherits from Protobuf::Message.

Accessors

  • $msg->id_token() / $msg->id_token($value)

    Type: String

    Required. User's ID token.

  • $msg->phone_enrollment_info() / $msg->phone_enrollment_info($value)

    Type: Message (Google::Cloud::Identitytoolkit::V2::MfaInfo::StartMfaPhoneRequestInfo)

    Verification info to authorize sending an SMS for phone verification.

  • $msg->tenant_id() / $msg->tenant_id($value)

    Type: String

    The ID of the Identity Platform tenant that the user enrolling MFA belongs to. If not set, the user belongs to the default Identity Platform project.

Google::Cloud::Identitytoolkit::V2::AccountManagementService::StartMfaEnrollmentResponse

StartMfaEnrollment response.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Identitytoolkit::V2::AccountManagementService::WithdrawMfaRequest

Withdraws MFA.

Inherits from Protobuf::Message.

Accessors

  • $msg->id_token() / $msg->id_token($value)

    Type: String

    Required. User's ID token.

  • $msg->mfa_enrollment_id() / $msg->mfa_enrollment_id($value)

    Type: String

    Required. MFA enrollment id from a current MFA enrollment.

  • $msg->tenant_id() / $msg->tenant_id($value)

    Type: String

    The ID of the Identity Platform tenant that the user unenrolling MFA belongs to. If not set, the user belongs to the default Identity Platform project.

Google::Cloud::Identitytoolkit::V2::AccountManagementService::WithdrawMfaResponse

Withdraws MultiFactorAuth response.

Inherits from Protobuf::Message.

Accessors

  • $msg->id_token() / $msg->id_token($value)

    Type: String

    ID token updated to reflect removal of the second factor.

  • $msg->refresh_token() / $msg->refresh_token($value)

    Type: String

    Refresh token updated to reflect removal of the second factor.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Identitytoolkit::V2::AccountManagementService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.