Show / Hide Table of Contents

Class SitesResource.PatchRequest

Updates an existing site. This method supports patch semantics.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Site>
DfareportingBaseServiceRequest<Site>
SitesResource.PatchRequest
Implements
Google.Apis.Requests.IClientServiceRequest<Site>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
DfareportingBaseServiceRequest<Site>.Xgafv
DfareportingBaseServiceRequest<Site>.AccessToken
DfareportingBaseServiceRequest<Site>.Alt
DfareportingBaseServiceRequest<Site>.Callback
DfareportingBaseServiceRequest<Site>.Fields
DfareportingBaseServiceRequest<Site>.Key
DfareportingBaseServiceRequest<Site>.OauthToken
DfareportingBaseServiceRequest<Site>.PrettyPrint
DfareportingBaseServiceRequest<Site>.QuotaUser
DfareportingBaseServiceRequest<Site>.UploadType
DfareportingBaseServiceRequest<Site>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Site>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Site>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Site>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Site>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Site>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Site>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Site>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Site>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Site>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Site>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Site>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Site>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Site>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Site>.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.Dfareporting.v3_4
Assembly: Google.Apis.Dfareporting.v3_4.dll
Syntax
public class PatchRequest : DfareportingBaseServiceRequest<Site>, IClientServiceRequest<Site>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Site, Int64, Int64)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, Site body, long profileId, long id)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
Site body
System.Int64 profileId
System.Int64 id

Properties

HttpMethod

Gets the HTTP method.

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

Id

Site ID.

Declaration
[RequestParameter("id", RequestParameterType.Query)]
public virtual long Id { get; }
Property Value
Type Description
System.Int64

MethodName

Gets the method name.

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

ProfileId

User profile ID associated with this request.

Declaration
[RequestParameter("profileId", RequestParameterType.Path)]
public virtual long ProfileId { 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.Dfareporting.v3_4.Data.Site>.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.Dfareporting.v3_4.Data.Site>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dfareporting.v3_4.DfareportingBaseServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Site>.InitParameters()

Implements

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