# Apigee Connect V1 API - Class Google::Cloud::ApigeeConnect::V1::Payload (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Apigee Connect V1 API class Google::Cloud::ApigeeConnect::V1::Payload.

Payload for EgressRequest.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #action

    def action() -> ::Google::Cloud::ApigeeConnect::V1::Action

**Returns**

- ([::Google::Cloud::ApigeeConnect::V1::Action](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_connect-v1/latest/Google-Cloud-ApigeeConnect-V1-Action)) --- The action taken by agent.


  Note: The following fields are mutually exclusive: `action`, `http_request`, `stream_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #action=

    def action=(value) -> ::Google::Cloud::ApigeeConnect::V1::Action

**Parameter**

- **value** ([::Google::Cloud::ApigeeConnect::V1::Action](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_connect-v1/latest/Google-Cloud-ApigeeConnect-V1-Action)) --- The action taken by agent.


  Note: The following fields are mutually exclusive: `action`, `http_request`, `stream_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::ApigeeConnect::V1::Action](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_connect-v1/latest/Google-Cloud-ApigeeConnect-V1-Action)) --- The action taken by agent.


  Note: The following fields are mutually exclusive: `action`, `http_request`, `stream_info`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #http_request

    def http_request() -> ::Google::Cloud::ApigeeConnect::V1::HttpRequest

**Returns**

- ([::Google::Cloud::ApigeeConnect::V1::HttpRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_connect-v1/latest/Google-Cloud-ApigeeConnect-V1-HttpRequest)) --- The HttpRequest proto.


  Note: The following fields are mutually exclusive: `http_request`, `stream_info`, `action`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #http_request=

    def http_request=(value) -> ::Google::Cloud::ApigeeConnect::V1::HttpRequest

**Parameter**

- **value** ([::Google::Cloud::ApigeeConnect::V1::HttpRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_connect-v1/latest/Google-Cloud-ApigeeConnect-V1-HttpRequest)) --- The HttpRequest proto.


  Note: The following fields are mutually exclusive: `http_request`, `stream_info`, `action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::ApigeeConnect::V1::HttpRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_connect-v1/latest/Google-Cloud-ApigeeConnect-V1-HttpRequest)) --- The HttpRequest proto.


  Note: The following fields are mutually exclusive: `http_request`, `stream_info`, `action`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #stream_info

    def stream_info() -> ::Google::Cloud::ApigeeConnect::V1::StreamInfo

**Returns**

- ([::Google::Cloud::ApigeeConnect::V1::StreamInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_connect-v1/latest/Google-Cloud-ApigeeConnect-V1-StreamInfo)) --- The information of stream.


  Note: The following fields are mutually exclusive: `stream_info`, `http_request`, `action`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #stream_info=

    def stream_info=(value) -> ::Google::Cloud::ApigeeConnect::V1::StreamInfo

**Parameter**

- **value** ([::Google::Cloud::ApigeeConnect::V1::StreamInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_connect-v1/latest/Google-Cloud-ApigeeConnect-V1-StreamInfo)) --- The information of stream.


  Note: The following fields are mutually exclusive: `stream_info`, `http_request`, `action`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::ApigeeConnect::V1::StreamInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_connect-v1/latest/Google-Cloud-ApigeeConnect-V1-StreamInfo)) --- The information of stream.


  Note: The following fields are mutually exclusive: `stream_info`, `http_request`, `action`. If a field in that set is populated, all other fields in the set will automatically be cleared.