Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest

Returns a new instance of GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest.



8379
8380
8381
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8379

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

Instance Attribute Details

#import_strategyGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy

Corresponds to the JSON property importStrategy



8366
8367
8368
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8366

def import_strategy
  @import_strategy
end

#playbook_contentString

Corresponds to the JSON property playbookContent NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


8372
8373
8374
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8372

def playbook_content
  @playbook_content
end

#playbook_uriString

Corresponds to the JSON property playbookUri

Returns:

  • (String)


8377
8378
8379
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8377

def playbook_uri
  @playbook_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8384
8385
8386
8387
8388
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8384

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