Class ProjectsResource.LocationsResource.SetUpDataConnectorV2Request
Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method.
Inheritance
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.SetUpDataConnectorV2Request : DiscoveryEngineBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
SetUpDataConnectorV2Request(IClientService, GoogleCloudDiscoveryengineV1alphaDataConnector, string)
Constructs a new SetUpDataConnectorV2 request.
Declaration
public SetUpDataConnectorV2Request(IClientService service, GoogleCloudDiscoveryengineV1alphaDataConnector body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDiscoveryengineV1alphaDataConnector | body | |
| string | parent |
Properties
CollectionDisplayName
Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters.
Declaration
[RequestParameter("collectionDisplayName", RequestParameterType.Query)]
public virtual string CollectionDisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CollectionId
Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
Declaration
[RequestParameter("collectionId", RequestParameterType.Query)]
public virtual string CollectionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 of Collection, in the format of projects/{project}/locations/{location}.
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 SetUpDataConnectorV2 parameter list.
Declaration
protected override void InitParameters()