ProjectsLocationsDataStoresSessions
class ProjectsLocationsDataStoresSessions extends Resource (View source)
The "sessions" collection of methods.
Typical usage is:
 $discoveryengineService = new Google\Service\DiscoveryEngine(...);
 $sessions = $discoveryengineService->projects_locations_dataStores_sessions;Methods
Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned. (sessions.create)
Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. (sessions.delete)
Gets a Session. (sessions.get)
Lists all Sessions by their parent DataStore.
Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned. (sessions.patch)
Details
        
                            GoogleCloudDiscoveryengineV1Session
    create(string $parent, GoogleCloudDiscoveryengineV1Session $postBody, array $optParams = [])
        
    
    Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned. (sessions.create)
        
                            GoogleProtobufEmpty
    delete(string $name, array $optParams = [])
        
    
    Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. (sessions.delete)
        
                            GoogleCloudDiscoveryengineV1Session
    get(string $name, array $optParams = [])
        
    
    Gets a Session. (sessions.get)
        
                            GoogleCloudDiscoveryengineV1ListSessionsResponse
    listProjectsLocationsDataStoresSessions(string $parent, array $optParams = [])
        
    
    Lists all Sessions by their parent DataStore.
(sessions.listProjectsLocationsDataStoresSessions)
        
                            GoogleCloudDiscoveryengineV1Session
    patch(string $name, GoogleCloudDiscoveryengineV1Session $postBody, array $optParams = [])
        
    
    Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned. (sessions.patch)