Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportFlowRequest

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 Flows.ExportFlow.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExportFlowRequest

Returns a new instance of GoogleCloudDialogflowCxV3beta1ExportFlowRequest.



5138
5139
5140
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5138

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

Instance Attribute Details

#flow_uriString

Optional. The Google Cloud Storage URI to export the flow to. The format of this URI must be gs:///. If left unspecified, the serialized flow 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 flowUri

Returns:

  • (String)


5130
5131
5132
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5130

def flow_uri
  @flow_uri
end

#include_referenced_flowsBoolean Also known as: include_referenced_flows?

Optional. Whether to export flows referenced by the specified flow. Corresponds to the JSON property includeReferencedFlows

Returns:

  • (Boolean)


5135
5136
5137
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5135

def include_referenced_flows
  @include_referenced_flows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5143
5144
5145
5146
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5143

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