Google Cloud Asset V1 Client - Class StringValues (1.16.4)

Reference documentation and code samples for the Google Cloud Asset V1 Client class StringValues.

The string values for the list constraints.

Generated from protobuf message google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues

Namespace

Google \ Cloud \ Asset \ V1 \ AnalyzerOrgPolicy \ Rule

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ allowed_values array

List of values allowed at this resource.

↳ denied_values array

List of values denied at this resource.

getAllowedValues

List of values allowed at this resource.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAllowedValues

List of values allowed at this resource.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getDeniedValues

List of values denied at this resource.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDeniedValues

List of values denied at this resource.

Parameter
Name Description
var string[]
Returns
Type Description
$this