Class: Google::Apis::CloudsearchV1::UpdateDraftActionMarkup
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::UpdateDraftActionMarkup
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#update_bcc_recipients ⇒ Google::Apis::CloudsearchV1::UpdateBccRecipients
If set, replaces the existing Bcc recipients of the draft the user is currently editing.
-
#update_body ⇒ Google::Apis::CloudsearchV1::UpdateBody
A field that contains a series of update actions to perform on the draft body that the user is currently editing.
-
#update_cc_recipients ⇒ Google::Apis::CloudsearchV1::UpdateCcRecipients
If set, replaces the existing Cc recipients of the draft the user is currently editing.
-
#update_subject ⇒ Google::Apis::CloudsearchV1::UpdateSubject
If set, replaces the existing subject of the draft the user is currently editing.
-
#update_to_recipients ⇒ Google::Apis::CloudsearchV1::UpdateToRecipients
If set, replaces the existing To recipients of the draft the user is currently editing.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateDraftActionMarkup
constructor
A new instance of UpdateDraftActionMarkup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateDraftActionMarkup
Returns a new instance of UpdateDraftActionMarkup.
21161 21162 21163 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21161 def initialize(**args) update!(**args) end |
Instance Attribute Details
#update_bcc_recipients ⇒ Google::Apis::CloudsearchV1::UpdateBccRecipients
If set, replaces the existing Bcc recipients of the draft the user is
currently editing.
Corresponds to the JSON property updateBccRecipients
21135 21136 21137 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21135 def update_bcc_recipients @update_bcc_recipients end |
#update_body ⇒ Google::Apis::CloudsearchV1::UpdateBody
A field that contains a series of update actions to perform on the draft body
that the user is currently editing.
Corresponds to the JSON property updateBody
21141 21142 21143 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21141 def update_body @update_body end |
#update_cc_recipients ⇒ Google::Apis::CloudsearchV1::UpdateCcRecipients
If set, replaces the existing Cc recipients of the draft the user is currently
editing.
Corresponds to the JSON property updateCcRecipients
21147 21148 21149 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21147 def update_cc_recipients @update_cc_recipients end |
#update_subject ⇒ Google::Apis::CloudsearchV1::UpdateSubject
If set, replaces the existing subject of the draft the user is currently
editing.
Corresponds to the JSON property updateSubject
21153 21154 21155 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21153 def update_subject @update_subject end |
#update_to_recipients ⇒ Google::Apis::CloudsearchV1::UpdateToRecipients
If set, replaces the existing To recipients of the draft the user is currently
editing.
Corresponds to the JSON property updateToRecipients
21159 21160 21161 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21159 def update_to_recipients @update_to_recipients end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21166 21167 21168 21169 21170 21171 21172 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 21166 def update!(**args) @update_bcc_recipients = args[:update_bcc_recipients] if args.key?(:update_bcc_recipients) @update_body = args[:update_body] if args.key?(:update_body) @update_cc_recipients = args[:update_cc_recipients] if args.key?(:update_cc_recipients) @update_subject = args[:update_subject] if args.key?(:update_subject) @update_to_recipients = args[:update_to_recipients] if args.key?(:update_to_recipients) end |