Class ProjectsResource.LocationsResource.ConversationProfilesResource
The "conversationProfiles" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ConversationProfilesResource
Constructors
ConversationProfilesResource(IClientService)
Constructs a new resource.
Declaration
public ConversationProfilesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
ClearSuggestionFeatureConfig(GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest, 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.LocationsResource.ConversationProfilesResource.ClearSuggestionFeatureConfigRequest ClearSuggestionFeatureConfig(GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest body, string conversationProfile)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest | 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.LocationsResource.ConversationProfilesResource.ClearSuggestionFeatureConfigRequest |
Create(GoogleCloudDialogflowV2ConversationProfile, 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.LocationsResource.ConversationProfilesResource.CreateRequest Create(GoogleCloudDialogflowV2ConversationProfile body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2ConversationProfile | body | The body of the request. |
string | parent | Required. The project to create a conversation profile for. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversationProfilesResource.CreateRequest |
Delete(string)
Deletes the specified conversation profile.
Declaration
public virtual ProjectsResource.LocationsResource.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.LocationsResource.ConversationProfilesResource.DeleteRequest |
Get(string)
Retrieves the specified conversation profile.
Declaration
public virtual ProjectsResource.LocationsResource.ConversationProfilesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the conversation profile. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversationProfilesResource.GetRequest |
List(string)
Returns the list of all conversation profiles in the specified project.
Declaration
public virtual ProjectsResource.LocationsResource.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.LocationsResource.ConversationProfilesResource.ListRequest |
Patch(GoogleCloudDialogflowV2ConversationProfile, 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.LocationsResource.ConversationProfilesResource.PatchRequest Patch(GoogleCloudDialogflowV2ConversationProfile body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2ConversationProfile | body | The body of the request. |
string | name | The unique identifier of this conversation profile. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversationProfilesResource.PatchRequest |
SetSuggestionFeatureConfig(GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest, 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.LocationsResource.ConversationProfilesResource.SetSuggestionFeatureConfigRequest SetSuggestionFeatureConfig(GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest body, string conversationProfile)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest | 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.LocationsResource.ConversationProfilesResource.SetSuggestionFeatureConfigRequest |