Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CreateConversationModelOperationMetadata

Inherits:
Object
  • Object
show all
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 ConversationModels.CreateConversationModel operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2CreateConversationModelOperationMetadata

Returns a new instance of GoogleCloudDialogflowV2CreateConversationModelOperationMetadata.



7777
7778
7779
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7777

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

Instance Attribute Details

#conversation_modelString

The resource name of the conversation model. Format: projects// conversationModels/ Corresponds to the JSON property conversationModel

Returns:

  • (String)


7764
7765
7766
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7764

def conversation_model
  @conversation_model
end

#create_timeString

Timestamp when the request to create conversation model is submitted. The time is measured on server side. Corresponds to the JSON property createTime

Returns:

  • (String)


7770
7771
7772
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7770

def create_time
  @create_time
end

#stateString

State of CreateConversationModel operation. Corresponds to the JSON property state

Returns:

  • (String)


7775
7776
7777
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7775

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7782
7783
7784
7785
7786
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7782

def update!(**args)
  @conversation_model = args[:conversation_model] if args.key?(:conversation_model)
  @create_time = args[:create_time] if args.key?(:create_time)
  @state = args[:state] if args.key?(:state)
end