# Cloud Build V2 API - Class Google::Cloud::Build::V2::ProcessWebhookRequest (v0.14.0)

0.14.0 (latest) 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 0.8.0 0.7.2 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::ProcessWebhookRequest.

RPC request object accepted by the ProcessWebhook RPC method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #body

    def body() -> ::Google::Api::HttpBody

**Returns**

- ([::Google::Api::HttpBody](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-build-v2/latest/Google-Api-HttpBody)) --- HTTP request body.

### #body=

    def body=(value) -> ::Google::Api::HttpBody

**Parameter**

- **value** ([::Google::Api::HttpBody](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-build-v2/latest/Google-Api-HttpBody)) --- HTTP request body.
**Returns**

- ([::Google::Api::HttpBody](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-build-v2/latest/Google-Api-HttpBody)) --- HTTP request body.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. Project and location where the webhook will be received. Format: `projects/*/locations/*`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Project and location where the webhook will be received. Format: `projects/*/locations/*`.
**Returns**

- (::String) --- Required. Project and location where the webhook will be received. Format: `projects/*/locations/*`.

### #webhook_key

    def webhook_key() -> ::String

**Returns**

- (::String) --- Arbitrary additional key to find the maching repository for a webhook event if needed.

### #webhook_key=

    def webhook_key=(value) -> ::String

**Parameter**

- **value** (::String) --- Arbitrary additional key to find the maching repository for a webhook event if needed.
**Returns**

- (::String) --- Arbitrary additional key to find the maching repository for a webhook event if needed.