# Cloud Channel V1 API - Class Google::Cloud::Channel::V1::Value (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.1 2.3.0 2.2.1 2.1.0 2.0.1 1.3.0 1.2.0 1.1.0 1.0.1 0.24.0 0.23.2 0.22.1 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.5 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-channel-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-channel-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-channel-v1/latest/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.