Class ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.ConversationsResource
The "conversations" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.ConversationsResource
Constructors
ConversationsResource(IClientService)
Constructs a new resource.
Declaration
public ConversationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Converse(GoogleCloudDiscoveryengineV1alphaConverseConversationRequest, string)
Converses a conversation.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.ConversationsResource.ConverseRequest Converse(GoogleCloudDiscoveryengineV1alphaConverseConversationRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1alphaConverseConversationRequest | body | The body of the request. |
string | name | Required. The resource name of the Conversation to get. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.ConversationsResource.ConverseRequest |
Create(GoogleCloudDiscoveryengineV1alphaConversation, string)
Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.ConversationsResource.CreateRequest Create(GoogleCloudDiscoveryengineV1alphaConversation body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1alphaConversation | body | The body of the request. |
string | parent | Required. Full resource name of parent data store. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.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.CollectionsResource.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.CollectionsResource.DataStoresResource.ConversationsResource.DeleteRequest |
Get(string)
Gets a Conversation.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.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.CollectionsResource.DataStoresResource.ConversationsResource.GetRequest |
List(string)
Lists all Conversations by their parent DataStore.
Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.ConversationsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The data store resource name. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.ConversationsResource.ListRequest |
Patch(GoogleCloudDiscoveryengineV1alphaConversation, 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.CollectionsResource.DataStoresResource.ConversationsResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1alphaConversation body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1alphaConversation | body | The body of the request. |
string | name | Immutable. Fully qualified name
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.ConversationsResource.PatchRequest |