Resource Settings V1 API - Class Google::Cloud::ResourceSettings::V1::Value (v1.2.0)

Reference documentation and code samples for the Resource Settings V1 API class Google::Cloud::ResourceSettings::V1::Value.

The data in a setting value.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#boolean_value

def boolean_value() -> ::Boolean
Returns
  • (::Boolean) — Defines this value as being a boolean value.

    Note: The following fields are mutually exclusive: boolean_value, string_value, string_set_value, enum_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#boolean_value=

def boolean_value=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Defines this value as being a boolean value.

    Note: The following fields are mutually exclusive: boolean_value, string_value, string_set_value, enum_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Boolean) — Defines this value as being a boolean value.

    Note: The following fields are mutually exclusive: boolean_value, string_value, string_set_value, enum_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#enum_value

def enum_value() -> ::Google::Cloud::ResourceSettings::V1::Value::EnumValue
Returns
  • (::Google::Cloud::ResourceSettings::V1::Value::EnumValue) — Defines this value as being a Enum.

    Note: The following fields are mutually exclusive: enum_value, boolean_value, string_value, string_set_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#enum_value=

def enum_value=(value) -> ::Google::Cloud::ResourceSettings::V1::Value::EnumValue
Parameter
  • value (::Google::Cloud::ResourceSettings::V1::Value::EnumValue) — Defines this value as being a Enum.

    Note: The following fields are mutually exclusive: enum_value, boolean_value, string_value, string_set_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ResourceSettings::V1::Value::EnumValue) — Defines this value as being a Enum.

    Note: The following fields are mutually exclusive: enum_value, boolean_value, string_value, string_set_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#string_set_value

def string_set_value() -> ::Google::Cloud::ResourceSettings::V1::Value::StringSet
Returns
  • (::Google::Cloud::ResourceSettings::V1::Value::StringSet) — Defines this value as being a StringSet.

    Note: The following fields are mutually exclusive: string_set_value, boolean_value, string_value, enum_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#string_set_value=

def string_set_value=(value) -> ::Google::Cloud::ResourceSettings::V1::Value::StringSet
Parameter
  • value (::Google::Cloud::ResourceSettings::V1::Value::StringSet) — Defines this value as being a StringSet.

    Note: The following fields are mutually exclusive: string_set_value, boolean_value, string_value, enum_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ResourceSettings::V1::Value::StringSet) — Defines this value as being a StringSet.

    Note: The following fields are mutually exclusive: string_set_value, boolean_value, string_value, enum_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#string_value

def string_value() -> ::String
Returns
  • (::String) — Defines this value as being a string value.

    Note: The following fields are mutually exclusive: string_value, boolean_value, string_set_value, enum_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#string_value=

def string_value=(value) -> ::String
Parameter
  • value (::String) — Defines this value as being a string value.

    Note: The following fields are mutually exclusive: string_value, boolean_value, string_set_value, enum_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Defines this value as being a string value.

    Note: The following fields are mutually exclusive: string_value, boolean_value, string_set_value, enum_value. If a field in that set is populated, all other fields in the set will automatically be cleared.