Google Cloud App Topology V1 Client - Class IntValue (0.2.0)

Reference documentation and code samples for the Google Cloud App Topology V1 Client class IntValue.

IntValue represents a property that has an integer value type.

Generated from protobuf message google.cloud.apptopology.v1.IntValue

Namespace

Google \ Cloud \ AppTopology \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ repeated bool

OPTIONAL Whether the property is repeated.

↳ allowed_values int[]|string[]

OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.

getRepeated

OPTIONAL Whether the property is repeated.

Returns
Type Description
bool

setRepeated

OPTIONAL Whether the property is repeated.

Parameter
Name Description
var bool
Returns
Type Description
$this

getAllowedValues

OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.

Returns
Type Description
Google\Protobuf\RepeatedField<int>|Google\Protobuf\RepeatedField<string>

setAllowedValues

OPTIONAL Allowed values for the property. If provided, the property value must be one of the allowed values.

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