Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ImportEntityTypesResponse

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

Overview

The response message for EntityTypes.ImportEntityTypes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ImportEntityTypesResponse

Returns a new instance of GoogleCloudDialogflowCxV3ImportEntityTypesResponse.



1504
1505
1506
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1504

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

Instance Attribute Details

#conflicting_resourcesGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources

Conflicting resources detected during the import process. Only filled when REPORT_CONFLICT is set in the request and there are conflicts in the display names. Corresponds to the JSON property conflictingResources



1496
1497
1498
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1496

def conflicting_resources
  @conflicting_resources
end

#entity_typesArray<String>

The unique identifier of the imported entity types. Format: projects// locations//agents//entity_types/. Corresponds to the JSON property entityTypes

Returns:

  • (Array<String>)


1502
1503
1504
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1502

def entity_types
  @entity_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1509
1510
1511
1512
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1509

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