Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DocumentSchemasResource.PatchRequest

Updates a Document Schema. Returns INVALID_ARGUMENT if the name of the Document Schema is non-empty and does not equal the existing name. Supports only appending new properties, adding new ENUM possible values, and updating the EnumTypeOptions.validation_check_disabled flag for ENUM possible values. Updating existing properties will result into INVALID_ARGUMENT.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>
ProjectsResource.LocationsResource.DocumentSchemasResource.PatchRequest
Implements
IClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>
IClientServiceRequest
Inherited Members
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.Xgafv
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.AccessToken
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.Alt
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.Callback
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.Fields
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.Key
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.OauthToken
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.PrettyPrint
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.QuotaUser
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.UploadType
ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.UploadProtocol
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.Execute()
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.ExecuteAsync()
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.ETagAction
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.ModifyRequest
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.ValidateParameters
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.ApiVersion
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.RequestParameters
ClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>.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.DocumentSchemasResource.PatchRequest : ContentwarehouseBaseServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>, IClientServiceRequest<GoogleCloudContentwarehouseV1DocumentSchema>, IClientServiceRequest

Constructors

PatchRequest(IClientService, GoogleCloudContentwarehouseV1UpdateDocumentSchemaRequest, string)

Constructs a new Patch request.

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

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Required. The name of the document schema to update. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_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<GoogleCloudContentwarehouseV1DocumentSchema>.RestPath

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Patch parameter list.

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

Implements

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