Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportIntentsResponse

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

Overview

The response message for Intents.ImportIntents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ImportIntentsResponse

Returns a new instance of GoogleCloudDialogflowCxV3ImportIntentsResponse.



4128
4129
4130
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4128

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

Instance Attribute Details

#conflicting_resourcesGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources

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



4120
4121
4122
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4120

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>)


4126
4127
4128
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4126

def intents
  @intents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4133
4134
4135
4136
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4133

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