Class UsersResource.SettingsResource.ForwardingAddressesResource.CreateRequest
Creates a forwarding address. If ownership verification is required, a message will be sent
to the recipient and the resource's verification status will be set to pending
; otherwise, the
resource will be created with verification status set to accepted
. This method is only available
to service account clients that have been delegated domain-wide authority.
public class UsersResource.SettingsResource.ForwardingAddressesResource.CreateRequest : GmailBaseServiceRequest<ForwardingAddress>
- Inheritance
-
UsersResource.SettingsResource.ForwardingAddressesResource.CreateRequest
- Inherited Members
Constructors
CreateRequest(IClientService, ForwardingAddress, string)
Constructs a new Create request.
public CreateRequest(IClientService service, ForwardingAddress body, string userId)
Parameters
service
IClientServicebody
ForwardingAddressuserId
string
Properties
HttpMethod
Gets the HTTP method.
public override string HttpMethod { get; }
Property Value
MethodName
Gets the method name.
public override string MethodName { get; }
Property Value
RestPath
Gets the REST path.
public override string RestPath { get; }
Property Value
UserId
User's email address. The special value "me" can be used to indicate the authenticated user.
public virtual string UserId { get; }
Property Value
Methods
GetBody()
Returns the body of the request.
protected override object GetBody()
Returns
InitParameters()
Initializes Create parameter list.
protected override void InitParameters()