class Google::Apis::BooksV1::Notification

Attributes

body[RW]

Corresponds to the JSON property `body` @return [String]

crm_experiment_ids[RW]

The list of crm experiment ids. Corresponds to the JSON property `crmExperimentIds` @return [Array<String>]

doc_id[RW]

Corresponds to the JSON property `doc_id` @return [String]

doc_type[RW]

Corresponds to the JSON property `doc_type` @return [String]

dont_show_notification[RW]

Corresponds to the JSON property `dont_show_notification` @return [Boolean]

dont_show_notification?[RW]

Corresponds to the JSON property `dont_show_notification` @return [Boolean]

icon_url[RW]

Corresponds to the JSON property `iconUrl` @return [String]

kind[RW]

Resource type. Corresponds to the JSON property `kind` @return [String]

notification_type[RW]

Corresponds to the JSON property `notification_type` @return [String]

pcampaign_id[RW]

Corresponds to the JSON property `pcampaign_id` @return [String]

reason[RW]

Corresponds to the JSON property `reason` @return [String]

show_notification_settings_action[RW]

Corresponds to the JSON property `show_notification_settings_action` @return [Boolean]

show_notification_settings_action?[RW]

Corresponds to the JSON property `show_notification_settings_action` @return [Boolean]

target_url[RW]

Corresponds to the JSON property `targetUrl` @return [String]

title[RW]

Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/books_v1/classes.rb, line 2060
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/books_v1/classes.rb, line 2065
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)
  @kind = args[:kind] if args.key?(:kind)
  @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)
  @title = args[:title] if args.key?(:title)
end