Class ProjectsResource.LocationsResource.ProcessorsResource.UpdateDatasetRequest
Updates metadata associated with a dataset. Note that this method requires the
documentai.googleapis.com/datasets.update
permission on the project, which is highly privileged. A
user or service account with this permission can create new processors that can interact with any
gcs bucket in your project.
Inheritance
ProjectsResource.LocationsResource.ProcessorsResource.UpdateDatasetRequest
Inherited Members
Namespace: Google.Apis.Document.v1beta3
Assembly: Google.Apis.Document.v1beta3.dll
Syntax
public class ProjectsResource.LocationsResource.ProcessorsResource.UpdateDatasetRequest : DocumentBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
UpdateDatasetRequest(IClientService, GoogleCloudDocumentaiV1beta3Dataset, string)
Constructs a new UpdateDataset request.
Declaration
public UpdateDatasetRequest(IClientService service, GoogleCloudDocumentaiV1beta3Dataset body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDocumentaiV1beta3Dataset | 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
Dataset resource name. Format:
projects/{project}/locations/{location}/processors/{processor}/dataset
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
The update mask applies to the resource.
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 UpdateDataset parameter list.
Declaration
protected override void InitParameters()