Class: Google::Apis::CloudsearchV1::AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment
- 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
-
#icon_url ⇒ String
Link to the resource's icon.
-
#mime_type ⇒ String
MIME type of the content in resource_url.
-
#resource_url ⇒ String
Corresponds to the JSON property
resourceUrl
. -
#title ⇒ String
Title of the attachment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment
constructor
A new instance of AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment
Returns a new instance of AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment.
4422 4423 4424 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4422 def initialize(**args) update!(**args) end |
Instance Attribute Details
#icon_url ⇒ String
Link to the resource's icon.
Corresponds to the JSON property iconUrl
4405 4406 4407 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4405 def icon_url @icon_url end |
#mime_type ⇒ String
MIME type of the content in resource_url.
Corresponds to the JSON property mimeType
4410 4411 4412 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4410 def mime_type @mime_type end |
#resource_url ⇒ String
Corresponds to the JSON property resourceUrl
4415 4416 4417 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4415 def resource_url @resource_url end |
#title ⇒ String
Title of the attachment.
Corresponds to the JSON property title
4420 4421 4422 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4420 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4427 4428 4429 4430 4431 4432 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4427 def update!(**args) @icon_url = args[:icon_url] if args.key?(:icon_url) @mime_type = args[:mime_type] if args.key?(:mime_type) @resource_url = args[:resource_url] if args.key?(:resource_url) @title = args[:title] if args.key?(:title) end |