Class ProjectsResource.LocationsResource.DataStoresResource.BranchesResource.DocumentsResource.ImportRequest
Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the Documents to be successfully updated.
Inheritance
ProjectsResource.LocationsResource.DataStoresResource.BranchesResource.DocumentsResource.ImportRequest
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DataStoresResource.BranchesResource.DocumentsResource.ImportRequest : DiscoveryEngineBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
ImportRequest(IClientService, GoogleCloudDiscoveryengineV1ImportDocumentsRequest, string)
Constructs a new Import request.
Declaration
public ImportRequest(IClientService service, GoogleCloudDiscoveryengineV1ImportDocumentsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDiscoveryengineV1ImportDocumentsRequest | body | |
string | parent |
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
Parent
Required. The parent branch resource name, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}
.
Requires create/update permission.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Import parameter list.
Declaration
protected override void InitParameters()