Class ProjectsResource.ConversationProfilesResource.SetSuggestionFeatureConfigRequest
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.
Inheritance
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.ConversationProfilesResource.SetSuggestionFeatureConfigRequest : DialogflowBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
SetSuggestionFeatureConfigRequest(IClientService, GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest, string)
Constructs a new SetSuggestionFeatureConfig request.
Declaration
public SetSuggestionFeatureConfigRequest(IClientService service, GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest body, string conversationProfile)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest | body | |
string | conversationProfile |
Properties
ConversationProfile
Required. The Conversation Profile to add or update the suggestion feature config. Format:
projects//locations//conversationProfiles/
.
Declaration
[RequestParameter("conversationProfile", RequestParameterType.Path)]
public virtual string ConversationProfile { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes SetSuggestionFeatureConfig parameter list.
Declaration
protected override void InitParameters()