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.



9610
9611
9612
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9610

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



9596
9597
9598
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9596

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)


9602
9603
9604
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9602

def playbook_content
  @playbook_content
end

#playbook_uriString

Dialogflow access control. Corresponds to the JSON property playbookUri

Returns:

  • (String)


9608
9609
9610
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9608

def playbook_uri
  @playbook_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9615
9616
9617
9618
9619
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9615

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