Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DeployConversationModelOperationMetadata

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.DeployConversationModel operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2DeployConversationModelOperationMetadata

Returns a new instance of GoogleCloudDialogflowV2DeployConversationModelOperationMetadata.



9603
9604
9605
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9603

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)


9595
9596
9597
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9595

def conversation_model
  @conversation_model
end

#create_timeString

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

Returns:

  • (String)


9601
9602
9603
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9601

def create_time
  @create_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9608
9609
9610
9611
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9608

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