Struct google_eventarc1::api::CloudRun
source · pub struct CloudRun {
pub path: Option<String>,
pub region: Option<String>,
pub service: Option<String>,
}
Expand description
Represents a Cloud Run destination.
This type is not used in any activity, and only used as part of another schema.
Fields§
§path: Option<String>
Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: “/route”, “route”, “route/subroute”.
region: Option<String>
Required. The region the Cloud Run service is deployed in.
service: Option<String>
Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project as the trigger object can be addressed.
Trait Implementations§
source§impl<'de> Deserialize<'de> for CloudRun
impl<'de> Deserialize<'de> for CloudRun
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for CloudRun
Auto Trait Implementations§
impl RefUnwindSafe for CloudRun
impl Send for CloudRun
impl Sync for CloudRun
impl Unpin for CloudRun
impl UnwindSafe for CloudRun
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
Mutably borrows from an owned value. Read more