Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata

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

Overview

Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata

Returns a new instance of GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata.



15136
15137
15138
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15136

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)


15118
15119
15120
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15118

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)


15123
15124
15125
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15123

def create_time
  @create_time
end

#participant_roleString

Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used. Corresponds to the JSON property participantRole

Returns:

  • (String)


15129
15130
15131
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15129

def participant_role
  @participant_role
end

#suggestion_feature_typeString

Required. The type of the suggestion feature to remove. Corresponds to the JSON property suggestionFeatureType

Returns:

  • (String)


15134
15135
15136
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15134

def suggestion_feature_type
  @suggestion_feature_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15141
15142
15143
15144
15145
15146
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15141

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