Struct google_sourcerepo1::api::PubsubConfig
source · pub struct PubsubConfig {
pub message_format: Option<String>,
pub service_account_email: Option<String>,
pub topic: Option<String>,
}
Expand description
Configuration to publish a Cloud Pub/Sub message.
This type is not used in any activity, and only used as part of another schema.
Fields§
§message_format: Option<String>
The format of the Cloud Pub/Sub messages.
service_account_email: Option<String>
Email address of the service account used for publishing Cloud Pub/Sub messages. This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account.
topic: Option<String>
A topic of Cloud Pub/Sub. Values are of the form projects//topics/
. The project needs to be the same project as this config is in.
Trait Implementations§
source§impl Clone for PubsubConfig
impl Clone for PubsubConfig
source§fn clone(&self) -> PubsubConfig
fn clone(&self) -> PubsubConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PubsubConfig
impl Debug for PubsubConfig
source§impl Default for PubsubConfig
impl Default for PubsubConfig
source§fn default() -> PubsubConfig
fn default() -> PubsubConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PubsubConfig
impl<'de> Deserialize<'de> for PubsubConfig
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
source§impl Serialize for PubsubConfig
impl Serialize for PubsubConfig
impl Part for PubsubConfig
Auto Trait Implementations§
impl RefUnwindSafe for PubsubConfig
impl Send for PubsubConfig
impl Sync for PubsubConfig
impl Unpin for PubsubConfig
impl UnwindSafe for PubsubConfig
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