Package types (0.3.0)

API documentation for modelarmor_v1beta.types package.

Classes

AiPlatformFloorSetting

message describing AiPlatformFloorSetting

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

ByteDataItem

Represents Byte Data item.

CreateTemplateRequest

Message for creating a Template

CsamFilterResult

CSAM (Child Safety Abuse Material) Filter Result

DataItem

Represents Data item

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

DeleteTemplateRequest

Message for deleting a Template

DetectionConfidenceLevel

Confidence levels for detectors. Higher value maps to a greater confidence level. To enforce stricter level a lower value should be used.

FilterConfig

Filters configuration.

FilterExecutionState

Enum which reports whether a specific filter executed successfully or not.

FilterMatchState

Option to specify filter match state.

FilterResult

Filter Result obtained after Sanitization operations.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

FloorSetting

Message describing FloorSetting resource

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

GetFloorSettingRequest

Message for getting a Floor Setting

GetTemplateRequest

Message for getting a Template

InvocationResult

A field indicating the outcome of the invocation, irrespective of match status.

ListTemplatesRequest

Message for requesting list of Templates

ListTemplatesResponse

Message for response to listing Templates

MaliciousUriFilterResult

Malicious URI Filter Result.

MaliciousUriFilterSettings

Malicious URI filter settings.

MessageItem

Message item to report information, warning or error messages.

MultiLanguageDetectionMetadata

Message for Enabling Multi Language Detection.

PiAndJailbreakFilterResult

Prompt injection and Jailbreak Filter Result.

PiAndJailbreakFilterSettings

Prompt injection and Jailbreak Filter settings.

RaiFilterResult

Responsible AI Result.

RaiFilterSettings

Responsible AI Filter settings.

RaiFilterType

Options for responsible AI Filter Types.

RangeInfo

Half-open range interval [start, end)

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

SanitizationResult

Sanitization result after applying all the filters on input content.

SanitizeModelResponseRequest

Sanitize Model Response request.

SanitizeModelResponseResponse

Sanitized Model Response Response.

SanitizeUserPromptRequest

Sanitize User Prompt request.

SanitizeUserPromptResponse

Sanitized User Prompt Response.

SdpAdvancedConfig

Sensitive Data Protection Advanced configuration.

SdpBasicConfig

Sensitive Data Protection basic configuration.

SdpDeidentifyResult

Sensitive Data Protection Deidentification Result.

SdpFilterResult

Sensitive Data Protection filter result.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

SdpFilterSettings

Sensitive Data Protection settings.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

SdpFinding

Finding corresponding to Sensitive Data Protection filter.

SdpFindingLikelihood

For more information about each Sensitive Data Protection likelihood level, see https://cloud.google.com/sensitive-data-protection/docs/likelihood.

SdpInspectResult

Sensitive Data Protection Inspection Result.

Template

Message describing Template resource

UpdateFloorSettingRequest

Message for Updating a Floor Setting

UpdateTemplateRequest

Message for updating a Template

VirusDetail

Details of an identified virus

VirusScanFilterResult

Virus scan results.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields