API hub V1 API - Class Google::Cloud::ApiHub::V1::ConfigVariable (v0.6.0)

Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::ConfigVariable.

ConfigVariable represents a additional configuration variable present in a PluginInstance Config or AuthConfig, based on a ConfigVariableTemplate.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bool_value

def bool_value() -> ::Boolean
Returns
  • (::Boolean) — Optional. The config variable value in case of config variable of type boolean.

    Note: The following fields are mutually exclusive: bool_value, string_value, int_value, secret_value, enum_value, multi_select_values, multi_string_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#bool_value=

def bool_value=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. The config variable value in case of config variable of type boolean.

    Note: The following fields are mutually exclusive: bool_value, string_value, int_value, secret_value, enum_value, multi_select_values, multi_string_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Boolean) — Optional. The config variable value in case of config variable of type boolean.

    Note: The following fields are mutually exclusive: bool_value, string_value, int_value, secret_value, enum_value, multi_select_values, multi_string_values, multi_int_values. 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::ApiHub::V1::ConfigValueOption
Returns
  • (::Google::Cloud::ApiHub::V1::ConfigValueOption) — Optional. The config variable value in case of config variable of type enum.

    Note: The following fields are mutually exclusive: enum_value, string_value, int_value, bool_value, secret_value, multi_select_values, multi_string_values, multi_int_values. 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::ApiHub::V1::ConfigValueOption
Parameter
  • value (::Google::Cloud::ApiHub::V1::ConfigValueOption) — Optional. The config variable value in case of config variable of type enum.

    Note: The following fields are mutually exclusive: enum_value, string_value, int_value, bool_value, secret_value, multi_select_values, multi_string_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ApiHub::V1::ConfigValueOption) — Optional. The config variable value in case of config variable of type enum.

    Note: The following fields are mutually exclusive: enum_value, string_value, int_value, bool_value, secret_value, multi_select_values, multi_string_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#int_value

def int_value() -> ::Integer
Returns
  • (::Integer) — Optional. The config variable value in case of config variable of type integer.

    Note: The following fields are mutually exclusive: int_value, string_value, bool_value, secret_value, enum_value, multi_select_values, multi_string_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#int_value=

def int_value=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The config variable value in case of config variable of type integer.

    Note: The following fields are mutually exclusive: int_value, string_value, bool_value, secret_value, enum_value, multi_select_values, multi_string_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Integer) — Optional. The config variable value in case of config variable of type integer.

    Note: The following fields are mutually exclusive: int_value, string_value, bool_value, secret_value, enum_value, multi_select_values, multi_string_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#key

def key() -> ::String
Returns
  • (::String) — Output only. Key will be the id to uniquely identify the config variable.

#multi_int_values

def multi_int_values() -> ::Google::Cloud::ApiHub::V1::ConfigVariable::MultiIntValues
Returns
  • (::Google::Cloud::ApiHub::V1::ConfigVariable::MultiIntValues) — Optional. The config variable value in case of config variable of type multi integer.

    Note: The following fields are mutually exclusive: multi_int_values, string_value, int_value, bool_value, secret_value, enum_value, multi_select_values, multi_string_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#multi_int_values=

def multi_int_values=(value) -> ::Google::Cloud::ApiHub::V1::ConfigVariable::MultiIntValues
Parameter
  • value (::Google::Cloud::ApiHub::V1::ConfigVariable::MultiIntValues) — Optional. The config variable value in case of config variable of type multi integer.

    Note: The following fields are mutually exclusive: multi_int_values, string_value, int_value, bool_value, secret_value, enum_value, multi_select_values, multi_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::ConfigVariable::MultiIntValues) — Optional. The config variable value in case of config variable of type multi integer.

    Note: The following fields are mutually exclusive: multi_int_values, string_value, int_value, bool_value, secret_value, enum_value, multi_select_values, multi_string_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#multi_select_values

