RPC request object accepted by the ProcessWebhook RPC method.
Fields
parent
Required. Project and location where the webhook will be received.
Format: projects/*/locations/*.
body
HTTP request body.
webhook_key
Arbitrary additional key to find the maching repository for a webhook event if needed.
Implementations
new
fn new() -> Self
set_parent
fn set_parent<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [parent][crate::model::ProcessWebhookRequest::parent].
set_body
fn set_body<T>(self, v: T) -> Self
where
T: std::convert::Into<api::model::HttpBody>,
Sets the value of [body][crate::model::ProcessWebhookRequest::body].
set_or_clear_body
fn set_or_clear_body<T>(self, v: std::option::Option<T>) -> Self
where
T: std::convert::Into<api::model::HttpBody>,
Sets or clears the value of [body][crate::model::ProcessWebhookRequest::body].
set_webhook_key
fn set_webhook_key<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [webhook_key][crate::model::ProcessWebhookRequest::webhook_key].