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.



9535
9536
9537
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9535

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)


9522
9523
9524
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9522

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)


9528
9529
9530
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9528

def create_time
  @create_time
end

#stateString

State of CreateConversationModel operation. Corresponds to the JSON property state

Returns:

  • (String)


9533
9534
9535
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9533

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9540
9541
9542
9543
9544
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9540

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