Google Cloud Api Hub V1 Client - Class AttributeValues (0.1.4)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ enum_values
AttributeValues\EnumAttributeValues

The attribute values associated with a resource in case attribute data type is enum.

↳ string_values
AttributeValues\StringAttributeValues

The attribute values associated with a resource in case attribute data type is string.

↳ json_values
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

hasEnumValues

setEnumValues

The attribute values associated with a resource in case attribute data type is enum.

Parameter
Name
Description
Returns
Type
Description
$this

getStringValues

The attribute values associated with a resource in case attribute data type is string.

Returns
Type
Description

hasStringValues

setStringValues

The attribute values associated with a resource in case attribute data type is string.

Parameter
Name
Description
Returns
Type
Description
$this

getJsonValues

The attribute values associated with a resource in case attribute data type is JSON.

Returns
Type
Description

hasJsonValues

setJsonValues

The attribute values associated with a resource in case attribute data type is JSON.

Parameter
Name
Description
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
Create a Mobile Website
View Site in Mobile | Classic
Share by: