API hub V1 API - Class Google::Cloud::ApiHub::V1::AttributeValues (v0.4.0)

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.

    Note: The following fields are mutually exclusive: enum_values, string_values, json_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: enum_values, string_values, json_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ApiHub::V1::AttributeValues::EnumAttributeValues) — The attribute values associated with a resource in case attribute data type is enum.

    Note: The following fields are mutually exclusive: enum_values, string_values, json_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: json_values, enum_values, string_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: json_values, enum_values, string_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ApiHub::V1::AttributeValues::StringAttributeValues) — The attribute values associated with a resource in case attribute data type is JSON.

    Note: The following fields are mutually exclusive: json_values, enum_values, string_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: string_values, enum_values, json_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: string_values, enum_values, json_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ApiHub::V1::AttributeValues::StringAttributeValues) — The attribute values associated with a resource in case attribute data type is string.

    Note: The following fields are mutually exclusive: string_values, enum_values, json_values. If a field in that set is populated, all other fields in the set will automatically be cleared.