Google Cloud Api Hub V1 Client - Class EnumAttributeValues (0.2.0)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class EnumAttributeValues.

The attribute values of data type enum.

Generated from protobuf message google.cloud.apihub.v1.AttributeValues.EnumAttributeValues

Namespace

Google \ Cloud \ ApiHub \ V1 \ AttributeValues

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ valuesarray<Google\Cloud\ApiHub\V1\Attribute\AllowedValue>

Required. The attribute values in case attribute data type is enum.

getValues

Required. The attribute values in case attribute data type is enum.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValues

Required. The attribute values in case attribute data type is enum.

Parameter
NameDescription
vararray<Google\Cloud\ApiHub\V1\Attribute\AllowedValue>
Returns
TypeDescription
$this