Class UserRolesResource.PatchRequest
Updates an existing user role. This method supports patch semantics.
Inheritance
UserRolesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class UserRolesResource.PatchRequest : DfareportingBaseServiceRequest<UserRole>, IClientServiceRequest<UserRole>, IClientServiceRequest
Constructors
PatchRequest(IClientService, UserRole, long, long)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, UserRole body, long profileId, long id)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| UserRole | 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. UserRole 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()