Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/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) ⇒ GoogleCloudDialogflowCxV3beta1InlineSource

Returns a new instance of GoogleCloudDialogflowCxV3beta1InlineSource.



8429
8430
8431
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8429

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)


8427
8428
8429
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8427

def content
  @content
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8434
8435
8436
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8434

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