Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DocumentsResource.PatchRequest

Updates a document. Returns INVALID_ARGUMENT if the name of the document is non-empty and does not equal the existing name.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>
ProjectsResource.LocationsResource.DocumentsResource.PatchRequest
Implements
IClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>
IClientServiceRequest
Inherited Members
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.Xgafv
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.AccessToken
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.Alt
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.Callback
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.Fields
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.Key
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.OauthToken
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.PrettyPrint
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.QuotaUser
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.UploadType
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.UploadProtocol
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.Execute()
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.ExecuteAsync()
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.ETagAction
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.ModifyRequest
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.ValidateParameters
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.ApiVersion
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.RequestParameters
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Contentwarehouse.v1
Assembly: Google.Apis.Contentwarehouse.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DocumentsResource.PatchRequest : ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>, IClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>, IClientServiceRequest

Constructors

PatchRequest(IClientService, GoogleCloudContentwarehouseV1UpdateDocumentRequest, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, GoogleCloudContentwarehouseV1UpdateDocumentRequest body, string name)
Parameters
Type Name Description
IClientService service
GoogleCloudContentwarehouseV1UpdateDocumentRequest body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.MethodName

Name

Required. The name of the document to update. Format: projects/{project_number}/locations/{location}/documents/{document_id} or projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}.

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
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1UpdateDocumentResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX