Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportIntentsRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ImportIntentsRequest

Returns a new instance of GoogleCloudDialogflowCxV3ImportIntentsRequest.



4100
4101
4102
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4100

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

Instance Attribute Details

#intents_contentGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource

Corresponds to the JSON property intentsContent



4088
4089
4090
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4088

def intents_content
  @intents_content
end

#intents_uriString

Corresponds to the JSON property intentsUri

Returns:

  • (String)


4093
4094
4095
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4093

def intents_uri
  @intents_uri
end

#merge_optionString

Corresponds to the JSON property mergeOption

Returns:

  • (String)


4098
4099
4100
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4098

def merge_option
  @merge_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4105
4106
4107
4108
4109
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4105

def update!(**args)
  @intents_content = args[:intents_content] if args.key?(:intents_content)
  @intents_uri = args[:intents_uri] if args.key?(:intents_uri)
  @merge_option = args[:merge_option] if args.key?(:merge_option)
end