Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource

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

Inline source for a Dialogflow operation that reads or imports objects (e.g. intents) into Dialogflow.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3InlineSource

Returns a new instance of GoogleCloudDialogflowCxV3InlineSource.



4269
4270
4271
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4269

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

Instance Attribute Details

#contentString

The uncompressed byte content for the objects. Corresponds to the JSON property content NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


4267
4268
4269
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4267

def content
  @content
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4274
4275
4276
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4274

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