# Cloud Functions V2 API - Class Google::Cloud::Functions::V2::Stage (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::Stage.

Each Stage of the deployment process

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #message

    def message() -> ::String

**Returns**

- (::String) --- Message describing the Stage

### #message=

    def message=(value) -> ::String

**Parameter**

- **value** (::String) --- Message describing the Stage
**Returns**

- (::String) --- Message describing the Stage

### #name

    def name() -> ::Google::Cloud::Functions::V2::Stage::Name

**Returns**

- ([::Google::Cloud::Functions::V2::Stage::Name](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-Stage-Name)) --- Name of the Stage. This will be unique for each Stage.

### #name=

    def name=(value) -> ::Google::Cloud::Functions::V2::Stage::Name

**Parameter**

- **value** ([::Google::Cloud::Functions::V2::Stage::Name](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-Stage-Name)) --- Name of the Stage. This will be unique for each Stage.
**Returns**

- ([::Google::Cloud::Functions::V2::Stage::Name](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-Stage-Name)) --- Name of the Stage. This will be unique for each Stage.

### #resource

    def resource() -> ::String

**Returns**

- (::String) --- Resource of the Stage

### #resource=

    def resource=(value) -> ::String

**Parameter**

- **value** (::String) --- Resource of the Stage
**Returns**

- (::String) --- Resource of the Stage

### #resource_uri

    def resource_uri() -> ::String

**Returns**

- (::String) --- Link to the current Stage resource

### #resource_uri=

    def resource_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- Link to the current Stage resource
**Returns**

- (::String) --- Link to the current Stage resource

### #state

    def state() -> ::Google::Cloud::Functions::V2::Stage::State

**Returns**

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

### #state=

    def state=(value) -> ::Google::Cloud::Functions::V2::Stage::State

**Parameter**

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

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

### #state_messages

    def state_messages() -> ::Array<::Google::Cloud::Functions::V2::StateMessage>

**Returns**

- (::Array\<[::Google::Cloud::Functions::V2::StateMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-StateMessage)\>) --- State messages from the current Stage.

### #state_messages=

    def state_messages=(value) -> ::Array<::Google::Cloud::Functions::V2::StateMessage>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Functions::V2::StateMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-StateMessage)\>) --- State messages from the current Stage.
**Returns**

- (::Array\<[::Google::Cloud::Functions::V2::StateMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-functions-v2/latest/Google-Cloud-Functions-V2-StateMessage)\>) --- State messages from the current Stage.