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 \ AttributeValuesMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ values |
array<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 | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setValues
Required. The attribute values in case attribute data type is enum.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\ApiHub\V1\Attribute\AllowedValue>
|
Returns | |
---|---|
Type | Description |
$this |