# This is an automatically generated code sample.
# To make this code sample work in your Oracle Cloud tenancy,
# please replace the values for any parameters whose current values do not fit
# your use case (such as resource IDs, strings containing ‘EXAMPLE’ or ‘unique_id’, and
# boolean, number, and enum parameters with values not fitting your use case).

require 'oci'

# Create a default config using DEFAULT profile in default location
# Refer to https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File for more info
config = OCI::ConfigFileLoader.load_config

# Initialize service client with default config file
data_integration_client =
  OCI::DataIntegration::DataIntegrationClient.new(config: config)

# Send the request to service, some parameters are not required, see API doc for more info
update_pipeline_response =
  data_integration_client.update_pipeline(
    'ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value',
    'EXAMPLE-pipelineKey-Value',
    OCI::DataIntegration::Models::UpdatePipelineDetails.new(
      key: 'EXAMPLE-key-Value',
      model_type: 'EXAMPLE-modelType-Value',
      object_version: 390,
      model_version: 'EXAMPLE-modelVersion-Value',
      parent_ref:
        OCI::DataIntegration::Models::ParentReference.new(
          parent: 'EXAMPLE-parent-Value',
          root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
        ),
      name: 'EXAMPLE-name-Value',
      description: 'EXAMPLE-description-Value',
      object_status: 476,
      identifier: 'EXAMPLE-identifier-Value',
      nodes: [
        OCI::DataIntegration::Models::FlowNode.new(
          key: 'EXAMPLE-key-Value',
          model_type: 'EXAMPLE-modelType-Value',
          model_version: 'EXAMPLE-modelVersion-Value',
          parent_ref:
            OCI::DataIntegration::Models::ParentReference.new(
              parent: 'EXAMPLE-parent-Value',
              root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
            ),
          name: 'EXAMPLE-name-Value',
          description: 'EXAMPLE-description-Value',
          input_links: [
            OCI::DataIntegration::Models::InputLink.new(
              model_type: 'INPUT_LINK',
              key: 'EXAMPLE-key-Value',
              model_version: 'EXAMPLE-modelVersion-Value',
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                ),
              object_status: 674,
              description: 'EXAMPLE-description-Value',
              port: 'EXAMPLE-port-Value',
              from_link: 'EXAMPLE-fromLink-Value',
              field_map:
                OCI::DataIntegration::Models::RuleBasedFieldMap.new(
                  model_type: 'RULE_BASED_FIELD_MAP',
                  description: 'EXAMPLE-description-Value',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_1kV8Q' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 355,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  map_type: 'MAPBYPATTERN',
                  from_pattern: 'EXAMPLE-fromPattern-Value',
                  to_pattern: 'EXAMPLE-toPattern-Value',
                  is_java_regex_syntax: true,
                  object_status: 769,
                  from_rule_config:
                    OCI::DataIntegration::Models::RuleTypeConfig.new(
                      model_type: 'RULE_TYPE_CONFIGS',
                      key: 'EXAMPLE-key-Value',
                      model_version: 'EXAMPLE-modelVersion-Value',
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        ),
                      scope: 'EXAMPLE-scope-Value',
                      scope_reference:
                        OCI::DataIntegration::Models::ScopeReference.new(
                          reference_object: 'EXAMPLE-referenceObject-Value',
                          reference_type: 'OCI_FUNCTION_INPUT_SHAPE',
                          ref_object_name: 'EXAMPLE-refObjectName-Value'
                        ),
                      is_order_by_rule: true,
                      projection_rules: [
                        OCI::DataIntegration::Models::GroupedNamePatternRule
                          .new(
                          model_type: 'GROUPED_NAME_PATTERN_RULE',
                          key: 'EXAMPLE-key-Value',
                          model_version: 'EXAMPLE-modelVersion-Value',
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            ),
                          is_java_regex_syntax: false,
                          config_values:
                            OCI::DataIntegration::Models::ConfigValues.new(
                              config_param_values: {
                                'EXAMPLE_KEY_54dq2' => {
                                  'stringValue' => 'EXAMPLE-stringValue-Value',
                                  'intValue' => 838,
                                  'objectValue' => 'EXAMPLE-objectValue-Value',
                                  'refValue' => 'EXAMPLE-refValue-Value',
                                  'parameterValue' =>
                                    'EXAMPLE-parameterValue-Value',
                                  'rootObjectValue' =>
                                    'EXAMPLE-rootObjectValue-Value'
                                }
                              },
                              parent_ref:
                                OCI::DataIntegration::Models::ParentReference
                                  .new(
                                  parent: 'EXAMPLE-parent-Value',
                                  root_doc_id:
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                )
                            ),
                          object_status: 720,
                          description: 'EXAMPLE-description-Value',
                          name: 'EXAMPLE-name-Value',
                          is_skip_remaining_rules_on_match: true,
                          scope: 'EXAMPLE-scope-Value',
                          is_cascade: true,
                          matching_strategy: 'NAME_ONLY',
                          is_case_sensitive: false,
                          rule_type: 'INCLUDE',
                          pattern: 'EXAMPLE-pattern-Value'
                        )
                      ],
                      config_values:
                        OCI::DataIntegration::Models::ConfigValues.new(
                          config_param_values: {
                            'EXAMPLE_KEY_3NKNU' => {
                              'stringValue' => 'EXAMPLE-stringValue-Value',
                              'intValue' => 521,
                              'objectValue' => 'EXAMPLE-objectValue-Value',
                              'refValue' => 'EXAMPLE-refValue-Value',
                              'parameterValue' =>
                                'EXAMPLE-parameterValue-Value',
                              'rootObjectValue' =>
                                'EXAMPLE-rootObjectValue-Value'
                            }
                          },
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            )
                        ),
                      object_status: 50
                    ),
                  to_rule_config:
                    OCI::DataIntegration::Models::RuleTypeConfig.new(
                      model_type: 'RULE_TYPE_CONFIGS',
                      key: 'EXAMPLE-key-Value',
                      model_version: 'EXAMPLE-modelVersion-Value',
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        ),
                      scope: 'EXAMPLE-scope-Value',
                      scope_reference:
                        OCI::DataIntegration::Models::ScopeReference.new(
                          reference_object: 'EXAMPLE-referenceObject-Value',
                          reference_type: 'BOUND_ENTITY_SHAPE_FIELD',
                          ref_object_name: 'EXAMPLE-refObjectName-Value'
                        ),
                      is_order_by_rule: false,
                      projection_rules: [
                        OCI::DataIntegration::Models::TypedNamePatternRule.new(
                          model_type: 'TYPED_NAME_PATTERN_RULE',
                          key: 'EXAMPLE-key-Value',
                          model_version: 'EXAMPLE-modelVersion-Value',
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            ),
                          is_java_regex_syntax: false,
                          config_values:
                            OCI::DataIntegration::Models::ConfigValues.new(
                              config_param_values: {
                                'EXAMPLE_KEY_SbQlm' => {
                                  'stringValue' => 'EXAMPLE-stringValue-Value',
                                  'intValue' => 138,
                                  'objectValue' => 'EXAMPLE-objectValue-Value',
                                  'refValue' => 'EXAMPLE-refValue-Value',
                                  'parameterValue' =>
                                    'EXAMPLE-parameterValue-Value',
                                  'rootObjectValue' =>
                                    'EXAMPLE-rootObjectValue-Value'
                                }
                              },
                              parent_ref:
                                OCI::DataIntegration::Models::ParentReference
                                  .new(
                                  parent: 'EXAMPLE-parent-Value',
                                  root_doc_id:
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                )
                            ),
                          object_status: 381,
                          description: 'EXAMPLE-description-Value',
                          types: %w[EXAMPLE-types-Value],
                          is_skip_remaining_rules_on_match: false,
                          scope: 'EXAMPLE-scope-Value',
                          is_cascade: false,
                          matching_strategy: 'NAME_OR_TAGS',
                          is_case_sensitive: false,
                          rule_type: 'INCLUDE',
                          pattern: 'EXAMPLE-pattern-Value',
                          names: %w[EXAMPLE--Value]
                        )
                      ],
                      config_values:
                        OCI::DataIntegration::Models::ConfigValues.new(
                          config_param_values: {
                            'EXAMPLE_KEY_NqcSd' => {
                              'stringValue' => 'EXAMPLE-stringValue-Value',
                              'intValue' => 810,
                              'objectValue' => 'EXAMPLE-objectValue-Value',
                              'refValue' => 'EXAMPLE-refValue-Value',
                              'parameterValue' =>
                                'EXAMPLE-parameterValue-Value',
                              'rootObjectValue' =>
                                'EXAMPLE-rootObjectValue-Value'
                            }
                          },
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            )
                        ),
                      object_status: 144
                    )
                )
            )
          ],
          output_links: [
            OCI::DataIntegration::Models::OutputLink.new(
              model_type: 'OUTPUT_LINK',
              key: 'EXAMPLE-key-Value',
              model_version: 'EXAMPLE-modelVersion-Value',
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                ),
              object_status: 632,
              description: 'EXAMPLE-description-Value',
              port: 'EXAMPLE-port-Value',
              to_links: %w[EXAMPLE--Value]
            )
          ],
          operator:
            OCI::DataIntegration::Models::ExpressionOperator.new(
              model_type: 'EXPRESSION_OPERATOR',
              key: 'EXAMPLE-key-Value',
              model_version: 'EXAMPLE-modelVersion-Value',
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                ),
              name: 'EXAMPLE-name-Value',
              description: 'EXAMPLE-description-Value',
              object_version: 736,
              input_ports: [
                OCI::DataIntegration::Models::InputPort.new(
                  model_type: 'INPUT_PORT',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_ltZAB' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 446,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  object_status: 658,
                  name: 'EXAMPLE-name-Value',
                  description: 'EXAMPLE-description-Value',
                  port_type: 'CONTROL',
                  fields: [
                    OCI::DataIntegration::Models::ConditionalOutputPort.new(
                      model_type: 'CONDITIONAL_OUTPUT_PORT',
                      key: 'EXAMPLE-key-Value',
                      model_version: 'EXAMPLE-modelVersion-Value',
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        ),
                      config_values:
                        OCI::DataIntegration::Models::ConfigValues.new(
                          config_param_values: {
                            'EXAMPLE_KEY_Ms4si' => {
                              'stringValue' => 'EXAMPLE-stringValue-Value',
                              'intValue' => 180,
                              'objectValue' => 'EXAMPLE-objectValue-Value',
                              'refValue' => 'EXAMPLE-refValue-Value',
                              'parameterValue' =>
                                'EXAMPLE-parameterValue-Value',
                              'rootObjectValue' =>
                                'EXAMPLE-rootObjectValue-Value'
                            }
                          },
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            )
                        ),
                      object_status: 370,
                      name: 'EXAMPLE-name-Value',
                      description: 'EXAMPLE-description-Value',
                      port_type: 'MODEL',
                      split_condition:
                        OCI::DataIntegration::Models::Expression.new(
                          key: 'EXAMPLE-key-Value',
                          model_type: 'EXAMPLE-modelType-Value',
                          model_version: 'EXAMPLE-modelVersion-Value',
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            ),
                          expr_string: 'EXAMPLE-exprString-Value',
                          config_values:
                            OCI::DataIntegration::Models::ConfigValues.new(
                              config_param_values: {
                                'EXAMPLE_KEY_lalIC' => {
                                  'stringValue' => 'EXAMPLE-stringValue-Value',
                                  'intValue' => 989,
                                  'objectValue' => 'EXAMPLE-objectValue-Value',
                                  'refValue' => 'EXAMPLE-refValue-Value',
                                  'parameterValue' =>
                                    'EXAMPLE-parameterValue-Value',
                                  'rootObjectValue' =>
                                    'EXAMPLE-rootObjectValue-Value'
                                }
                              },
                              parent_ref:
                                OCI::DataIntegration::Models::ParentReference
                                  .new(
                                  parent: 'EXAMPLE-parent-Value',
                                  root_doc_id:
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                )
                            ),
                          object_status: 330
                        )
                    )
                  ]
                )
              ],
              output_ports: [
                OCI::DataIntegration::Models::MaterializedDynamicField.new(
                  model_type: 'MATERIALIZED_DYNAMIC_FIELD',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_yOZTq' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 364,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  object_status: 583,
                  name: 'EXAMPLE-name-Value',
                  description: 'EXAMPLE-description-Value',
                  scope: 'EXAMPLE-scope-Value',
                  type:
                    OCI::DataIntegration::Models::MaterializedCompositeType.new(
                      model_type: 'MATERIALIZED_COMPOSITE_TYPE',
                      key: 'EXAMPLE-key-Value',
                      model_version: 'EXAMPLE-modelVersion-Value',
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        ),
                      name: 'EXAMPLE-name-Value',
                      object_status: 319,
                      description: 'EXAMPLE-description-Value',
                      elements: %w[EXAMPLE--Value],
                      path_names: %w[EXAMPLE--Value],
                      config_definition:
                        OCI::DataIntegration::Models::ConfigDefinition.new(
                          key: 'EXAMPLE-key-Value',
                          model_type: 'EXAMPLE-modelType-Value',
                          model_version: 'EXAMPLE-modelVersion-Value',
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            ),
                          name: 'EXAMPLE-name-Value',
                          is_contained: true,
                          object_status: 451,
                          config_parameter_definitions: {
                            'EXAMPLE_KEY_uL9WJ' => {
                              'parameterType' => {
                                'modelType' => 'DATA_TYPE',
                                'key' => 'EXAMPLE-key-Value',
                                'modelVersion' => 'EXAMPLE-modelVersion-Value',
                                'parentRef' => {
                                  'parent' => 'EXAMPLE-parent-Value',
                                  'rootDocId' =>
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                },
                                'name' => 'EXAMPLE-name-Value',
                                'objectStatus' => 5,
                                'description' => 'EXAMPLE-description-Value',
                                'dtType' => 'PRIMITIVE',
                                'typeSystemName' =>
                                  'EXAMPLE-typeSystemName-Value'
                              },
                              'parameterName' => 'EXAMPLE-parameterName-Value',
                              'description' => 'EXAMPLE-description-Value',
                              'defaultValue' => 'EXAMPLE-defaultValue-Value',
                              'classFieldName' =>
                                'EXAMPLE-classFieldName-Value',
                              'isStatic' => False,
                              'isClassFieldValue' => True
                            }
                          }
                        )
                    )
                )
              ],
              object_status: 373,
              identifier: 'EXAMPLE-identifier-Value',
              parameters: [
                OCI::DataIntegration::Models::Parameter.new(
                  model_type: 'PARAMETER',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_hRWCZ' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 441,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  object_status: 892,
                  name: 'EXAMPLE-name-Value',
                  description: 'EXAMPLE-description-Value',
                  type: 'EXAMPLE-type-Value',
                  default_value: 'EXAMPLE-defaultValue-Value',
                  root_object_default_value:
                    'EXAMPLE-rootObjectDefaultValue-Value',
                  is_input: false,
                  is_output: true,
                  output_aggregation_type: 'MIN',
                  type_name: 'EXAMPLE-typeName-Value',
                  used_for: 'EXAMPLE-usedFor-Value'
                )
              ],
              op_config_values:
                OCI::DataIntegration::Models::ConfigValues.new(
                  config_param_values: {
                    'EXAMPLE_KEY_ynzZE' => {
                      'stringValue' => 'EXAMPLE-stringValue-Value',
                      'intValue' => 348,
                      'objectValue' => 'EXAMPLE-objectValue-Value',
                      'refValue' => 'EXAMPLE-refValue-Value',
                      'parameterValue' => 'EXAMPLE-parameterValue-Value',
                      'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                    }
                  },
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    )
                ),
              trigger_rule: 'ALL_SUCCESS'
            ),
          ui_properties:
            OCI::DataIntegration::Models::UIProperties.new(
              coordinate_x: 4446.6045, coordinate_y: 8219.595
            ),
          object_status: 916
        )
      ],
      parameters: [
        OCI::DataIntegration::Models::Parameter.new(
          model_type: 'PARAMETER',
          key: 'EXAMPLE-key-Value',
          model_version: 'EXAMPLE-modelVersion-Value',
          parent_ref:
            OCI::DataIntegration::Models::ParentReference.new(
              parent: 'EXAMPLE-parent-Value',
              root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
            ),
          config_values:
            OCI::DataIntegration::Models::ConfigValues.new(
              config_param_values: {
                'EXAMPLE_KEY_7fHBK' => {
                  'stringValue' => 'EXAMPLE-stringValue-Value',
                  'intValue' => 520,
                  'objectValue' => 'EXAMPLE-objectValue-Value',
                  'refValue' => 'EXAMPLE-refValue-Value',
                  'parameterValue' => 'EXAMPLE-parameterValue-Value',
                  'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                }
              },
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                )
            ),
          object_status: 41,
          name: 'EXAMPLE-name-Value',
          description: 'EXAMPLE-description-Value',
          type: 'EXAMPLE-type-Value',
          default_value: 'EXAMPLE-defaultValue-Value',
          root_object_default_value: 'EXAMPLE-rootObjectDefaultValue-Value',
          is_input: false,
          is_output: false,
          output_aggregation_type: 'MAX',
          type_name: 'EXAMPLE-typeName-Value',
          used_for: 'EXAMPLE-usedFor-Value'
        )
      ],
      flow_config_values:
        OCI::DataIntegration::Models::ConfigValues.new(
          config_param_values: {
            'EXAMPLE_KEY_Oei5g' => {
              'stringValue' => 'EXAMPLE-stringValue-Value',
              'intValue' => 852,
              'objectValue' => 'EXAMPLE-objectValue-Value',
              'refValue' => 'EXAMPLE-refValue-Value',
              'parameterValue' => 'EXAMPLE-parameterValue-Value',
              'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
            }
          },
          parent_ref:
            OCI::DataIntegration::Models::ParentReference.new(
              parent: 'EXAMPLE-parent-Value',
              root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
            )
        ),
      variables: [
        OCI::DataIntegration::Models::Variable.new(
          key: 'EXAMPLE-key-Value',
          model_version: 'EXAMPLE-modelVersion-Value',
          model_type: 'EXAMPLE-modelType-Value',
          parent_ref:
            OCI::DataIntegration::Models::ParentReference.new(
              parent: 'EXAMPLE-parent-Value',
              root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
            ),
          name: 'EXAMPLE-name-Value',
          description: 'EXAMPLE-description-Value',
          object_version: 834,
          object_status: 843,
          identifier: 'EXAMPLE-identifier-Value',
          type:
            OCI::DataIntegration::Models::DynamicType.new(
              model_type: 'DYNAMIC_TYPE',
              key: 'EXAMPLE-key-Value',
              model_version: 'EXAMPLE-modelVersion-Value',
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                ),
              name: 'EXAMPLE-name-Value',
              object_status: 950,
              description: 'EXAMPLE-description-Value',
              type_handler:
                OCI::DataIntegration::Models::FlattenTypeHandler.new(
                  model_type: 'FLATTEN_TYPE_HANDLER',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  scope: 'EXAMPLE-scope-Value',
                  flatten_details: 'EXAMPLE-flattenDetails-Value',
                  config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_RcbOq' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 765,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  object_status: 680
                ),
              config_definition:
                OCI::DataIntegration::Models::ConfigDefinition.new(
                  key: 'EXAMPLE-key-Value',
                  model_type: 'EXAMPLE-modelType-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  name: 'EXAMPLE-name-Value',
                  is_contained: false,
                  object_status: 152,
                  config_parameter_definitions: {
                    'EXAMPLE_KEY_NKb6R' => {
                      'parameterName' => 'EXAMPLE-parameterName-Value',
                      'description' => 'EXAMPLE-description-Value',
                      'defaultValue' => 'EXAMPLE-defaultValue-Value',
                      'classFieldName' => 'EXAMPLE-classFieldName-Value',
                      'isStatic' => True,
                      'isClassFieldValue' => False
                    }
                  }
                )
            ),
          config_values:
            OCI::DataIntegration::Models::ConfigValues.new(
              config_param_values: {
                'EXAMPLE_KEY_mruc1' => {
                  'stringValue' => 'EXAMPLE-stringValue-Value',
                  'intValue' => 290,
                  'objectValue' => 'EXAMPLE-objectValue-Value',
                  'refValue' => 'EXAMPLE-refValue-Value',
                  'parameterValue' => 'EXAMPLE-parameterValue-Value',
                  'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                }
              },
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                )
            ),
          default_value: 'EXAMPLE-defaultValue-Value',
          root_object_default_value:
            OCI::DataIntegration::Models::RootObject.new(
              key: 'EXAMPLE-key-Value',
              model_type: 'EXAMPLE-modelType-Value',
              model_version: 'EXAMPLE-modelVersion-Value',
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                ),
              object_status: 167
            )
        )
      ],
      registry_metadata:
        OCI::DataIntegration::Models::RegistryMetadata.new(
          aggregator_key: 'EXAMPLE-aggregatorKey-Value',
          labels: %w[EXAMPLE--Value],
          registry_version: 499,
          key: 'EXAMPLE-key-Value',
          is_favorite: true
        )
    )
  )

# Get the data from response
puts "#{update_pipeline_response.data}"

Was this article helpful?