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

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.

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.

The format of the Cloud Pub/Sub messages.

Trait Implementations

impl Default for PubsubConfig
[src]

Returns the "default value" for a type. Read more

impl Clone for PubsubConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PubsubConfig
[src]

Formats the value using the given formatter. Read more

impl Part for PubsubConfig
[src]

Auto Trait Implementations