Discovery Engine v1 API - Class ListSessionsRequest (1.1.0)

public sealed class ListSessionsRequest : IMessage<ListSessionsRequest>, IEquatable<ListSessionsRequest>, IDeepCloneable<ListSessionsRequest>, IBufferMessage, IMessage, IPageRequest

Reference documentation and code samples for the Discovery Engine v1 API class ListSessionsRequest.

Request for ListSessions method.

Inheritance

object > ListSessionsRequest

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

ListSessionsRequest()

public ListSessionsRequest()

ListSessionsRequest(ListSessionsRequest)

public ListSessionsRequest(ListSessionsRequest other)
Parameter
Name Description
other ListSessionsRequest

Properties

Filter

public string Filter { get; set; }

A filter to apply on the list results. The supported features are: user_pseudo_id, state.

Example: "user_pseudo_id = some_id"

Property Value
Type Description
string

OrderBy

public string OrderBy { get; set; }

A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields:

  • update_time
  • create_time
  • session_name

Example: "update_time desc" "create_time"

Property Value
Type Description
string

PageSize

public int PageSize { get; set; }

Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.

Property Value
Type Description
int

PageToken

public string PageToken { get; set; }

A page token, received from a previous ListSessions call. Provide this to retrieve the subsequent page.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

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

Property Value
Type Description
string

ParentAsDataStoreName

public DataStoreName ParentAsDataStoreName { get; set; }

DataStoreName-typed view over the Parent resource name property.

Property Value
Type Description
DataStoreName