Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Overview

Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata

Returns a new instance of GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata.



18803
18804
18805
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18803

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#conversation_profileString

The resource name of the conversation profile. Format: projects//locations// conversationProfiles/ Corresponds to the JSON property conversationProfile

Returns:

  • (String)


18785
18786
18787
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18785

def conversation_profile
  @conversation_profile
end

#create_timeString

Timestamp whe the request was created. The time is measured on server side. Corresponds to the JSON property createTime

Returns:

  • (String)


18790
18791
18792
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18790

def create_time
  @create_time
end

#participant_roleString

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

Returns:

  • (String)


18796
18797
18798
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18796

def participant_role
  @participant_role
end

#suggestion_feature_typeString

Required. The type of the suggestion feature to add or update. Corresponds to the JSON property suggestionFeatureType

Returns:

  • (String)


18801
18802
18803
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18801

def suggestion_feature_type
  @suggestion_feature_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18808
18809
18810
18811
18812
18813
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18808

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