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

Overview

The request message for Playbooks.ImportPlaybook.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest

Returns a new instance of GoogleCloudDialogflowCxV3beta1ImportPlaybookRequest.



8786
8787
8788
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8786

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

Instance Attribute Details

#import_strategyGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy

The playbook import strategy used for resource conflict resolution associated with an ImportPlaybookRequest. Corresponds to the JSON property importStrategy



8772
8773
8774
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8772

def import_strategy
  @import_strategy
end

#playbook_contentString

Uncompressed raw byte content for playbook. Corresponds to the JSON property playbookContent NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


8778
8779
8780
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8778

def playbook_content
  @playbook_content
end

#playbook_uriString

Dialogflow access control. Corresponds to the JSON property playbookUri

Returns:

  • (String)


8784
8785
8786
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8784

def playbook_uri
  @playbook_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8791
8792
8793
8794
8795
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8791

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