Reference documentation and code samples for the Google Cloud Model Armor V1beta Client class SanitizationMetadata.
Message describing Sanitization metadata.
Generated from protobuf message google.cloud.modelarmor.v1beta.SanitizationResult.SanitizationMetadata
Namespace
Google \ Cloud \ ModelArmor \ V1beta \ SanitizationResultMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ error_code |
int|string
Error code if any. |
↳ error_message |
string
Error message if any. |
↳ ignore_partial_invocation_failures |
bool
Passthrough field defined in TemplateMetadata to indicate whether to ignore partial invocation failures. |
getErrorCode
Error code if any.
Returns | |
---|---|
Type | Description |
int|string |
setErrorCode
Error code if any.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getErrorMessage
Error message if any.
Returns | |
---|---|
Type | Description |
string |
setErrorMessage
Error message if any.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getIgnorePartialInvocationFailures
Passthrough field defined in TemplateMetadata to indicate whether to ignore partial invocation failures.
Returns | |
---|---|
Type | Description |
bool |
setIgnorePartialInvocationFailures
Passthrough field defined in TemplateMetadata to indicate whether to ignore partial invocation failures.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |