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.



8122
8123
8124
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8122

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)


8114
8115
8116
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8114

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)


8120
8121
8122
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8120

def create_time
  @create_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8127
8128
8129
8130
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8127

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