Google Chat V1 API - Class Google::Apps::Chat::V1::UploadAttachmentRequest (v0.5.1)

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

Request to upload an attachment.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#filename

def filename() -> ::String
Returns
  • (::String) — Required. The filename of the attachment, including the file extension.

#filename=

def filename=(value) -> ::String
Parameter
  • value (::String) — Required. The filename of the attachment, including the file extension.
Returns
  • (::String) — Required. The filename of the attachment, including the file extension.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Resource name of the Chat space in which the attachment is uploaded. Format "spaces/{space}".

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Resource name of the Chat space in which the attachment is uploaded. Format "spaces/{space}".
Returns
  • (::String) — Required. Resource name of the Chat space in which the attachment is uploaded. Format "spaces/{space}".