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

    Interface AnyRules

    AnyRules describe rules applied exclusively to the google.protobuf.Any well-known type.

    interface AnyRules {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "buf.validate.AnyRules";
        in: string[];
        notIn: string[];
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

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

      AnyRules describe rules applied exclusively to the google.protobuf.Any well-known type.

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • AnyRules describe rules applied exclusively to the google.protobuf.Any well-known type.

            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: "buf.validate.AnyRules"

    Contains the fully qualified protobuf type name.

    in: string[]

    in requires the field's type_url to be equal to one of the specified values. If it doesn't match any of the specified values, an error message is generated.

    message MyAny {
    // The `value` field must have a `type_url` equal to one of the specified values.
    google.protobuf.Any value = 1 [(buf.validate.field).any = {
    in: ["type.googleapis.com/MyType1", "type.googleapis.com/MyType2"]
    }];
    }
    notIn: string[]

    requires the field's type_url to be not equal to any of the specified values. If it matches any of the specified values, an error message is generated.

    message MyAny {
    // The `value` field must not have a `type_url` equal to any of the specified values.
    google.protobuf.Any value = 1 [(buf.validate.field).any = {
    not_in: ["type.googleapis.com/ForbiddenType1", "type.googleapis.com/ForbiddenType2"]
    }];
    }