target.apidocs.com.google.api.services.gmail.Gmail.Users.Messages.Attachments.html Maven / Gradle / Ivy
Gmail.Users.Messages.Attachments (Gmail API v1-rev20230925-2.0.0)
com.google.api.services.gmail
Class Gmail.Users.Messages.Attachments
- java.lang.Object
-
- com.google.api.services.gmail.Gmail.Users.Messages.Attachments
-
- Enclosing class:
- Gmail.Users.Messages
public class Gmail.Users.Messages.Attachments
extends Object
The "attachments" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Gmail.Users.Messages.Attachments.Get
-
Constructor Summary
Constructors
Constructor and Description
Attachments()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Gmail.Users.Messages.Attachments.Get
get(String userId,
String messageId,
String id)
Gets the specified message attachment.
-
-
Method Detail
-
get
public Gmail.Users.Messages.Attachments.Get get(String userId,
String messageId,
String id)
throws IOException
Gets the specified message attachment.
Create a request for the method "attachments.get".
This request holds the parameters needed by the gmail server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
userId
- The user's email address. The special value `me` can be used to indicate the authenticated user.
[default: me]
messageId
- The ID of the message containing the attachment.
id
- The ID of the attachment.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy