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

    Interface Subject

    Represents the nebius.audit.v2.Subject protobuf message.

    interface Subject {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.audit.v2.Subject";
        id?:
            | { $case: "serviceAccountId"; serviceAccountId: string }
            | { $case: "tenantUserId"; tenantUserId: string };
        name: string;
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

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

      Represents the nebius.audit.v2.Subject protobuf message.

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • Represents the nebius.audit.v2.Subject 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.audit.v2.Subject"

    Contains the fully qualified protobuf type name.

    id?:
        | { $case: "serviceAccountId"; serviceAccountId: string }
        | { $case: "tenantUserId"; tenantUserId: string }

    Contains the selected value for the id protobuf oneof.

    Type Declaration

    • { $case: "serviceAccountId"; serviceAccountId: string }
      • $case: "serviceAccountId"

        Contains the case.

      • serviceAccountId: string

        Contains the service account ID.

    • { $case: "tenantUserId"; tenantUserId: string }
      • $case: "tenantUserId"

        Contains the case.

      • tenantUserId: string

        Contains the tenant user ID.

    name: string

    Username of the subject.