Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportFlowRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Overview

The request message for Flows.ImportFlow.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ImportFlowRequest

Returns a new instance of GoogleCloudDialogflowCxV3ImportFlowRequest.



2422
2423
2424
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2422

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

Instance Attribute Details

#flow_contentString

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

Returns:

  • (String)


2405
2406
2407
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2405

def flow_content
  @flow_content
end

#flow_uriString

The Google Cloud Storage URI to import flow from. The format of this URI must be gs:///. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control. Corresponds to the JSON property flowUri

Returns:

  • (String)


2415
2416
2417
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2415

def flow_uri
  @flow_uri
end

#import_optionString

Flow import mode. If not specified, KEEP is assumed. Corresponds to the JSON property importOption

Returns:

  • (String)


2420
2421
2422
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2420

def import_option
  @import_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2427
2428
2429
2430
2431
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2427

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