Show / Hide Table of Contents

Class PartnersResource.ChannelsResource.SitesResource.ReplaceRequest

Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest.new_sites.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<ReplaceSitesResponse>
DisplayVideoBaseServiceRequest<ReplaceSitesResponse>
PartnersResource.ChannelsResource.SitesResource.ReplaceRequest
Implements
Google.Apis.Requests.IClientServiceRequest<ReplaceSitesResponse>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
DisplayVideoBaseServiceRequest<ReplaceSitesResponse>.Xgafv
DisplayVideoBaseServiceRequest<ReplaceSitesResponse>.AccessToken
DisplayVideoBaseServiceRequest<ReplaceSitesResponse>.Alt
DisplayVideoBaseServiceRequest<ReplaceSitesResponse>.Callback
DisplayVideoBaseServiceRequest<ReplaceSitesResponse>.Fields
DisplayVideoBaseServiceRequest<ReplaceSitesResponse>.Key
DisplayVideoBaseServiceRequest<ReplaceSitesResponse>.OauthToken
DisplayVideoBaseServiceRequest<ReplaceSitesResponse>.PrettyPrint
DisplayVideoBaseServiceRequest<ReplaceSitesResponse>.QuotaUser
DisplayVideoBaseServiceRequest<ReplaceSitesResponse>.UploadType
DisplayVideoBaseServiceRequest<ReplaceSitesResponse>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class ReplaceRequest : DisplayVideoBaseServiceRequest<ReplaceSitesResponse>, IClientServiceRequest<ReplaceSitesResponse>, IClientServiceRequest

Constructors

ReplaceRequest(IClientService, ReplaceSitesRequest, Int64, Int64)

Constructs a new Replace request.

Declaration
public ReplaceRequest(IClientService service, ReplaceSitesRequest body, long partnerId, long channelId)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
ReplaceSitesRequest body
System.Int64 partnerId
System.Int64 channelId

Properties

ChannelId

Required. The ID of the parent channel whose sites will be replaced.

Declaration
[RequestParameter("channelId", RequestParameterType.Path)]
public virtual long ChannelId { get; }
Property Value
Type Description
System.Int64

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.MethodName

PartnerId

The ID of the partner that owns the parent channel.

Declaration
[RequestParameter("partnerId", RequestParameterType.Path)]
public virtual long PartnerId { get; }
Property Value
Type Description
System.Int64

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.GetBody()

InitParameters()

Initializes Replace parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.DisplayVideo.v1.DisplayVideoBaseServiceRequest<Google.Apis.DisplayVideo.v1.Data.ReplaceSitesResponse>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top