public class DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.Answers
The "answers" collection of methods.
|
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.Create |
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.Delete |
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.Get |
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.List |
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.Patch |
| Constructor and Description |
|---|
Sessions() |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.Answers |
answers()
An accessor for creating requests from the Answers collection.
|
DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.Create |
create(String parent,
GoogleCloudDiscoveryengineV1Session content)
Creates a Session.
|
DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.Delete |
delete(String name)
Deletes a Session.
|
DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.Get |
get(String name)
Gets a Session.
|
DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.List |
list(String parent)
Lists all Sessions by their parent DataStore.
|
DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.Patch |
patch(String name,
GoogleCloudDiscoveryengineV1Session content)
Updates a Session.
|
public DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.Create create(String parent, GoogleCloudDiscoveryengineV1Session content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. Full resource name of parent data store. Format:
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_i
d}`content - the GoogleCloudDiscoveryengineV1SessionIOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{locatio
n}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`IOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/
collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}`IOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The data store resource name. Format:
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_i
d}`IOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.Patch patch(String name, GoogleCloudDiscoveryengineV1Session content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Immutable. Fully qualified name
`projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions`content - the GoogleCloudDiscoveryengineV1SessionIOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.Engines.Sessions.Answers answers()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.Answers.List request = discoveryengine.answers().list(parameters ...)
Copyright © 2011–2026 Google. All rights reserved.