get
public HangoutsChat.Spaces.Messages.Attachments.Get get(String name)
throws IOException
Gets the metadata of a message attachment. The attachment data is fetched using the [media
API](https://developers.google.com/chat/api/reference/rest/v1/media/download). For an example,
see [Get a message attachment](https://developers.google.com/chat/api/guides/v1/media-and-
attachments/get). Requires [app
authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).
Create a request for the method "attachments.get".
This request holds the parameters needed by the chat server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Resource name of the attachment, in the form `spaces/messages/attachments`.
- Returns:
- the request
- Throws:
IOException