Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest

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.ExportPlaybook.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest

Returns a new instance of GoogleCloudDialogflowCxV3beta1ExportPlaybookRequest.



7918
7919
7920
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7918

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

Instance Attribute Details

#data_formatString

Optional. The data format of the exported agent. If not specified, BLOB is assumed. Corresponds to the JSON property dataFormat

Returns:

  • (String)


7905
7906
7907
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7905

def data_format
  @data_format
end

#playbook_uriString

Optional. The Google Cloud Storage URI to export the playbook to. The format of this URI must be gs:///. If left unspecified, the serialized playbook is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see Dialogflow access control. Corresponds to the JSON property playbookUri

Returns:

  • (String)


7916
7917
7918
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7916

def playbook_uri
  @playbook_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7923
7924
7925
7926
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7923

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