Class ProjectsResource.ConversationProfilesResource
The "conversationProfiles" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.ConversationProfilesResource
Constructors
ConversationProfilesResource(IClientService)
Constructs a new resource.
Declaration
public ConversationProfilesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
ClearSuggestionFeatureConfig(GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest, string)
Clears a suggestion feature from a conversation profile for the given participant role. This method is a
long-running operation. The
returned Operation
type has the following method-specific fields: - metadata
:
ClearSuggestionFeatureConfigOperationMetadata - response
: ConversationProfile
Declaration
public virtual ProjectsResource.ConversationProfilesResource.ClearSuggestionFeatureConfigRequest ClearSuggestionFeatureConfig(GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest body, string conversationProfile)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest | body | The body of the request. |
string | conversationProfile | Required. The Conversation Profile to add or update the suggestion feature config. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.ConversationProfilesResource.ClearSuggestionFeatureConfigRequest |
Create(GoogleCloudDialogflowV2beta1ConversationProfile, string)
Creates a conversation profile in the specified project. ConversationProfile.CreateTime and ConversationProfile.UpdateTime aren't populated in the response. You can retrieve them via GetConversationProfile API.
Declaration
public virtual ProjectsResource.ConversationProfilesResource.CreateRequest Create(GoogleCloudDialogflowV2beta1ConversationProfile body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2beta1ConversationProfile | body | The body of the request. |
string | parent | Required. The project to create a conversation profile for. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.ConversationProfilesResource.CreateRequest |
Delete(string)
Deletes the specified conversation profile.
Declaration
public virtual ProjectsResource.ConversationProfilesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the conversation profile to delete. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.ConversationProfilesResource.DeleteRequest |
Get(string)
Retrieves the specified conversation profile.
Declaration
public virtual ProjectsResource.ConversationProfilesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the conversation profile. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.ConversationProfilesResource.GetRequest |
List(string)
Returns the list of all conversation profiles in the specified project.
Declaration
public virtual ProjectsResource.ConversationProfilesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The project to list all conversation profiles from. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.ConversationProfilesResource.ListRequest |
Patch(GoogleCloudDialogflowV2beta1ConversationProfile, string)
Updates the specified conversation profile. ConversationProfile.CreateTime and ConversationProfile.UpdateTime aren't populated in the response. You can retrieve them via GetConversationProfile API.
Declaration
public virtual ProjectsResource.ConversationProfilesResource.PatchRequest Patch(GoogleCloudDialogflowV2beta1ConversationProfile body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2beta1ConversationProfile | body | The body of the request. |
string | name | The unique identifier of this conversation profile. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.ConversationProfilesResource.PatchRequest |
SetSuggestionFeatureConfig(GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest, string)
Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the
type of suggestion feature for the participant role, it will update it. Otherwise it will insert the
suggestion feature. This method is a long-running
operation. The returned
Operation
type has the following method-specific fields: - metadata
:
SetSuggestionFeatureConfigOperationMetadata - response
: ConversationProfile If a long running
operation to add or update suggestion feature config for the same conversation profile, participant role
and suggestion feature type exists, please cancel the existing long running operation before sending
such request, otherwise the request will be rejected.
Declaration
public virtual ProjectsResource.ConversationProfilesResource.SetSuggestionFeatureConfigRequest SetSuggestionFeatureConfig(GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest body, string conversationProfile)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest | body | The body of the request. |
string | conversationProfile | Required. The Conversation Profile to add or update the suggestion feature config. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.ConversationProfilesResource.SetSuggestionFeatureConfigRequest |