Classes
AiPlatformFloorSetting
message describing AiPlatformFloorSetting
ByteDataItem
Represents Byte Data item.
ByteDataItem.Types
Container for nested types declared in the ByteDataItem message type.
CreateTemplateRequest
Message for creating a Template
CsamFilterResult
CSAM (Child Safety Abuse Material) Filter Result
DataItem
Represents Data item
DeleteTemplateRequest
Message for deleting a Template
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
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.
ExclusionRule
The rule that specifies conditions when filter detections are excluded from results.
FilterConfig
Filters configuration.
FilterResult
Filter Result obtained after Sanitization operations.
FilterRule
A single rule to be applied to filters, specified in FilterRuleSet.
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.
FilterVersionConfig
Message describing a Filter Version Configuration.
FilterVersionSelector
Represents the configuration for selecting a Filter Version. Allows customers to choose to use either a specific version or a predefined alias.
FloorSetting
Message describing FloorSetting resource
FloorSetting.Types
Container for nested types declared in the FloorSetting message type.
FloorSetting.Types.FloorSettingMetadata
message describing FloorSetting Metadata
FloorSetting.Types.FloorSettingMetadata.Types
Container for nested types declared in the FloorSettingMetadata message type.
FloorSetting.Types.FloorSettingMetadata.Types.MultiLanguageDetection
Metadata to enable multi language detection via floor setting.
FloorSettingName
Resource name for the FloorSetting resource.
GetFloorSettingRequest
Message for getting a Floor Setting
GetTemplateRequest
Message for getting a Template
ListTemplatesRequest
Message for requesting list of Templates
ListTemplatesResponse
Message for response to listing Templates
MaliciousUriFilterResult
Malicious URI Filter Result.
MaliciousUriFilterResult.Types
Container for nested types declared in the MaliciousUriFilterResult message type.
MaliciousUriFilterResult.Types.MaliciousUriMatchedItem
Information regarding malicious URI and its location within the input content.
MaliciousUriFilterSettings
Malicious URI filter settings.
MaliciousUriFilterSettings.Types
Container for nested types declared in the MaliciousUriFilterSettings message type.
McpServerFloorSetting
Message describing MCP Server Floor Setting.
MessageItem
Message item to report information, warning or error messages.
MessageItem.Types
Container for nested types declared in the MessageItem message type.
ModelArmor
Service describing handlers for resources
ModelArmor.ModelArmorBase
Base class for server-side implementations of ModelArmor
ModelArmor.ModelArmorClient
Client for ModelArmor
ModelArmorClient
ModelArmor client wrapper, for convenient use.
ModelArmorClient.StreamSanitizeModelResponseStream
Bidirectional streaming methods for StreamSanitizeModelResponse(CallSettings, BidirectionalStreamingSettings).
ModelArmorClient.StreamSanitizeUserPromptStream
Bidirectional streaming methods for StreamSanitizeUserPrompt(CallSettings, BidirectionalStreamingSettings).
ModelArmorClientBuilder
Builder class for ModelArmorClient to provide simple configuration of credentials, endpoint etc.
ModelArmorClientImpl
ModelArmor client wrapper implementation, for convenient use.
ModelArmorSettings
Settings for ModelArmorClient instances.
MultiLanguageDetectionMetadata
Message for Enabling Multi Language Detection.
PiAndJailbreakFilterResult
Prompt injection and Jailbreak Filter Result.
PiAndJailbreakFilterSettings
Prompt injection and Jailbreak Filter settings.
PiAndJailbreakFilterSettings.Types
Container for nested types declared in the PiAndJailbreakFilterSettings message type.
RaiFilterResult
Responsible AI Result.
RaiFilterResult.Types
Container for nested types declared in the RaiFilterResult message type.
RaiFilterResult.Types.RaiFilterTypeResult
Detailed Filter result for each of the responsible AI Filter Types.
RaiFilterSettings
Responsible AI Filter settings.
RaiFilterSettings.Types
Container for nested types declared in the RaiFilterSettings message type.
RaiFilterSettings.Types.RaiFilter
Responsible AI filter.
RangeInfo
Half-open range interval [start, end)
Regex
Message defining a custom regular expression.
SanitizationResult
Sanitization result after applying all the filters on input content.
SanitizationResult.Types
Container for nested types declared in the SanitizationResult message type.
SanitizationResult.Types.SanitizationMetadata
Message describing Sanitization metadata.
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.
SdpBasicConfig.Types
Container for nested types declared in the SdpBasicConfig message type.
SdpContentLocation
Precise location of the finding within a document, record, image, or metadata container.
SdpDeidentifyResult
Sensitive Data Protection Deidentification Result.
SdpFilterResult
Sensitive Data Protection filter result.
SdpFilterSettings
Sensitive Data Protection settings.
SdpFinding
Finding corresponding to Sensitive Data Protection filter.
SdpFinding.Types
Container for nested types declared in the SdpFinding message type.
SdpFinding.Types.SdpFindingLocation
Location of this Sensitive Data Protection Finding within input content.
SdpImageFindingLocation
Location of the finding within an image.
SdpImageFindingLocation.Types
Container for nested types declared in the SdpImageFindingLocation message type.
SdpImageFindingLocation.Types.SdpBoundingBox
Bounding box encompassing a finding within an image.
SdpInspectResult
Sensitive Data Protection Inspection Result.
SdpRedactResult
Sensitive Data Protection Redaction Result.
Template
Message describing Template resource
Template.Types
Container for nested types declared in the Template message type.
Template.Types.TemplateMetadata
Message describing TemplateMetadata
Template.Types.TemplateMetadata.Types
Container for nested types declared in the TemplateMetadata message type.
Template.Types.TemplateMetadata.Types.MultiLanguageDetection
Metadata to enable multi language detection via template.
TemplateName
Resource name for the Template resource.
UpdateFloorSettingRequest
Message for Updating a Floor Setting
UpdateTemplateRequest
Message for updating a Template
VirusDetail
Details of an identified virus
VirusDetail.Types
Container for nested types declared in the VirusDetail message type.
VirusScanFilterResult
Virus scan results.
VirusScanFilterResult.Types
Container for nested types declared in the VirusScanFilterResult message type.
WordList
Message defining a list of words or phrases.
Enums
AiPlatformFloorSetting.EnforcementTypeOneofCase
Enum of possible cases for the "enforcement_type" oneof.
ByteDataItem.Types.ByteItemType
Option to specify the type of byte data.
DataItem.DataItemOneofCase
Enum of possible cases for the "data_item" oneof.
DetectionConfidenceLevel
Confidence levels for detectors. Higher value maps to a greater confidence level. To enforce stricter level a lower value should be used.
Dictionary.SourceOneofCase
Enum of possible cases for the "source" oneof.
ExclusionRule.TypeOneofCase
Enum of possible cases for the "type" oneof.
FilterExecutionState
Enum which reports whether a specific filter executed successfully or not.
FilterMatchState
Option to specify filter match state.
FilterResult.FilterResultOneofCase
Enum of possible cases for the "filter_result" oneof.
FilterRule.TypeOneofCase
Enum of possible cases for the "type" oneof.
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.
FilterVersionSelector.VersionSpecOneofCase
Enum of possible cases for the "version_spec" oneof.
FloorSetting.Types.IntegratedService
Integrated service for which the floor setting is applicable.
FloorSettingName.ResourceNameType
The possible contents of FloorSettingName.
InvocationResult
A field indicating the outcome of the invocation, irrespective of match status.
MaliciousUriFilterSettings.Types.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.
McpServerFloorSetting.EnforcementTypeOneofCase
Enum of possible cases for the "enforcement_type" oneof.
MessageItem.Types.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.
PiAndJailbreakFilterSettings.Types.PiAndJailbreakFilterEnforcement
Option to specify the state of Prompt Injection and Jailbreak filter (ENABLED/DISABLED).
RaiFilterType
Options for responsible AI Filter Types.
RuleFilterType
Model Armor Filter types supported for rules.
SdpBasicConfig.Types.SdpBasicConfigEnforcement
Option to specify the state of Sensitive Data Protection basic config (ENABLED/DISABLED).
SdpContentLocation.LocationOneofCase
Enum of possible cases for the "location" oneof.
SdpFilterResult.ResultOneofCase
Enum of possible cases for the "result" oneof.
SdpFilterSettings.SdpConfigurationOneofCase
Enum of possible cases for the "sdp_configuration" oneof.
SdpFindingLikelihood
For more information about each Sensitive Data Protection likelihood level, see https://cloud.google.com/sensitive-data-protection/docs/likelihood.
StreamingMode
Streaming Mode for Sanitize* API.
Template.Types.TemplateMetadata.Types.EnforcementType
Enforcement type for Model Armor filters.
TemplateName.ResourceNameType
The possible contents of TemplateName.
VirusDetail.Types.ThreatType
Defines all the threat types of a virus
VirusScanFilterResult.Types.ScannedContentType
Type of content scanned.