pub struct TriggerPubsubExecutionRequest {
pub gcp_cloud_events_mode: Option<String>,
pub delivery_attempt: Option<i32>,
pub message: Option<PubsubMessage>,
pub subscription: Option<String>,
}
Expand description
Request for the TriggerPubsubExecution method.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§gcp_cloud_events_mode: Option<String>
Required. LINT: LEGACY_NAMES The query parameter value for __GCP_CloudEventsMode, set by the Eventarc service when configuring triggers.
delivery_attempt: Option<i32>
The number of attempts that have been made to deliver this message. This is set by Pub/Sub for subscriptions that have the “dead letter” feature enabled, and hence provided here for compatibility, but is ignored by Workflows.
message: Option<PubsubMessage>
Required. The message of the Pub/Sub push notification.
subscription: Option<String>
Required. The subscription of the Pub/Sub push notification. Format: projects/{project}/subscriptions/{sub}
Trait Implementations§
Source§impl Clone for TriggerPubsubExecutionRequest
impl Clone for TriggerPubsubExecutionRequest
Source§fn clone(&self) -> TriggerPubsubExecutionRequest
fn clone(&self) -> TriggerPubsubExecutionRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for TriggerPubsubExecutionRequest
impl Default for TriggerPubsubExecutionRequest
Source§fn default() -> TriggerPubsubExecutionRequest
fn default() -> TriggerPubsubExecutionRequest
Source§impl<'de> Deserialize<'de> for TriggerPubsubExecutionRequest
impl<'de> Deserialize<'de> for TriggerPubsubExecutionRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for TriggerPubsubExecutionRequest
Auto Trait Implementations§
impl Freeze for TriggerPubsubExecutionRequest
impl RefUnwindSafe for TriggerPubsubExecutionRequest
impl Send for TriggerPubsubExecutionRequest
impl Sync for TriggerPubsubExecutionRequest
impl Unpin for TriggerPubsubExecutionRequest
impl UnwindSafe for TriggerPubsubExecutionRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more