Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DataStoresResource.CreateRequest

Creates a DataStore. DataStore is for storing Documents. To serve these documents for Search, or Recommendation use case, an Engine needs to be created separately.

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

Constructors

CreateRequest(IClientService, GoogleCloudDiscoveryengineV1DataStore, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, GoogleCloudDiscoveryengineV1DataStore body, string parent)
Parameters
Type Name Description
IClientService service
GoogleCloudDiscoveryengineV1DataStore body
string parent

Properties

CmekConfigName

Resource name of the CmekConfig to use for protecting this DataStore.

Declaration
[RequestParameter("cmekConfigName", RequestParameterType.Query)]
public virtual string CmekConfigName { get; set; }
Property Value
Type Description
string

CreateAdvancedSiteSearch

A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored.

Declaration
[RequestParameter("createAdvancedSiteSearch", RequestParameterType.Query)]
public virtual bool? CreateAdvancedSiteSearch { get; set; }
Property Value
Type Description
bool?

DataStoreId

Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.

Declaration
[RequestParameter("dataStoreId", RequestParameterType.Query)]
public virtual string DataStoreId { get; set; }
Property Value
Type Description
string

DisableCmek

DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.

Declaration
[RequestParameter("disableCmek", RequestParameterType.Query)]
public virtual bool? DisableCmek { get; set; }
Property Value
Type Description
bool?

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Parent

Required. The parent resource name, such as projects/{project}/locations/{location}/collections/{collection}.

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
ClientServiceRequest<GoogleLongrunningOperation>.RestPath

SkipDefaultSchemaCreation

A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if data_store.starting_schema is specified.

Declaration
[RequestParameter("skipDefaultSchemaCreation", RequestParameterType.Query)]
public virtual bool? SkipDefaultSchemaCreation { get; set; }
Property Value
Type Description
bool?

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Create parameter list.

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

Implements

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