class Google::Apis::ChatV1::AttachmentDataRef

A reference to the data of an attachment.

Attributes

resource_name[RW]

The resource name of the attachment data. This is used with the media API to download the attachment data. Corresponds to the JSON property `resourceName` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/chat_v1/classes.rb, line 246
def update!(**args)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
end