Reference documentation and code samples for the Google Cloud Model Armor V1 Client class MaliciousUriMatchedItem.
Information regarding malicious URI and its ___location within the input content.
Generated from protobuf message google.cloud.modelarmor.v1.MaliciousUriFilterResult.MaliciousUriMatchedItem
Namespace
Google \ Cloud \ ModelArmor \ V1 \ MaliciousUriFilterResultMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ uri |
string
Malicious URI. |
↳ locations |
array<Google\Cloud\ModelArmor\V1\RangeInfo>
List of locations where Malicious URI is identified. The |
getUri
Malicious URI.
Returns | |
---|---|
Type | Description |
string |
setUri
Malicious URI.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getLocations
List of locations where Malicious URI is identified.
The locations
field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setLocations
List of locations where Malicious URI is identified.
The locations
field is supported only for plaintext content i.e.
ByteItemType.PLAINTEXT_UTF8
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\ModelArmor\V1\RangeInfo>
|
Returns | |
---|---|
Type | Description |
$this |