Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2CreateConversationModelOperationMetadata

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 ConversationModels.CreateConversationModel operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2CreateConversationModelOperationMetadata

Returns a new instance of GoogleCloudDialogflowV2CreateConversationModelOperationMetadata.



8705
8706
8707
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8705

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)


8687
8688
8689
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8687

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)


8693
8694
8695
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8693

def create_time
  @create_time
end

#done_timeString

The time when the operation finished. Corresponds to the JSON property doneTime

Returns:

  • (String)


8698
8699
8700
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8698

def done_time
  @done_time
end

#stateString

State of CreateConversationModel operation. Corresponds to the JSON property state

Returns:

  • (String)


8703
8704
8705
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8703

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8710
8711
8712
8713
8714
8715
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8710

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