# 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: 773,
      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: 755,
      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: 541,
              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_aYeKi' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 84,
                          '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: 'MAPBYNAME',
                  from_pattern: 'EXAMPLE-fromPattern-Value',
                  to_pattern: 'EXAMPLE-toPattern-Value',
                  is_java_regex_syntax: true,
                  object_status: 136,
                  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_OUTPUT_SHAPE',
                          ref_object_name: 'EXAMPLE-refObjectName-Value'
                        ),
                      is_order_by_rule: false,
                      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: true,
                          config_values:
                            OCI::DataIntegration::Models::ConfigValues.new(
                              config_param_values: {
                                'EXAMPLE_KEY_v4M9e' => {
                                  'stringValue' => 'EXAMPLE-stringValue-Value',
                                  'intValue' => 360,
                                  '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: 790,
                          description: 'EXAMPLE-description-Value',
                          name: 'EXAMPLE-name-Value',
                          is_skip_remaining_rules_on_match: false,
                          scope: 'EXAMPLE-scope-Value',
                          is_cascade: false,
                          matching_strategy: 'NAME_ONLY',
                          is_case_sensitive: true,
                          rule_type: 'INCLUDE',
                          pattern: 'EXAMPLE-pattern-Value'
                        )
                      ],
                      config_values:
                        OCI::DataIntegration::Models::ConfigValues.new(
                          config_param_values: {
                            'EXAMPLE_KEY_oArDj' => {
                              'stringValue' => 'EXAMPLE-stringValue-Value',
                              'intValue' => 980,
                              '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: 333
                    ),
                  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',
                          ref_object_name: 'EXAMPLE-refObjectName-Value'
                        ),
                      is_order_by_rule: true,
                      projection_rules: [
                        OCI::DataIntegration::Models::NameListRule.new(
                          model_type: 'NAME_LIST_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_uhrIP' => {
                                  'stringValue' => 'EXAMPLE-stringValue-Value',
                                  'intValue' => 476,
                                  '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: 21,
                          description: 'EXAMPLE-description-Value',
                          is_skip_remaining_rules_on_match: false,
                          scope: 'EXAMPLE-scope-Value',
                          is_cascade: true,
                          matching_strategy: 'NAME_OR_TAGS',
                          is_case_sensitive: true,
                          rule_type: 'INCLUDE',
                          names: %w[EXAMPLE--Value]
                        )
                      ],
                      config_values:
                        OCI::DataIntegration::Models::ConfigValues.new(
                          config_param_values: {
                            'EXAMPLE_KEY_OfYY8' => {
                              'stringValue' => 'EXAMPLE-stringValue-Value',
                              'intValue' => 395,
                              '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: 162
                    )
                )
            )
          ],
          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: 956,
              description: 'EXAMPLE-description-Value',
              port: 'EXAMPLE-port-Value',
              to_links: %w[EXAMPLE--Value]
            )
          ],
          operator:
            OCI::DataIntegration::Models::Minus.new(
              model_type: 'MINUS_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: 670,
              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_hCewq' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 844,
                          '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: 425,
                  name: 'EXAMPLE-name-Value',
                  description: 'EXAMPLE-description-Value',
                  port_type: 'CONTROL',
                  fields: [
                    OCI::DataIntegration::Models::TypedExpression.new(
                      model_type: 'TYPED_EXPRESSION',
                      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_veHHR' => {
                              'stringValue' => 'EXAMPLE-stringValue-Value',
                              'intValue' => 634,
                              '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: 796,
                      name: 'EXAMPLE-name-Value',
                      description: 'EXAMPLE-description-Value',
                      expression: 'EXAMPLE-expression-Value',
                      type: 'EXAMPLE-type-Value'
                    )
                  ]
                )
              ],
              output_ports: [
                OCI::DataIntegration::Models::DerivedField.new(
                  model_type: 'DERIVED_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_t4k6c' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 121,
                          '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: 358,
                  name: 'EXAMPLE-name-Value',
                  description: 'EXAMPLE-description-Value',
                  expr:
                    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_hjSWy' => {
                              'stringValue' => 'EXAMPLE-stringValue-Value',
                              'intValue' => 849,
                              '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: 115
                    ),
                  type: 'EXAMPLE-type-Value',
                  is_use_inferred_type: true,
                  labels: %w[EXAMPLE--Value]
                )
              ],
              object_status: 625,
              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_J2wtr' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 932,
                          '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: 634,
                  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_axiDO' => {
                      'stringValue' => 'EXAMPLE-stringValue-Value',
                      'intValue' => 719,
                      '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'
                    )
                ),
              minus_type: 'NAME',
              is_all: false
            ),
          ui_properties:
            OCI::DataIntegration::Models::UIProperties.new(
              coordinate_x: 20.520687, coordinate_y: 1003.9693
            ),
          object_status: 504
        )
      ],
      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_aRsAw' => {
                  'stringValue' => 'EXAMPLE-stringValue-Value',
                  'intValue' => 501,
                  '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: 671,
          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: 'MAX',
          type_name: 'EXAMPLE-typeName-Value',
          used_for: 'EXAMPLE-usedFor-Value'
        )
      ],
      flow_config_values:
        OCI::DataIntegration::Models::ConfigValues.new(
          config_param_values: {
            'EXAMPLE_KEY_4QMby' => {
              'stringValue' => 'EXAMPLE-stringValue-Value',
              'intValue' => 504,
              '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: 216,
          object_status: 613,
          identifier: 'EXAMPLE-identifier-Value',
          type:
            OCI::DataIntegration::Models::DataType.new(
              model_type: 'DATA_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: 952,
              description: 'EXAMPLE-description-Value',
              dt_type: 'STRUCTURED',
              type_system_name: 'EXAMPLE-typeSystemName-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: false,
                  object_status: 841,
                  config_parameter_definitions: {
                    'EXAMPLE_KEY_x13kE' => {
                      'parameterName' => 'EXAMPLE-parameterName-Value',
                      'description' => 'EXAMPLE-description-Value',
                      'defaultValue' => 'EXAMPLE-defaultValue-Value',
                      'classFieldName' => 'EXAMPLE-classFieldName-Value',
                      'isStatic' => False,
                      'isClassFieldValue' => False
                    }
                  }
                )
            ),
          config_values:
            OCI::DataIntegration::Models::ConfigValues.new(
              config_param_values: {
                'EXAMPLE_KEY_8Yuts' => {
                  'stringValue' => 'EXAMPLE-stringValue-Value',
                  'intValue' => 396,
                  '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: 535
            )
        )
      ],
      registry_metadata:
        OCI::DataIntegration::Models::RegistryMetadata.new(
          aggregator_key: 'EXAMPLE-aggregatorKey-Value',
          labels: %w[EXAMPLE--Value],
          registry_version: 462,
          key: 'EXAMPLE-key-Value',
          is_favorite: true
        )
    )
  )

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