Struct google_sourcerepo1::PubsubConfig [−][src]
pub struct PubsubConfig { pub topic: Option<String>, pub service_account_email: Option<String>, pub message_format: Option<String>, }
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
topic: Option<String>
A topic of Cloud Pub/Sub. Values are of the form
projects/<project>/topics/<topic>
. The project needs to be the same
project as this config is in.
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.
message_format: Option<String>
The format of the Cloud Pub/Sub messages.
Trait Implementations
impl Default for PubsubConfig
[src]
impl Default for PubsubConfig
fn default() -> PubsubConfig
[src]
fn default() -> PubsubConfig
Returns the "default value" for a type. Read more
impl Clone for PubsubConfig
[src]
impl Clone for PubsubConfig
fn clone(&self) -> PubsubConfig
[src]
fn clone(&self) -> PubsubConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for PubsubConfig
[src]
impl Debug for PubsubConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for PubsubConfig
[src]
impl Part for PubsubConfig
Auto Trait Implementations
impl Send for PubsubConfig
impl Send for PubsubConfig
impl Sync for PubsubConfig
impl Sync for PubsubConfig