Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2CreateConversationModelOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/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.



9501
9502
9503
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9501

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)


9488
9489
9490
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9488

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)


9494
9495
9496
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9494

def create_time
  @create_time
end

#stateString

State of CreateConversationModel operation. Corresponds to the JSON property state

Returns:

  • (String)


9499
9500
9501
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9499

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9506
9507
9508
9509
9510
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9506

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