Google Chat V1 API - Class Google::Apps::Chat::V1::AttachmentDataRef (v0.3.0)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::AttachmentDataRef.

A reference to the attachment data.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attachment_upload_token

def attachment_upload_token() -> ::String
Returns
  • (::String) — Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.

#attachment_upload_token=

def attachment_upload_token=(value) -> ::String
Parameter
  • value (::String) — Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.
Returns
  • (::String) — Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.

#resource_name

def resource_name() -> ::String
Returns
  • (::String) — The resource name of the attachment data. This field is used with the media API to download the attachment data.

#resource_name=

def resource_name=(value) -> ::String
Parameter
  • value (::String) — The resource name of the attachment data. This field is used with the media API to download the attachment data.
Returns
  • (::String) — The resource name of the attachment data. This field is used with the media API to download the attachment data.