Class ResponseBlockedError (1.67.0)

ResponseBlockedError(
    message: str,
    request_contents: typing.List[
        vertexai.generative_models._generative_models.Content
    ],
    responses: typing.List[
        vertexai.generative_models._generative_models.GenerationResponse
    ],
)

API documentation for ResponseBlockedError class.

Methods

with_traceback

Exception.with_traceback(tb) -- set self.traceback to tb and return self.