Vertex AI v1beta1 API - Class ListSessionsResponse (1.0.0-beta24)

public sealed class ListSessionsResponse : IMessage<ListSessionsResponse>, IEquatable<ListSessionsResponse>, IDeepCloneable<ListSessionsResponse>, IBufferMessage, IMessage, IPageResponse<Session>, IEnumerable<Session>, IEnumerable

Reference documentation and code samples for the Vertex AI v1beta1 API class ListSessionsResponse.

Response message for [SessionService.ListSessions][google.cloud.aiplatform.v1beta1.SessionService.ListSessions].

Inheritance

object > ListSessionsResponse

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

ListSessionsResponse()

public ListSessionsResponse()

ListSessionsResponse(ListSessionsResponse)

public ListSessionsResponse(ListSessionsResponse other)
Parameter
Name Description
other ListSessionsResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

A token, which can be sent as [ListSessionsRequest.page_token][google.cloud.aiplatform.v1beta1.ListSessionsRequest.page_token] to retrieve the next page. Absence of this field indicates there are no subsequent pages.

Property Value
Type Description
string

Sessions

public RepeatedField<Session> Sessions { get; }

A list of sessions matching the request.

Property Value
Type Description
RepeatedFieldSession

Methods

GetEnumerator()

public IEnumerator<Session> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

Returns
Type Description
IEnumeratorSession