Class: Google::Apis::CloudsearchV1::OpenCreatedDraftActionMarkup
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::OpenCreatedDraftActionMarkup
- 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
-
#draft_id ⇒ String
The ID of the newly created draft in the form "r123".
-
#draft_storage_id ⇒ String
The server storage ID in hex format, for example,"15e9fa622ce1029d".
-
#draft_thread_id ⇒ String
The ID of the thread containing the newly created draft, for example, " 15e9fa622ce1029d".
-
#draft_thread_server_perm_id ⇒ String
The server permanent ID for the draft's thread.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OpenCreatedDraftActionMarkup
constructor
A new instance of OpenCreatedDraftActionMarkup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OpenCreatedDraftActionMarkup
Returns a new instance of OpenCreatedDraftActionMarkup.
14237 14238 14239 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14237 def initialize(**args) update!(**args) end |
Instance Attribute Details
#draft_id ⇒ String
The ID of the newly created draft in the form "r123".
Corresponds to the JSON property draftId
14217 14218 14219 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14217 def draft_id @draft_id end |
#draft_storage_id ⇒ String
The server storage ID in hex format, for example,"15e9fa622ce1029d".
Corresponds to the JSON property draftStorageId
14222 14223 14224 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14222 def draft_storage_id @draft_storage_id end |
#draft_thread_id ⇒ String
The ID of the thread containing the newly created draft, for example, "
15e9fa622ce1029d".
Corresponds to the JSON property draftThreadId
14228 14229 14230 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14228 def draft_thread_id @draft_thread_id end |
#draft_thread_server_perm_id ⇒ String
The server permanent ID for the draft's thread. This field isn't set anywhere,
and it's ignored when processing OpenCreatedDraftActionMarkup. Supply and use
draftThreadStorageId instead.
Corresponds to the JSON property draftThreadServerPermId
14235 14236 14237 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14235 def draft_thread_server_perm_id @draft_thread_server_perm_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14242 14243 14244 14245 14246 14247 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14242 def update!(**args) @draft_id = args[:draft_id] if args.key?(:draft_id) @draft_storage_id = args[:draft_storage_id] if args.key?(:draft_storage_id) @draft_thread_id = args[:draft_thread_id] if args.key?(:draft_thread_id) @draft_thread_server_perm_id = args[:draft_thread_server_perm_id] if args.key?(:draft_thread_server_perm_id) end |