Class UsersResource.SettingsResource.SendAsResource.ListRequest
Lists the send-as aliases for the specified account. The result includes the primary send- as address associated with the account as well as any custom "from" aliases.
Inheritance
System.Object
UsersResource.SettingsResource.SendAsResource.ListRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Gmail.v1
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class ListRequest : GmailBaseServiceRequest<ListSendAsResponse>, IClientServiceRequest<ListSendAsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, String)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string userId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | userId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Gmail.v1.Data.ListSendAsResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Gmail.v1.Data.ListSendAsResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Gmail.v1.Data.ListSendAsResponse>.RestPath
UserId
User's email address. The special value "me" can be used to indicate the authenticated user.
Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual string UserId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Gmail.v1.GmailBaseServiceRequest<Google.Apis.Gmail.v1.Data.ListSendAsResponse>.InitParameters()