Google Cloud Asset V1 Client - Class StringValues (1.14.1)

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAllowedValues

List of values allowed at this resource.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getDeniedValues

List of values denied at this resource.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDeniedValues

List of values denied at this resource.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this