Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
Instance Attribute Summary collapse
-
#conversation_profile ⇒ String
The resource name of the conversation profile.
-
#create_time ⇒ String
Timestamp whe the request was created.
-
#participant_role ⇒ String
Required.
-
#suggestion_feature_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata
constructor
A new instance of GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata
Returns a new instance of GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata.
16483 16484 16485 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16483 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_profile ⇒ String
The resource name of the conversation profile. Format: projects//locations//
conversationProfiles/
Corresponds to the JSON property conversationProfile
16465 16466 16467 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16465 def conversation_profile @conversation_profile end |
#create_time ⇒ String
Timestamp whe the request was created. The time is measured on server side.
Corresponds to the JSON property createTime
16470 16471 16472 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16470 def create_time @create_time end |
#participant_role ⇒ String
Required. The participant role to add or update the suggestion feature config.
Only HUMAN_AGENT or END_USER can be used.
Corresponds to the JSON property participantRole
16476 16477 16478 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16476 def participant_role @participant_role end |
#suggestion_feature_type ⇒ String
Required. The type of the suggestion feature to add or update.
Corresponds to the JSON property suggestionFeatureType
16481 16482 16483 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16481 def suggestion_feature_type @suggestion_feature_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16488 16489 16490 16491 16492 16493 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16488 def update!(**args) @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile) @create_time = args[:create_time] if args.key?(:create_time) @participant_role = args[:participant_role] if args.key?(:participant_role) @suggestion_feature_type = args[:suggestion_feature_type] if args.key?(:suggestion_feature_type) end |