Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DataStoresResource.UpdateDocumentProcessingConfigRequest

Updates the DocumentProcessingConfig. DocumentProcessingConfig is a singleton resource of DataStore. It's empty when DataStore is created. The first call to this method will set up DocumentProcessingConfig. The update_mask query parameter is not supported; if it is set the request returns an error. To update mutable fields, omit update_mask and send the full DocumentProcessingConfig as the request body. The entire resource is overwritten, so include all values you want to retain. For example, to update the layout parser, set DocumentProcessingConfig.default_parsing_config (or DocumentProcessingConfig.parsing_config_overrides) and omit update_mask. Some fields, such as DocumentProcessingConfig.chunking_config, are immutable and return an error if changed.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>
ProjectsResource.LocationsResource.DataStoresResource.UpdateDocumentProcessingConfigRequest
Implements
IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>
IClientServiceRequest
Inherited Members
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.Xgafv
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.AccessToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.Alt
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.Callback
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.Fields
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.Key
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.OauthToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.PrettyPrint
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.QuotaUser
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.UploadType
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.UploadProtocol
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.Execute()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.ETagAction
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.ModifyRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.ValidateParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.ApiVersion
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.RequestParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.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.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.DataStoresResource.UpdateDocumentProcessingConfigRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>, IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>, IClientServiceRequest

Constructors

UpdateDocumentProcessingConfigRequest(IClientService, GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig, string)

Constructs a new UpdateDocumentProcessingConfig request.

Declaration
public UpdateDocumentProcessingConfigRequest(IClientService service, GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig body, string name)
Parameters
Type Name Description
IClientService service
GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig body
string name

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

The full resource name of the Document Processing Config. Format: projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig.

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<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.RestPath

UpdateMask

Not supported. If update_mask is set, the request returns an UnsupportedFieldError. To update mutable fields, omit update_mask; the full DocumentProcessingConfig in the request body then overwrites the existing resource. See the method description for details.

Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
object

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes UpdateDocumentProcessingConfig parameter list.

Declaration
protected override void InitParameters()
Overrides
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>.InitParameters()

Implements

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