Reference documentation and code samples for the Data Loss Prevention V2 Client class LocationSupport.
Locations at which a feature can be used.
Generated from protobuf message google.privacy.dlp.v2.LocationSupport
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ regionalization_scope |
int
The current scope for location on this feature. This may expand over time. |
↳ locations |
array
Specific locations where the feature may be used. Examples: us-central1, us, asia, global If scope is ANY_LOCATION, no regions will be listed. |
getRegionalizationScope
The current scope for location on this feature. This may expand over time.
Returns | |
---|---|
Type | Description |
int |
Enum of type RegionalizationScope. |
setRegionalizationScope
The current scope for location on this feature. This may expand over time.
Parameter | |
---|---|
Name | Description |
var |
int
Enum of type RegionalizationScope. |
Returns | |
---|---|
Type | Description |
$this |
getLocations
Specific locations where the feature may be used.
Examples: us-central1, us, asia, global If scope is ANY_LOCATION, no regions will be listed.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setLocations
Specific locations where the feature may be used.
Examples: us-central1, us, asia, global If scope is ANY_LOCATION, no regions will be listed.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |