Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata

Returns a new instance of GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata.



16157
16158
16159
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16157

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)


16149
16150
16151
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16149

def conversation_model
  @conversation_model
end

#create_timeString

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

Returns:

  • (String)


16155
16156
16157
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16155

def create_time
  @create_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16162
16163
16164
16165
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16162

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