Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.CollectionsResource

The "collections" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.CollectionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource

Constructors

CollectionsResource(IClientService)

Constructs a new resource.

Declaration
public CollectionsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

DataConnector

Gets the DataConnector resource.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource DataConnector { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.CollectionsResource.DataConnectorResource

DataStores

Gets the DataStores resource.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource DataStores { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource

Engines

Gets the Engines resource.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource Engines { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource

Operations

Gets the Operations resource.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.OperationsResource Operations { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.CollectionsResource.OperationsResource

Methods

Delete(string)

Deletes a Collection.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The full resource name of the Collection, in the format of projects/{project}/locations/{location}/collections/{collection}.

Returns
Type Description
ProjectsResource.LocationsResource.CollectionsResource.DeleteRequest

Get(string)

Gets a Collection.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The full resource name, in the format of projects/{project}/locations/{location}/collections/{collection}.

Returns
Type Description
ProjectsResource.LocationsResource.CollectionsResource.GetRequest

GetDataConnector(string)

Gets the DataConnector. DataConnector is a singleton resource for each Collection.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.GetDataConnectorRequest GetDataConnector(string name)
Parameters
Type Name Description
string name

Required. Full resource name of DataConnector, such as projects/{project}/locations/{location}/collections/{collection_id}/dataConnector. If the caller does not have permission to access the DataConnector, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataConnector does not exist, a NOT_FOUND error is returned.

Returns
Type Description
ProjectsResource.LocationsResource.CollectionsResource.GetDataConnectorRequest

List(string)

Gets a list of Collections.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent data store resource name, in the format of projects/{project}/locations/{location}.

Returns
Type Description
ProjectsResource.LocationsResource.CollectionsResource.ListRequest

Patch(GoogleCloudDiscoveryengineV1alphaCollection, string)

Updates a Collection.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1alphaCollection body, string name)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1alphaCollection body

The body of the request.

string name

Immutable. The full resource name of the Collection. Format: projects/{project}/locations/{location}/collections/{collection_id}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.

Returns
Type Description
ProjectsResource.LocationsResource.CollectionsResource.PatchRequest

UpdateDataConnector(GoogleCloudDiscoveryengineV1alphaDataConnector, string)

Updates a DataConnector.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.UpdateDataConnectorRequest UpdateDataConnector(GoogleCloudDiscoveryengineV1alphaDataConnector body, string name)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1alphaDataConnector body

The body of the request.

string name

Output only. The full resource name of the Data Connector. Format: projects/*/locations/*/collections/*/dataConnector.

Returns
Type Description
ProjectsResource.LocationsResource.CollectionsResource.UpdateDataConnectorRequest
In this article
Back to top Generated by DocFX