Google Cloud AlloyDB for PostgreSQL V1 Client - Class StringRestrictions (0.3.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
NameDescription
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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this