Class ProjectsResource.LocationsResource.DataStoresResource.ConversationsResource
The "conversations" collection of methods.
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DataStoresResource.ConversationsResource
Constructors
ConversationsResource(IClientService)
Constructs a new resource.
Declaration
public ConversationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Converse(GoogleCloudDiscoveryengineV1ConverseConversationRequest, string)
Converses a conversation.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.ConversationsResource.ConverseRequest Converse(GoogleCloudDiscoveryengineV1ConverseConversationRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1ConverseConversationRequest | body | The body of the request. |
string | name | Required. The resource name of the Conversation to get. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.ConversationsResource.ConverseRequest |
Create(GoogleCloudDiscoveryengineV1Conversation, string)
Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.ConversationsResource.CreateRequest Create(GoogleCloudDiscoveryengineV1Conversation body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1Conversation | body | The body of the request. |
string | parent | Required. Full resource name of parent data store. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.ConversationsResource.CreateRequest |
Delete(string)
Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.ConversationsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Conversation to delete. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.ConversationsResource.DeleteRequest |
Get(string)
Gets a Conversation.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.ConversationsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Conversation to get. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.ConversationsResource.GetRequest |
List(string)
Lists all Conversations by their parent DataStore.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.ConversationsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The data store resource name. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.ConversationsResource.ListRequest |
Patch(GoogleCloudDiscoveryengineV1Conversation, string)
Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.ConversationsResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1Conversation body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1Conversation | body | The body of the request. |
string | name | Immutable. Fully qualified name
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.ConversationsResource.PatchRequest |