gmail  v1
Public Types | Public Member Functions | Protected Member Functions | Properties | List of all members
Google.Apis.Gmail.v1.UsersResource.MessagesResource.GetRequest Class Reference

Gets the specified message. More...

Inheritance diagram for Google.Apis.Gmail.v1.UsersResource.MessagesResource.GetRequest:
Google.Apis.Gmail.v1.GmailBaseServiceRequest< Google.Apis.Gmail.v1.Data.Message >

Public Types

enum  FormatEnum { Full, Metadata, Minimal, Raw }
 The format to return the message in. More...
 

Public Member Functions

 GetRequest (Google.Apis.Services.IClientService service, string userId, string id)
 Constructs a new Get request. More...
 

Protected Member Functions

override void InitParameters ()
 Initializes Get parameter list. More...
 
- Protected Member Functions inherited from Google.Apis.Gmail.v1.GmailBaseServiceRequest< Google.Apis.Gmail.v1.Data.Message >
 GmailBaseServiceRequest (Google.Apis.Services.IClientService service)
 Constructs a new GmailBaseServiceRequest instance. More...
 
override void InitParameters ()
 Initializes Gmail parameter list. More...
 

Properties

virtual string UserId [get]
 The user's email address. The special value me can be used to indicate the authenticated user. More...
 
virtual string Id [get]
 The ID of the message to retrieve. More...
 
virtual System.Nullable< FormatEnumFormat [get, set]
 The format to return the message in. More...
 
virtual Google.Apis.Util.Repeatable< string > MetadataHeaders [get, set]
 When given and format is METADATA, only include headers specified. More...
 
override string MethodName [get]
 summary>Gets the HTTP method. More...
 
override string HttpMethod [get]
 summary>Gets the REST path. More...
 
override string RestPath [get]
 
- Properties inherited from Google.Apis.Gmail.v1.GmailBaseServiceRequest< Google.Apis.Gmail.v1.Data.Message >
virtual System.Nullable< AltEnum > Alt [get, set]
 Data format for the response. More...
 
virtual string Fields [get, set]
 Selector specifying which fields to include in a partial response. More...
 
virtual string Key [get, set]
 API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. More...
 
virtual string OauthToken [get, set]
 OAuth 2.0 token for the current user. More...
 
virtual System.Nullable< bool > PrettyPrint [get, set]
 Returns response with indentations and line breaks. More...
 
virtual string QuotaUser [get, set]
 An opaque string that represents a user for quota purposes. Must not exceed 40 characters. More...
 
virtual string UserIp [get, set]
 Deprecated. Please use quotaUser instead. More...
 

Detailed Description

Gets the specified message.

Member Enumeration Documentation

◆ FormatEnum

The format to return the message in.

Constructor & Destructor Documentation

◆ GetRequest()

Google.Apis.Gmail.v1.UsersResource.MessagesResource.GetRequest.GetRequest ( Google.Apis.Services.IClientService  service,
string  userId,
string  id 
)
inline

Constructs a new Get request.

Member Function Documentation

◆ InitParameters()

override void Google.Apis.Gmail.v1.UsersResource.MessagesResource.GetRequest.InitParameters ( )
inlineprotected

Initializes Get parameter list.

Property Documentation

◆ Format

virtual System.Nullable<FormatEnum> Google.Apis.Gmail.v1.UsersResource.MessagesResource.GetRequest.Format
getset

The format to return the message in.

[default: full]

◆ HttpMethod

override string Google.Apis.Gmail.v1.UsersResource.MessagesResource.GetRequest.HttpMethod
get

summary>Gets the REST path.

◆ Id

virtual string Google.Apis.Gmail.v1.UsersResource.MessagesResource.GetRequest.Id
get

The ID of the message to retrieve.

◆ MetadataHeaders

virtual Google.Apis.Util.Repeatable<string> Google.Apis.Gmail.v1.UsersResource.MessagesResource.GetRequest.MetadataHeaders
getset

When given and format is METADATA, only include headers specified.

summary>Gets the method name.

◆ MethodName

override string Google.Apis.Gmail.v1.UsersResource.MessagesResource.GetRequest.MethodName
get

summary>Gets the HTTP method.

◆ UserId

virtual string Google.Apis.Gmail.v1.UsersResource.MessagesResource.GetRequest.UserId
get

The user's email address. The special value me can be used to indicate the authenticated user.

[default: me]


The documentation for this class was generated from the following file: