Class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.SessionsResource
The "sessions" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1beta
Assembly: Google.Apis.DiscoveryEngine.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.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.CollectionsResource.EnginesResource.SessionsResource.AnswersResource Answers { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.SessionsResource.AnswersResource |
Methods
Create(GoogleCloudDiscoveryengineV1betaSession, string)
Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.SessionsResource.CreateRequest Create(GoogleCloudDiscoveryengineV1betaSession body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1betaSession | body | The body of the request. |
string | parent | Required. Full resource name of parent data store. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.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.CollectionsResource.EnginesResource.SessionsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Session to delete. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.SessionsResource.DeleteRequest |
Get(string)
Gets a Session.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.SessionsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Session to get. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.SessionsResource.GetRequest |
List(string)
Lists all Sessions by their parent DataStore.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.SessionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The data store resource name. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.SessionsResource.ListRequest |
Patch(GoogleCloudDiscoveryengineV1betaSession, 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.CollectionsResource.EnginesResource.SessionsResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1betaSession body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1betaSession | body | The body of the request. |
string | name | Immutable. Fully qualified name
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.SessionsResource.PatchRequest |