Class UsersResource.SettingsResource.UpdateAutoForwardingRequest
Updates the auto-forwarding setting for the specified account. A verified forwarding address must be specified when auto-forwarding is enabled. This method is only available to service account clients that have been delegated domain-wide authority.
public class UsersResource.SettingsResource.UpdateAutoForwardingRequest : GmailBaseServiceRequest<AutoForwarding>
- Inheritance
-
UsersResource.SettingsResource.UpdateAutoForwardingRequest
- Inherited Members
Constructors
UpdateAutoForwardingRequest(IClientService, AutoForwarding, string)
Constructs a new UpdateAutoForwarding request.
public UpdateAutoForwardingRequest(IClientService service, AutoForwarding body, string userId)
Parameters
service
IClientServicebody
AutoForwardinguserId
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 UpdateAutoForwarding parameter list.
protected override void InitParameters()