Reference documentation and code samples for the Google Cloud Api Hub V1 Client class AttributeValues.
The attribute values associated with resource.
Generated from protobuf message google.cloud.apihub.v1.AttributeValues
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ enum_values |
Google\Cloud\ApiHub\V1\AttributeValues\EnumAttributeValues
The attribute values associated with a resource in case attribute data type is enum. |
↳ string_values |
Google\Cloud\ApiHub\V1\AttributeValues\StringAttributeValues
The attribute values associated with a resource in case attribute data type is string. |
↳ json_values |
Google\Cloud\ApiHub\V1\AttributeValues\StringAttributeValues
The attribute values associated with a resource in case attribute data type is JSON. |
↳ attribute |
string
Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute} |
getEnumValues
The attribute values associated with a resource in case attribute data type is enum.
Returns | |
---|---|
Type | Description |
Google\Cloud\ApiHub\V1\AttributeValues\EnumAttributeValues|null |
hasEnumValues
setEnumValues
The attribute values associated with a resource in case attribute data type is enum.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\ApiHub\V1\AttributeValues\EnumAttributeValues
|
Returns | |
---|---|
Type | Description |
$this |
getStringValues
The attribute values associated with a resource in case attribute data type is string.
Returns | |
---|---|
Type | Description |
Google\Cloud\ApiHub\V1\AttributeValues\StringAttributeValues|null |
hasStringValues
setStringValues
The attribute values associated with a resource in case attribute data type is string.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\ApiHub\V1\AttributeValues\StringAttributeValues
|
Returns | |
---|---|
Type | Description |
$this |
getJsonValues
The attribute values associated with a resource in case attribute data type is JSON.
Returns | |
---|---|
Type | Description |
Google\Cloud\ApiHub\V1\AttributeValues\StringAttributeValues|null |
hasJsonValues
setJsonValues
The attribute values associated with a resource in case attribute data type is JSON.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\ApiHub\V1\AttributeValues\StringAttributeValues
|
Returns | |
---|---|
Type | Description |
$this |
getAttribute
Output only. The name of the attribute.
Format: projects/{project}/locations/{location}/attributes/{attribute}
Returns | |
---|---|
Type | Description |
string |
setAttribute
Output only. The name of the attribute.
Format: projects/{project}/locations/{location}/attributes/{attribute}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Returns | |
---|---|
Type | Description |
string |