Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata

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.ClearSuggestionFeatureConfig operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata

Returns a new instance of GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata.



5684
5685
5686
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5684

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)


5666
5667
5668
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5666

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)


5671
5672
5673
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5671

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)


5677
5678
5679
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5677

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)


5682
5683
5684
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5682

def suggestion_feature_type
  @suggestion_feature_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5689
5690
5691
5692
5693
5694
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5689

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