Struct google_securitycenter1::api::NotificationConfig[][src]

pub struct NotificationConfig {
    pub description: Option<String>,
    pub name: Option<String>,
    pub pubsub_topic: Option<String>,
    pub service_account: Option<String>,
    pub streaming_config: Option<StreamingConfig>,
}
Expand description

Cloud Security Command Center (Cloud SCC) notification configs. A notification config is a Cloud SCC resource that contains the configuration to send notifications for create/update events of findings, assets and etc.

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

description: Option<String>

The description of the notification config (max of 1024 characters).

name: Option<String>

The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: “organizations/{organization_id}/notificationConfigs/notify_public_bucket”.

pubsub_topic: Option<String>

The Pub/Sub topic to send notifications to. Its format is “projects/[project_id]/topics/[topic]”.

service_account: Option<String>

Output only. The service account that needs “pubsub.topics.publish” permission to publish to the Pub/Sub topic.

streaming_config: Option<StreamingConfig>

The config for triggering streaming-based notifications.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.