Class: Google::Cloud::Channel::V1::Value

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/channel/v1/common.rb

Overview

Data type and value of a parameter.

Instance Attribute Summary collapse

Instance Attribute Details

#bool_value::Boolean

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



150
151
152
153
# File 'proto_docs/google/cloud/channel/v1/common.rb', line 150

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#double_value::Float

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



150
151
152
153
# File 'proto_docs/google/cloud/channel/v1/common.rb', line 150

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#int64_value::Integer

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



150
151
152
153
# File 'proto_docs/google/cloud/channel/v1/common.rb', line 150

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#proto_value::Google::Protobuf::Any

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



150
151
152
153
# File 'proto_docs/google/cloud/channel/v1/common.rb', line 150

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#string_value::String

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



150
151
152
153
# File 'proto_docs/google/cloud/channel/v1/common.rb', line 150

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end