Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2CreateConversationModelOperationMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2CreateConversationModelOperationMetadata

Returns a new instance of GoogleCloudDialogflowV2CreateConversationModelOperationMetadata.



13134
13135
13136
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13134

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)


13121
13122
13123
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13121

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)


13127
13128
13129
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13127

def create_time
  @create_time
end

#stateString

State of CreateConversationModel operation. Corresponds to the JSON property state

Returns:

  • (String)


13132
13133
13134
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13132

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13139
13140
13141
13142
13143
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13139

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