Class AccountsResource.PatchRequest
Updates an existing account. This method supports patch semantics.
Inheritance
AccountsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class AccountsResource.PatchRequest : DfareportingBaseServiceRequest<Account>, IClientServiceRequest<Account>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Account, long, long)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Account body, long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Account | body | |
long | profileId | |
long | id |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Id
Required. Account ID.
Declaration
[RequestParameter("id", RequestParameterType.Query)]
public virtual long Id { get; }
Property Value
Type | Description |
---|---|
long |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProfileId
User profile ID associated with this request.
Declaration
[RequestParameter("profileId", RequestParameterType.Path)]
public virtual long ProfileId { get; }
Property Value
Type | Description |
---|---|
long |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()