Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DataStoresResource.SessionsResource

The "sessions" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.DataStoresResource.SessionsResource
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.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DataStoresResource.SessionsResource

Constructors

SessionsResource(IClientService)

Constructs a new resource.

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

Properties

Answers

Gets the Answers resource.

Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SessionsResource.AnswersResource Answers { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.DataStoresResource.SessionsResource.AnswersResource

Methods

Create(GoogleCloudDiscoveryengineV1Session, string)

Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned.

Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SessionsResource.CreateRequest Create(GoogleCloudDiscoveryengineV1Session body, string parent)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1Session body

The body of the request.

string parent

Required. Full resource name of parent data store. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}

Returns
Type Description
ProjectsResource.LocationsResource.DataStoresResource.SessionsResource.CreateRequest

Delete(string)

Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned.

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

Required. The resource name of the Session to delete. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}

Returns
Type Description
ProjectsResource.LocationsResource.DataStoresResource.SessionsResource.DeleteRequest

Get(string)

Gets a Session.

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

Required. The resource name of the Session to get. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}

Returns
Type Description
ProjectsResource.LocationsResource.DataStoresResource.SessionsResource.GetRequest

List(string)

Lists all Sessions by their parent DataStore.

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

Required. The data store resource name. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}

Returns
Type Description
ProjectsResource.LocationsResource.DataStoresResource.SessionsResource.ListRequest

Patch(GoogleCloudDiscoveryengineV1Session, string)

Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned.

Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SessionsResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1Session body, string name)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1Session body

The body of the request.

string name

Immutable. Fully qualified name projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*

Returns
Type Description
ProjectsResource.LocationsResource.DataStoresResource.SessionsResource.PatchRequest
In this article
Back to top Generated by DocFX