Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2DeployConversationModelOperationMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2DeployConversationModelOperationMetadata

Returns a new instance of GoogleCloudDialogflowV2DeployConversationModelOperationMetadata.



15830
15831
15832
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15830

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)


15817
15818
15819
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15817

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)


15823
15824
15825
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15823

def create_time
  @create_time
end

#done_timeString

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

Returns:

  • (String)


15828
15829
15830
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15828

def done_time
  @done_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15835
15836
15837
15838
15839
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15835

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)
end