Cloud Channel V1 API - Class Google::Cloud::Channel::V1::Value (v1.3.0)

Reference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::Value.

Data type and value of a parameter.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bool_value

def bool_value() -> ::Boolean
Returns
  • (::Boolean) — Represents a boolean value.

    Note: The following fields are mutually exclusive: bool_value, int64_value, string_value, double_value, proto_value. 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) — Represents a boolean value.

    Note: The following fields are mutually exclusive: bool_value, int64_value, string_value, double_value, proto_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Boolean) — Represents a boolean value.

    Note: The following fields are mutually exclusive: bool_value, int64_value, string_value, double_value, proto_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#double_value

def double_value() -> ::Float
Returns
  • (::Float) — Represents a double value.

    Note: The following fields are mutually exclusive: double_value, int64_value, string_value, proto_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#double_value=

def double_value=(value) -> ::Float
Parameter
  • value (::Float) — Represents a double value.

    Note: The following fields are mutually exclusive: double_value, int64_value, string_value, proto_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Float) — Represents a double value.

    Note: The following fields are mutually exclusive: double_value, int64_value, string_value, proto_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#int64_value

def int64_value() -> ::Integer
Returns
  • (::Integer) — Represents an int64 value.

    Note: The following fields are mutually exclusive: int64_value, string_value, double_value, proto_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#int64_value=

def int64_value=(value) -> ::Integer
Parameter
  • value (::Integer) — Represents an int64 value.

    Note: The following fields are mutually exclusive: int64_value, string_value, double_value, proto_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Integer) — Represents an int64 value.

    Note: The following fields are mutually exclusive: int64_value, string_value, double_value, proto_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#proto_value

def proto_value() -> ::Google::Protobuf::Any
Returns
  • (::Google::Protobuf::Any) — Represents an 'Any' proto value.

    Note: The following fields are mutually exclusive: proto_value, int64_value, string_value, double_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

#proto_value=

def proto_value=(value) -> ::Google::Protobuf::Any
Parameter
  • value (::Google::Protobuf::Any) — Represents an 'Any' proto value.

    Note: The following fields are mutually exclusive: proto_value, int64_value, string_value, double_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Protobuf::Any) — Represents an 'Any' proto value.

    Note: The following fields are mutually exclusive: proto_value, int64_value, string_value, double_value, bool_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) — Represents a string value.

    Note: The following fields are mutually exclusive: string_value, int64_value, double_value, proto_value, bool_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) — Represents a string value.

    Note: The following fields are mutually exclusive: string_value, int64_value, double_value, proto_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Represents a string value.

    Note: The following fields are mutually exclusive: string_value, int64_value, double_value, proto_value, bool_value. If a field in that set is populated, all other fields in the set will automatically be cleared.