Google Cloud AlloyDB for PostgreSQL V1 Client - Class StringRestrictions (1.1.0)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class StringRestrictions.

Restrictions on STRING type values

Generated from protobuf message google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions

Namespace

Google \ Cloud \ AlloyDb \ V1 \ SupportedDatabaseFlag

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ allowed_values array

The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.

getAllowedValues

The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAllowedValues

The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.

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