Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ExportFlowResponse

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

Overview

The response message for Flows.ExportFlow.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExportFlowResponse

Returns a new instance of GoogleCloudDialogflowCxV3ExportFlowResponse.



981
982
983
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 981

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)


973
974
975
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 973

def flow_content
  @flow_content
end

#flow_uriString

The URI to a file containing the exported flow. This field is populated only if flow_uri is specified in ExportFlowRequest. Corresponds to the JSON property flowUri

Returns:

  • (String)


979
980
981
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 979

def flow_uri
  @flow_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



986
987
988
989
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 986

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