Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::AttributeValues.
The attribute values associated with resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#attribute
def attribute() -> ::String
Returns
- (::String) — Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
#enum_values
def enum_values() -> ::Google::Cloud::ApiHub::V1::AttributeValues::EnumAttributeValues
Returns
- (::Google::Cloud::ApiHub::V1::AttributeValues::EnumAttributeValues) — The attribute values associated with a resource in case attribute data type is enum.
#enum_values=
def enum_values=(value) -> ::Google::Cloud::ApiHub::V1::AttributeValues::EnumAttributeValues
Parameter
- value (::Google::Cloud::ApiHub::V1::AttributeValues::EnumAttributeValues) — The attribute values associated with a resource in case attribute data type is enum.
Returns
- (::Google::Cloud::ApiHub::V1::AttributeValues::EnumAttributeValues) — The attribute values associated with a resource in case attribute data type is enum.
#json_values
def json_values() -> ::Google::Cloud::ApiHub::V1::AttributeValues::StringAttributeValues
Returns
- (::Google::Cloud::ApiHub::V1::AttributeValues::StringAttributeValues) — The attribute values associated with a resource in case attribute data type is JSON.
#json_values=
def json_values=(value) -> ::Google::Cloud::ApiHub::V1::AttributeValues::StringAttributeValues
Parameter
- value (::Google::Cloud::ApiHub::V1::AttributeValues::StringAttributeValues) — The attribute values associated with a resource in case attribute data type is JSON.
Returns
- (::Google::Cloud::ApiHub::V1::AttributeValues::StringAttributeValues) — The attribute values associated with a resource in case attribute data type is JSON.
#string_values
def string_values() -> ::Google::Cloud::ApiHub::V1::AttributeValues::StringAttributeValues
Returns
- (::Google::Cloud::ApiHub::V1::AttributeValues::StringAttributeValues) — The attribute values associated with a resource in case attribute data type is string.
#string_values=
def string_values=(value) -> ::Google::Cloud::ApiHub::V1::AttributeValues::StringAttributeValues
Parameter
- value (::Google::Cloud::ApiHub::V1::AttributeValues::StringAttributeValues) — The attribute values associated with a resource in case attribute data type is string.
Returns
- (::Google::Cloud::ApiHub::V1::AttributeValues::StringAttributeValues) — The attribute values associated with a resource in case attribute data type is string.