Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ImportConversationDataOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
more...

Overview

Metadata for a ConversationDatasets.ImportConversationData operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ImportConversationDataOperationMetadata

Returns a new instance of GoogleCloudDialogflowV2ImportConversationDataOperationMetadata.

[View source]

15265
15266
15267
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15265

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#conversation_datasetString

The resource name of the imported conversation dataset. Format: projects// locations//conversationDatasets/ Corresponds to the JSON property conversationDataset

Returns:

  • (String)

15251
15252
15253
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15251

def conversation_dataset
  @conversation_dataset
end

#create_timeString

Timestamp when import conversation data request was created. The time is measured on server side. Corresponds to the JSON property createTime

Returns:

  • (String)

15257
15258
15259
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15257

def create_time
  @create_time
end

#partial_failuresArray<Google::Apis::DialogflowV3beta1::GoogleRpcStatus>

Partial failures are failures that don't fail the whole long running operation, e.g. single files that couldn't be read. Corresponds to the JSON property partialFailures


15263
15264
15265
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15263

def partial_failures
  @partial_failures
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

15270
15271
15272
15273
15274
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15270

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