Google Cloud Model Armor V1 Client - Class SdpFindingLocation (0.4.0)

Reference documentation and code samples for the Google Cloud Model Armor V1 Client class SdpFindingLocation.

Location of this Sensitive Data Protection Finding within input content.

Generated from protobuf message google.cloud.modelarmor.v1.SdpFinding.SdpFindingLocation

Namespace

Google \ Cloud \ ModelArmor \ V1 \ SdpFinding

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ byte_range
Google\Cloud\ModelArmor\V1\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\V1\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

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
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

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
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: