Class: Google::Apis::CloudsearchV1::AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment

Returns a new instance of AppsExtensionsMarkupCalendarClientActionMarkupAddAttachmentsActionMarkupAddonAttachment.



4148
4149
4150
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4148

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#icon_urlString

Link to the resource's icon. Corresponds to the JSON property iconUrl

Returns:

  • (String)


4131
4132
4133
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4131

def icon_url
  @icon_url
end

#mime_typeString

MIME type of the content in resource_url. Corresponds to the JSON property mimeType

Returns:

  • (String)


4136
4137
4138
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4136

def mime_type
  @mime_type
end

#resource_urlString

Corresponds to the JSON property resourceUrl

Returns:

  • (String)


4141
4142
4143
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4141

def resource_url
  @resource_url
end

#titleString

Title of the attachment. Corresponds to the JSON property title

Returns:

  • (String)


4146
4147
4148
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4146

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4153
4154
4155
4156
4157
4158
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4153

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