def multi_select_values() -> ::Google::Cloud::ApiHub::V1::ConfigVariable::MultiSelectValues
Returns
  • (::Google::Cloud::ApiHub::V1::ConfigVariable::MultiSelectValues) — Optional. The config variable value in case of config variable of type multi select.

    Note: The following fields are mutually exclusive: multi_select_values, string_value, int_value, bool_value, secret_value, enum_value, multi_string_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#multi_select_values=

def multi_select_values=(value) -> ::Google::Cloud::ApiHub::V1::ConfigVariable::MultiSelectValues
Parameter
  • value (::Google::Cloud::ApiHub::V1::ConfigVariable::MultiSelectValues) — Optional. The config variable value in case of config variable of type multi select.

    Note: The following fields are mutually exclusive: multi_select_values, string_value, int_value, bool_value, secret_value, enum_value, multi_string_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ApiHub::V1::ConfigVariable::MultiSelectValues) — Optional. The config variable value in case of config variable of type multi select.

    Note: The following fields are mutually exclusive: multi_select_values, string_value, int_value, bool_value, secret_value, enum_value, multi_string_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#multi_string_values

def multi_string_values() -> ::Google::Cloud::ApiHub::V1::ConfigVariable::MultiStringValues
Returns
  • (::Google::Cloud::ApiHub::V1::ConfigVariable::MultiStringValues) — Optional. The config variable value in case of config variable of type multi string.

    Note: The following fields are mutually exclusive: multi_string_values, string_value, int_value, bool_value, secret_value, enum_value, multi_select_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#multi_string_values=

def multi_string_values=(value) -> ::Google::Cloud::ApiHub::V1::ConfigVariable::MultiStringValues
Parameter
  • value (::Google::Cloud::ApiHub::V1::ConfigVariable::MultiStringValues) — Optional. The config variable value in case of config variable of type multi string.

    Note: The following fields are mutually exclusive: multi_string_values, string_value, int_value, bool_value, secret_value, enum_value, multi_select_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ApiHub::V1::ConfigVariable::MultiStringValues) — Optional. The config variable value in case of config variable of type multi string.

    Note: The following fields are mutually exclusive: multi_string_values, string_value, int_value, bool_value, secret_value, enum_value, multi_select_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#secret_value

def secret_value() -> ::Google::Cloud::ApiHub::V1::Secret
Returns
  • (::Google::Cloud::ApiHub::V1::Secret) — Optional. The config variable value in case of config variable of type secret.

    Note: The following fields are mutually exclusive: secret_value, string_value, int_value, bool_value, enum_value, multi_select_values, multi_string_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

#secret_value=

def secret_value=(value) -> ::Google::Cloud::ApiHub::V1::Secret
Parameter
  • value (::Google::Cloud::ApiHub::V1::Secret) — Optional. The config variable value in case of config variable of type secret.

    Note: The following fields are mutually exclusive: secret_value, string_value, int_value, bool_value, enum_value, multi_select_values, multi_string_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::ApiHub::V1::Secret) — Optional. The config variable value in case of config variable of type secret.

    Note: The following fields are mutually exclusive: secret_value, string_value, int_value, bool_value, enum_value, multi_select_values, multi_string_values, multi_int_values. 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) — Optional. The config variable value in case of config variable of type string.

    Note: The following fields are mutually exclusive: string_value, int_value, bool_value, secret_value, enum_value, multi_select_values, multi_string_values, multi_int_values. 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) — Optional. The config variable value in case of config variable of type string.

    Note: The following fields are mutually exclusive: string_value, int_value, bool_value, secret_value, enum_value, multi_select_values, multi_string_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. The config variable value in case of config variable of type string.

    Note: The following fields are mutually exclusive: string_value, int_value, bool_value, secret_value, enum_value, multi_select_values, multi_string_values, multi_int_values. If a field in that set is populated, all other fields in the set will automatically be cleared.