Summary of entries of Classes for google-cloud-modelarmor.
Classes
ModelArmorAsyncClient
Service describing handlers for resources
ModelArmorClient
Service describing handlers for resources
ListTemplatesAsyncPager
A pager for iterating through list_templates requests.
This class thinly wraps an initial
ListTemplatesResponse object, and
provides an __aiter__ method to iterate through its
templates field.
If there are more pages, the __aiter__ method will make additional
ListTemplates requests and continue to iterate
through the templates field on the
corresponding responses.
All the usual ListTemplatesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
ListTemplatesPager
A pager for iterating through list_templates requests.
This class thinly wraps an initial
ListTemplatesResponse object, and
provides an __iter__ method to iterate through its
templates field.
If there are more pages, the __iter__ method will make additional
ListTemplates requests and continue to iterate
through the templates field on the
corresponding responses.
All the usual ListTemplatesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
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.
ByteItemType
Option to specify the type of byte data.
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.
Dictionary
Message defining a custom dictionary of words or phrases for syntactic match.
Dictionary words are case-insensitive and all characters other than
letters and digits in the unicode Basic Multilingual
Plane <https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane>__
will be replaced with whitespace when scanning for matches. For
example, the dictionary phrase Sam Johnson will match all three
phrases sam johnson, Sam, Johnson, and Sam (Johnson).
Additionally, the characters surrounding any match must be of a
different type than the adjacent characters within the word, so
letters must be next to non-letters and digits must be next to
non-digits. For example, the dictionary word jen will match the
first three letters of the text jen123 but will return no
matches for jennifer.
Dictionary words containing a large number of characters that are
not letters or digits may result in unexpected matches because such
characters are treated as whitespace. For details about the size
limits of dictionaries, see Quotas and
limits <https://docs.cloud.google.com/model-armor/quotas>__.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
ExclusionRule
The rule that specifies conditions when filter detections are excluded from results.
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
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
FilterRule
A single rule to be applied to filters, specified in
FilterRuleSet.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
FilterRuleSet
A set of rules that modifies the behavior of specific filters based on the rules defined within the set.
FilterRuleSettings
Settings for customizing filter rules.
FilterVersionAlias
Enum for Filter Version Aliases. These aliases provide a way to always point to a specific track without needing to update the version in templates.
FilterVersionConfig
Message describing a Filter Version Configuration.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
FilterVersionSelector
Represents the configuration for selecting a Filter Version. Allows customers to choose to use either a specific version or a predefined alias.
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
FloorSettingMetadata
message describing FloorSetting Metadata
MultiLanguageDetection
Metadata to enable multi language detection via floor setting.
IntegratedService
Integrated service for which the floor setting is applicable.
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.
MaliciousUriMatchedItem
Information regarding malicious URI and its location within the input content.
MaliciousUriFilterSettings
Malicious URI filter settings.
MaliciousUriFilterEnforcement
Option to specify the state of Malicious URI filter (ENABLED/DISABLED).
MatchingScope
Defines the scope of the match for a rule.
Additional values may be added to this enum in the future.
- Dictionary: the dictionary match covers the
entire input content
- Regular expression: the regular expression
pattern matches the entire input content
MATCHING_SCOPE_PARTIAL_MATCH (2):
Partial match.
- Dictionary: at least one of the tokens in the
input content matches
- Regular expression: substring of the input
content matches the regular expression pattern
McpServerFloorSetting
Message describing MCP Server Floor Setting.
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
MessageItem
Message item to report information, warning or error messages.
MessageType
Option to specify the type of message.
Modality
This enum is used in the TemplateMetadata and FloorSettingMetadata messages to indicate the modality supported for sanitize API calls.
MultiLanguageDetectionMetadata
Message for Enabling Multi Language Detection.
PiAndJailbreakFilterResult
Prompt injection and Jailbreak Filter Result.
PiAndJailbreakFilterSettings
Prompt injection and Jailbreak Filter settings.
PiAndJailbreakFilterEnforcement
Option to specify the state of Prompt Injection and Jailbreak filter (ENABLED/DISABLED).
RaiFilterResult
Responsible AI Result.
RaiFilterTypeResult
Detailed Filter result for each of the responsible AI Filter Types.
RaiFilterTypeResultsEntry
The abstract base class for a message.
RaiFilterSettings
Responsible AI Filter settings.
RaiFilter
Responsible AI filter.
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
Regex
Message defining a custom regular expression.
RuleFilterType
Model Armor Filter types supported for rules.
SanitizationResult
Sanitization result after applying all the filters on input content.
FilterResultsEntry
The abstract base class for a message.
SanitizationMetadata
Message describing Sanitization metadata.
SanitizeModelResponseRequest
Sanitize Model Response request.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
SanitizeModelResponseResponse
Sanitized Model Response Response.
SanitizeUserPromptRequest
Sanitize User Prompt request.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
SanitizeUserPromptResponse
Sanitized User Prompt Response.
SdpAdvancedConfig
Sensitive Data Protection Advanced configuration.
SdpBasicConfig
Sensitive Data Protection basic configuration.
SdpBasicConfigEnforcement
Option to specify the state of Sensitive Data Protection basic config (ENABLED/DISABLED).
SdpContentLocation
Precise location of the finding within a document, record, image, or metadata container.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
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.
SdpFindingLocation
Location of this Sensitive Data Protection Finding within input content.
SdpFindingLikelihood
For more information about each Sensitive Data Protection likelihood level, see https://cloud.google.com/sensitive-data-protection/docs/likelihood.
SdpImageFindingLocation
Location of the finding within an image.
SdpBoundingBox
Bounding box encompassing a finding within an image.
SdpInspectResult
Sensitive Data Protection Inspection Result.
SdpRedactResult
Sensitive Data Protection Redaction Result.
StreamingMode
Streaming Mode for Sanitize* API.
Template
Message describing Template resource
LabelsEntry
The abstract base class for a message.
TemplateMetadata
Message describing TemplateMetadata
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
EnforcementType
Enforcement type for Model Armor filters.
MultiLanguageDetection
Metadata to enable multi language detection via template.
UpdateFloorSettingRequest
Message for Updating a Floor Setting
UpdateTemplateRequest
Message for updating a Template
VirusDetail
Details of an identified virus
ThreatType
Defines all the threat types of a virus
VirusScanFilterResult
Virus scan results.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
ScannedContentType
Type of content scanned.
WordList
Message defining a list of words or phrases.
ModelArmorAsyncClient
Service describing handlers for resources
ModelArmorClient
Service describing handlers for resources
ListTemplatesAsyncPager
A pager for iterating through list_templates requests.
This class thinly wraps an initial
ListTemplatesResponse object, and
provides an __aiter__ method to iterate through its
templates field.
If there are more pages, the __aiter__ method will make additional
ListTemplates requests and continue to iterate
through the templates field on the
corresponding responses.
All the usual ListTemplatesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
ListTemplatesPager
A pager for iterating through list_templates requests.
This class thinly wraps an initial
ListTemplatesResponse object, and
provides an __iter__ method to iterate through its
templates field.
If there are more pages, the __iter__ method will make additional
ListTemplates requests and continue to iterate
through the templates field on the
corresponding responses.
All the usual ListTemplatesResponse attributes are available on the pager. If multiple requests are made, only the most recent response is retained, and thus used for attribute lookup.
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.
ByteItemType
Option to specify the type of byte data.
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
FloorSettingMetadata
message describing FloorSetting Metadata
MultiLanguageDetection
Metadata to enable multi language detection via floor setting.
IntegratedService
Integrated service for which the floor setting is applicable.
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.
MaliciousUriMatchedItem
Information regarding malicious URI and its location within the input content.
MaliciousUriFilterSettings
Malicious URI filter settings.
MaliciousUriFilterEnforcement
Option to specify the state of Malicious URI filter (ENABLED/DISABLED).
McpServerFloorSetting
Message describing MCP Server Floor Setting.
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
MessageItem
Message item to report information, warning or error messages.
MessageType
Option to specify the type of message.
MultiLanguageDetectionMetadata
Message for Enabling Multi Language Detection.
PiAndJailbreakFilterResult
Prompt injection and Jailbreak Filter Result.
PiAndJailbreakFilterSettings
Prompt injection and Jailbreak Filter settings.
PiAndJailbreakFilterEnforcement
Option to specify the state of Prompt Injection and Jailbreak filter (ENABLED/DISABLED).
RaiFilterResult
Responsible AI Result.
RaiFilterTypeResult
Detailed Filter result for each of the responsible AI Filter Types.
RaiFilterTypeResultsEntry
The abstract base class for a message.
RaiFilterSettings
Responsible AI Filter settings.
RaiFilter
Responsible AI filter.
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.
FilterResultsEntry
The abstract base class for a message.
SanitizationMetadata
Message describing Sanitization metadata.
SanitizeModelResponseRequest
Sanitize Model Response request.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
SanitizeModelResponseResponse
Sanitized Model Response Response.
SanitizeUserPromptRequest
Sanitize User Prompt request.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
SanitizeUserPromptResponse
Sanitized User Prompt Response.
SdpAdvancedConfig
Sensitive Data Protection Advanced configuration.
SdpBasicConfig
Sensitive Data Protection basic configuration.
SdpBasicConfigEnforcement
Option to specify the state of Sensitive Data Protection basic config (ENABLED/DISABLED).
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.
SdpFindingLocation
Location of this Sensitive Data Protection Finding within input content.
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.
StreamingMode
Streaming Mode for Sanitize* API.
Template
Message describing Template resource
LabelsEntry
The abstract base class for a message.
TemplateMetadata
Message describing TemplateMetadata
EnforcementType
Enforcement type for Model Armor filters.
MultiLanguageDetection
Metadata to enable multi language detection via template.
UpdateFloorSettingRequest
Message for Updating a Floor Setting
UpdateTemplateRequest
Message for updating a Template
VirusDetail
Details of an identified virus
ThreatType
Defines all the threat types of a virus
VirusScanFilterResult
Virus scan results.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
ScannedContentType
Type of content scanned.
Modules
pagers
API documentation for modelarmor_v1.services.model_armor.pagers module.
pagers
API documentation for modelarmor_v1beta.services.model_armor.pagers module.