class Google::Apis::ContentV2_1::PubsubNotificationSettings
Settings for Pub/Sub notifications, all methods require that the caller is a direct user of the merchant center account.
Attributes
cloud_topic_name[RW]
Cloud pub/sub topic to which notifications are sent (read-only). Corresponds to the JSON property `cloudTopicName` @return [String]
kind[RW]
Identifies what kind of resource this is. Value: the fixed string “`content# pubsubNotificationSettings`” Corresponds to the JSON property `kind` @return [String]
registered_events[RW]
List of event types. Acceptable values are: - “`orderPendingShipment`” Corresponds to the JSON property `registeredEvents` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 11743 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 11748 def update!(**args) @cloud_topic_name = args[:cloud_topic_name] if args.key?(:cloud_topic_name) @kind = args[:kind] if args.key?(:kind) @registered_events = args[:registered_events] if args.key?(:registered_events) end