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.



8770
8771
8772
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8770

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



8756
8757
8758
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8756

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)


8762
8763
8764
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8762

def playbook_content
  @playbook_content
end

#playbook_uriString

Dialogflow access control. Corresponds to the JSON property playbookUri

Returns:

  • (String)


8768
8769
8770
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8768

def playbook_uri
  @playbook_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8775
8776
8777
8778
8779
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8775

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