# Cloud Functions V2 API - Class Google::Cloud::Functions::V2::StateMessage (v1.5.1)

1.5.1 (latest) 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.2 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.0 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Functions V2 API class Google::Cloud::Functions::V2::StateMessage.

Informational messages about the state of the Cloud Function or Operation.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #message

    def message() -> ::String

**Returns**

- (::String) --- The message.

### #message=

    def message=(value) -> ::String

**Parameter**

- **value** (::String) --- The message.
**Returns**

- (::String) --- The message.

### #severity

    def severity() -> ::Google::Cloud::Functions::V2::StateMessage::Severity

**Returns**

- ([::Google::Cloud::Functions::V2::StateMessage::Severity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-StateMessage-Severity)) --- Severity of the state message.

### #severity=

    def severity=(value) -> ::Google::Cloud::Functions::V2::StateMessage::Severity

**Parameter**

- **value** ([::Google::Cloud::Functions::V2::StateMessage::Severity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-StateMessage-Severity)) --- Severity of the state message.
**Returns**

- ([::Google::Cloud::Functions::V2::StateMessage::Severity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-StateMessage-Severity)) --- Severity of the state message.

### #type

    def type() -> ::String

**Returns**

- (::String) --- One-word CamelCase type of the state message.

### #type=

    def type=(value) -> ::String

**Parameter**

- **value** (::String) --- One-word CamelCase type of the state message.
**Returns**

- (::String) --- One-word CamelCase type of the state message.