class Google::Apis::BooksV1::Notification
Attributes
Corresponds to the JSON property `body` @return [String]
The list of crm experiment ids. Corresponds to the JSON property `crmExperimentIds` @return [Array<Fixnum>]
Corresponds to the JSON property `doc_id` @return [String]
Corresponds to the JSON property `doc_type` @return [String]
Corresponds to the JSON property `dont_show_notification` @return [Boolean]
Corresponds to the JSON property `dont_show_notification` @return [Boolean]
Corresponds to the JSON property `iconUrl` @return [String]
Corresponds to the JSON property `is_document_mature` @return [Boolean]
Corresponds to the JSON property `is_document_mature` @return [Boolean]
Resource type. Corresponds to the JSON property `kind` @return [String]
Corresponds to the JSON property `notificationGroup` @return [String]
Corresponds to the JSON property `notification_type` @return [String]
Corresponds to the JSON property `pcampaign_id` @return [String]
Corresponds to the JSON property `reason` @return [String]
Corresponds to the JSON property `show_notification_settings_action` @return [Boolean]
Corresponds to the JSON property `show_notification_settings_action` @return [Boolean]
Corresponds to the JSON property `targetUrl` @return [String]
Corresponds to the JSON property `timeToExpireMs` @return [Fixnum]
Corresponds to the JSON property `title` @return [String]
Public Class Methods
# File lib/google/apis/books_v1/classes.rb, line 2209 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/books_v1/classes.rb, line 2214 def update!(**args) @body = args[:body] if args.key?(:body) @crm_experiment_ids = args[:crm_experiment_ids] if args.key?(:crm_experiment_ids) @doc_id = args[:doc_id] if args.key?(:doc_id) @doc_type = args[:doc_type] if args.key?(:doc_type) @dont_show_notification = args[:dont_show_notification] if args.key?(:dont_show_notification) @icon_url = args[:icon_url] if args.key?(:icon_url) @is_document_mature = args[:is_document_mature] if args.key?(:is_document_mature) @kind = args[:kind] if args.key?(:kind) @notification_group = args[:notification_group] if args.key?(:notification_group) @notification_type = args[:notification_type] if args.key?(:notification_type) @pcampaign_id = args[:pcampaign_id] if args.key?(:pcampaign_id) @reason = args[:reason] if args.key?(:reason) @show_notification_settings_action = args[:show_notification_settings_action] if args.key?(:show_notification_settings_action) @target_url = args[:target_url] if args.key?(:target_url) @time_to_expire_ms = args[:time_to_expire_ms] if args.key?(:time_to_expire_ms) @title = args[:title] if args.key?(:title) end