Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ImportIntentsResponse

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 Intents.ImportIntents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ImportIntentsResponse

Returns a new instance of GoogleCloudDialogflowCxV3beta1ImportIntentsResponse.



5462
5463
5464
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5462

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

Instance Attribute Details

#conflicting_resourcesGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources

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



5454
5455
5456
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5454

def conflicting_resources
  @conflicting_resources
end

#intentsArray<String>

The unique identifier of the imported intents. Format: projects//locations// agents//intents/. Corresponds to the JSON property intents

Returns:

  • (Array<String>)


5460
5461
5462
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5460

def intents
  @intents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5467
5468
5469
5470
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5467

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