Class: Google::Apis::SecuritycenterV1::NotificationConfig
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::NotificationConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Instance Attribute Summary collapse
-
#description ⇒ String
Corresponds to the JSON property
description. -
#name ⇒ String
Corresponds to the JSON property
name. -
#pubsub_topic ⇒ String
Corresponds to the JSON property
pubsubTopic. -
#service_account ⇒ String
Corresponds to the JSON property
serviceAccount. -
#streaming_config ⇒ Google::Apis::SecuritycenterV1::StreamingConfig
Corresponds to the JSON property
streamingConfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NotificationConfig
constructor
A new instance of NotificationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NotificationConfig
Returns a new instance of NotificationConfig.
11584 11585 11586 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11584 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
11562 11563 11564 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11562 def description @description end |
#name ⇒ String
Corresponds to the JSON property name
11567 11568 11569 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11567 def name @name end |
#pubsub_topic ⇒ String
Corresponds to the JSON property pubsubTopic
11572 11573 11574 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11572 def pubsub_topic @pubsub_topic end |
#service_account ⇒ String
Corresponds to the JSON property serviceAccount
11577 11578 11579 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11577 def service_account @service_account end |
#streaming_config ⇒ Google::Apis::SecuritycenterV1::StreamingConfig
Corresponds to the JSON property streamingConfig
11582 11583 11584 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11582 def streaming_config @streaming_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11589 11590 11591 11592 11593 11594 11595 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11589 def update!(**args) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic) @service_account = args[:service_account] if args.key?(:service_account) @streaming_config = args[:streaming_config] if args.key?(:streaming_config) end |