Cloud Security Command Center V1p1beta1 API - Class Google::Cloud::SecurityCenter::V1p1beta1::NotificationConfig (v0.14.1)

Reference documentation and code samples for the Cloud Security Command Center V1p1beta1 API class Google::Cloud::SecurityCenter::V1p1beta1::NotificationConfig.

Security Command Center notification configs.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#description

def description() -> ::String
Returns
  • (::String) — The description of the notification config (max of 1024 characters).

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — The description of the notification config (max of 1024 characters).
Returns
  • (::String) — The description of the notification config (max of 1024 characters).

#event_type

def event_type() -> ::Google::Cloud::SecurityCenter::V1p1beta1::NotificationConfig::EventType
Returns

#event_type=

def event_type=(value) -> ::Google::Cloud::SecurityCenter::V1p1beta1::NotificationConfig::EventType
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::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".

#name=

def name=(value) -> ::String
Parameter
  • value (::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".
Returns
  • (::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

def pubsub_topic() -> ::String
Returns
  • (::String) — The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".

#pubsub_topic=

def pubsub_topic=(value) -> ::String
Parameter
  • value (::String) — The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
Returns
  • (::String) — The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".

#service_account

def service_account() -> ::String
Returns
  • (::String) — Output only. The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.

#streaming_config

def streaming_config() -> ::Google::Cloud::SecurityCenter::V1p1beta1::NotificationConfig::StreamingConfig
Returns

#streaming_config=

def streaming_config=(value) -> ::Google::Cloud::SecurityCenter::V1p1beta1::NotificationConfig::StreamingConfig
Parameter
Returns