Class AccountsResource.AdclientsResource.CustomchannelsResource.PatchRequest
Updates a custom channel. This method can be called only by a restricted set of projects, which are usually owned by AdSense for Platforms publishers. Contact your account manager if you need to use this method.
Inheritance
AccountsResource.AdclientsResource.CustomchannelsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Adsense.v2
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class AccountsResource.AdclientsResource.CustomchannelsResource.PatchRequest : AdsenseBaseServiceRequest<CustomChannel>, IClientServiceRequest<CustomChannel>, IClientServiceRequest
Constructors
PatchRequest(IClientService, CustomChannel, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, CustomChannel body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CustomChannel | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.CustomChannel>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.CustomChannel>.MethodName
Name
Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.CustomChannel>.RestPath
UpdateMask
The list of fields to update. If empty, a full update is performed.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.CustomChannel>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()