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.



10443
10444
10445
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10443

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)


10430
10431
10432
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10430

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)


10436
10437
10438
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10436

def create_time
  @create_time
end

#done_timeString

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

Returns:

  • (String)


10441
10442
10443
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10441

def done_time
  @done_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10448
10449
10450
10451
10452
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10448

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