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/workspace/chat/api/reference/rest/v1/media/download). For an
example, see [Get metadata about a message
attachment](https://developers.google.com/workspace/chat/get-media-attachments). Requires [app
authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-
authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.bot`
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/{space}/messages/{message}/attachments/{attachment}`.
- Returns:
- the request
- Throws:
IOException