Reference documentation and code samples for the Google Cloud Model Armor V1beta Client class SdpFindingLocation.
Location of this Sensitive Data Protection Finding within input content.
Generated from protobuf message google.cloud.modelarmor.v1beta.SdpFinding.SdpFindingLocation
Namespace
Google \ Cloud \ ModelArmor \ V1beta \ SdpFindingMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ byte_range |
Google\Cloud\ModelArmor\V1beta\RangeInfo
Zero-based byte offsets delimiting the finding. These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. |
↳ codepoint_range |
Google\Cloud\ModelArmor\V1beta\RangeInfo
Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text. |
getByteRange
Zero-based byte offsets delimiting the finding.
These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\ModelArmor\V1beta\RangeInfo|null |
|
hasByteRange
clearByteRange
setByteRange
Zero-based byte offsets delimiting the finding.
These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\ModelArmor\V1beta\RangeInfo
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCodepointRange
Unicode character offsets delimiting the finding.
These are relative to the finding's containing element. Provided when the content is text.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\ModelArmor\V1beta\RangeInfo|null |
|
hasCodepointRange
clearCodepointRange
setCodepointRange
Unicode character offsets delimiting the finding.
These are relative to the finding's containing element. Provided when the content is text.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\ModelArmor\V1beta\RangeInfo
|
| Returns | |
|---|---|
| Type | Description |
$this |
|