Class ProjectsResource.LocationsResource.CollectionsResource.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
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
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
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
InitParameters()
Initializes UpdateDocumentProcessingConfig parameter list.
Declaration
protected override void InitParameters()