@nebius/js-sdk - v0.2.54
    Preparing search index...

    Interface UserProfile

    Represents the nebius.iam.v1.UserProfile protobuf message.

    interface UserProfile {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.iam.v1.UserProfile";
        attributesOptional?:
            | { $case: "attributes"; attributes: UserAttributes }
            | { $case: "retrievingError"; retrievingError: Error };
        federationInfo?: UserAccountExternalId;
        id: string;
        tenants: UserTenantInfo[];
        userAccountState: UserAccountStatus_State;
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

    • [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined

      Represents the nebius.iam.v1.UserProfile protobuf message.

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • Represents the nebius.iam.v1.UserProfile protobuf message.

            Returns unknown

      • undefined
    Index
    "[customJson]"?: () => unknown

    Returns a safe value for JSON logs.

    Type Declaration

      • (): unknown
      • Returns a safe value for JSON logs.

        Returns unknown

    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>

    Preserves protobuf fields that this SDK version does not recognize.

    $type: "nebius.iam.v1.UserProfile"

    Contains the fully qualified protobuf type name.

    attributesOptional?:
        | { $case: "attributes"; attributes: UserAttributes }
        | { $case: "retrievingError"; retrievingError: Error }

    Contains the selected value for the attributes_optional protobuf oneof.

    Type Declaration

    • { $case: "attributes"; attributes: UserAttributes }
      • $case: "attributes"

        Contains the case.

      • attributes: UserAttributes

        Contains the attributes.

    • { $case: "retrievingError"; retrievingError: Error }
      • $case: "retrievingError"

        Contains the case.

      • retrievingError: Error

        Contains the retrieving error.

    federationInfo?: UserAccountExternalId

    Contains the federation_info protobuf field.

    id: string

    Contains the id protobuf field.

    tenants: UserTenantInfo[]

    Contains the tenants protobuf field.

    userAccountState: UserAccountStatus_State

    Contains the user_account_state protobuf field.