Class CustomchannelsResource.PatchRequest
Update a custom channel in the host AdSense account. This method supports patch semantics.
Inheritance
CustomchannelsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.AdSenseHost.v4_1
Assembly: Google.Apis.AdSenseHost.v4_1.dll
Syntax
public class CustomchannelsResource.PatchRequest : AdSenseHostBaseServiceRequest<CustomChannel>, IClientServiceRequest<CustomChannel>, IClientServiceRequest
Constructors
PatchRequest(IClientService, CustomChannel, string, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, CustomChannel body, string adClientId, string customChannelId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CustomChannel | body | |
string | adClientId | |
string | customChannelId |
Properties
AdClientId
Ad client in which the custom channel will be updated.
Declaration
[RequestParameter("adClientId", RequestParameterType.Path)]
public virtual string AdClientId { get; }
Property Value
Type | Description |
---|---|
string |
CustomChannelId
Custom channel to get.
Declaration
[RequestParameter("customChannelId", RequestParameterType.Query)]
public virtual string CustomChannelId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSenseHost.v4_1.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.AdSenseHost.v4_1.Data.CustomChannel>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSenseHost.v4_1.Data.CustomChannel>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AdSenseHost.v4_1.Data.CustomChannel>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()