Class ProjectsResource.LocationsResource.SessionsResource
The "sessions" collection of methods.
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.SessionsResource
Constructors
SessionsResource(IClientService)
Constructs a new resource.
Declaration
public SessionsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(GoogleCloudAiplatformV1beta1Session, string)
Creates a new Session in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.SessionsResource.CreateRequest Create(GoogleCloudAiplatformV1beta1Session body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudAiplatformV1beta1Session | body | The body of the request. |
| string | parent | Required. The resource name of the location to create the session in. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.SessionsResource.CreateRequest |
Delete(string)
Deletes details of the specific Session.
Declaration
public virtual ProjectsResource.LocationsResource.SessionsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the session. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.SessionsResource.DeleteRequest |
Get(string)
Gets details of the specific Session.
Declaration
public virtual ProjectsResource.LocationsResource.SessionsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the session. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.SessionsResource.GetRequest |
List(string)
Lists Sessions in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.SessionsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The resource name of the location to list sessions from. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.SessionsResource.ListRequest |
Patch(GoogleCloudAiplatformV1beta1Session, string)
Updates the specific Session.
Declaration
public virtual ProjectsResource.LocationsResource.SessionsResource.PatchRequest Patch(GoogleCloudAiplatformV1beta1Session body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudAiplatformV1beta1Session | body | The body of the request. |
| string | name | Required. Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.SessionsResource.PatchRequest |