# 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 'date'
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
create_data_asset_response =
  data_integration_client.create_data_asset(
    'ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value',
    OCI::DataIntegration::Models::CreateDataAssetFromFusionApp.new(
      model_type: 'FUSION_APP_DATA_ASSET',
      name: 'EXAMPLE-name-Value',
      identifier: 'EXAMPLE-identifier-Value',
      key: 'EXAMPLE-key-Value',
      model_version: 'EXAMPLE-modelVersion-Value',
      description: 'EXAMPLE-description-Value',
      object_status: 186,
      external_key: 'EXAMPLE-externalKey-Value',
      asset_properties: {
        'EXAMPLE_KEY_2BJaf' => 'EXAMPLE_VALUE_iC1eSf1P4xiYLk6RLB6h'
      },
      registry_metadata:
        OCI::DataIntegration::Models::RegistryMetadata.new(
          aggregator_key: 'EXAMPLE-aggregatorKey-Value',
          labels: %w[EXAMPLE--Value],
          registry_version: 619,
          key: 'EXAMPLE-key-Value',
          is_favorite: true
        ),
      service_url: 'EXAMPLE-serviceUrl-Value',
      default_connection:
        OCI::DataIntegration::Models::CreateConnectionFromRestBasicAuth.new(
          model_type: 'REST_BASIC_AUTH_CONNECTION',
          name: 'EXAMPLE-name-Value',
          identifier: 'EXAMPLE-identifier-Value',
          username: 'EXAMPLE-username-Value',
          password_secret:
            OCI::DataIntegration::Models::SensitiveAttribute.new(
              secret_config:
                OCI::DataIntegration::Models::OciVaultSecretConfig.new(
                  model_type: 'OCI_VAULT_SECRET_CONFIG',
                  secret_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value'
                ),
              value: 'EXAMPLE-value-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'
            ),
          description: 'EXAMPLE-description-Value',
          object_status: 26,
          connection_properties: [
            OCI::DataIntegration::Models::ConnectionProperty.new(
              name: 'EXAMPLE-name-Value', value: 'EXAMPLE-value-Value'
            )
          ],
          registry_metadata:
            OCI::DataIntegration::Models::RegistryMetadata.new(
              aggregator_key: 'EXAMPLE-aggregatorKey-Value',
              labels: %w[EXAMPLE--Value],
              registry_version: 463,
              key: 'EXAMPLE-key-Value',
              is_favorite: true
            ),
          auth_header: 'EXAMPLE-authHeader-Value'
        ),
      staging_data_asset:
        OCI::DataIntegration::Models::DataAssetSummaryFromObjectStorage.new(
          model_type: 'ORACLE_OBJECT_STORAGE_DATA_ASSET',
          key: 'EXAMPLE-key-Value',
          model_version: 'EXAMPLE-modelVersion-Value',
          name: 'EXAMPLE-name-Value',
          description: 'EXAMPLE-description-Value',
          object_status: 251,
          identifier: 'EXAMPLE-identifier-Value',
          external_key: 'EXAMPLE-externalKey-Value',
          asset_properties: {
            'EXAMPLE_KEY_AXDIy' => 'EXAMPLE_VALUE_WjbTlpWkt1ov3Jhi4wfP'
          },
          native_type_system:
            OCI::DataIntegration::Models::TypeSystem.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',
              object_version: 279,
              type_mapping_to: {
                'EXAMPLE_KEY_zUFtI' => 'EXAMPLE_VALUE_beari2NTtcp1xBHTjtmI'
              },
              type_mapping_from: {
                'EXAMPLE_KEY_yS59N' => 'EXAMPLE_VALUE_0jZHQo1HgA4IWrOpl8bn'
              },
              object_status: 44,
              identifier: 'EXAMPLE-identifier-Value',
              types: [
                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: 35,
                  description: 'EXAMPLE-description-Value',
                  dt_type: 'PRIMITIVE',
                  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: true,
                      object_status: 548,
                      config_parameter_definitions: {
                        'EXAMPLE_KEY_6VIjb' => {
                          'parameterType' => {
                            'modelType' => 'COMPOSITE_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' => 346,
                            'description' => 'EXAMPLE-description-Value',
                            'elements' => [
                              {
                                'modelType' => 'MATERIALIZED_DYNAMIC_FIELD',
                                'key' => 'EXAMPLE-key-Value',
                                'modelVersion' => 'EXAMPLE-modelVersion-Value',
                                'parentRef' => {
                                  'parent' => 'EXAMPLE-parent-Value',
                                  'rootDocId' =>
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                },
                                'configValues' => {
                                  'configParamValues' => {
                                    'EXAMPLE_KEY_zvqYL' => {
                                      'stringValue' =>
                                        'EXAMPLE-stringValue-Value',
                                      'intValue' => 593,
                                      'objectValue' =>
                                        'EXAMPLE-objectValue-Value',
                                      'refValue' => 'EXAMPLE-refValue-Value',
                                      'parameterValue' =>
                                        'EXAMPLE-parameterValue-Value',
                                      'rootObjectValue' =>
                                        'EXAMPLE-rootObjectValue-Value'
                                    }
                                  },
                                  'parentRef' => {
                                    'parent' => 'EXAMPLE-parent-Value',
                                    'rootDocId' =>
                                      'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                  }
                                },
                                'objectStatus' => 481,
                                'name' => 'EXAMPLE-name-Value',
                                'description' => 'EXAMPLE-description-Value',
                                'scope' => 'EXAMPLE-scope-Value',
                                'type' => {
                                  'modelType' => 'MATERIALIZED_COMPOSITE_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' => 827,
                                  'description' => 'EXAMPLE-description-Value',
                                  'elements' => %w[EXAMPLE--Value],
                                  'pathNames' => %w[EXAMPLE--Value]
                                }
                              }
                            ]
                          },
                          'parameterName' => 'EXAMPLE-parameterName-Value',
                          'description' => 'EXAMPLE-description-Value',
                          'defaultValue' => 'EXAMPLE-defaultValue-Value',
                          'classFieldName' => 'EXAMPLE-classFieldName-Value',
                          'isStatic' => True,
                          'isClassFieldValue' => False
                        }
                      }
                    )
                )
              ]
            ),
          object_version: 200,
          parent_ref:
            OCI::DataIntegration::Models::ParentReference.new(
              parent: 'EXAMPLE-parent-Value',
              root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
            ),
          metadata:
            OCI::DataIntegration::Models::ObjectMetadata.new(
              created_by: 'EXAMPLE-createdBy-Value',
              created_by_name: 'EXAMPLE-createdByName-Value',
              updated_by: 'EXAMPLE-updatedBy-Value',
              updated_by_name: 'EXAMPLE-updatedByName-Value',
              time_created: DateTime.parse('2007-09-09T11:20:04.095Z'),
              time_updated: DateTime.parse('2023-07-31T22:23:25.194Z'),
              aggregator_key: 'EXAMPLE-aggregatorKey-Value',
              aggregator:
                OCI::DataIntegration::Models::AggregatorSummary.new(
                  type: 'EXAMPLE-type-Value',
                  key: 'EXAMPLE-key-Value',
                  name: 'EXAMPLE-name-Value',
                  identifier: 'EXAMPLE-identifier-Value',
                  description: 'EXAMPLE-description-Value'
                ),
              identifier_path: 'EXAMPLE-identifierPath-Value',
              info_fields: {
                'EXAMPLE_KEY_53N7l' => 'EXAMPLE_VALUE_4x0RcOnWwR6OG6alF2DX'
              },
              registry_version: 170,
              labels: %w[EXAMPLE--Value],
              is_favorite: false,
              count_statistics:
                OCI::DataIntegration::Models::CountStatistic.new(
                  object_type_count_list: [
                    OCI::DataIntegration::Models::CountStatisticSummary.new(
                      object_type: 'FOLDER', object_count: 363
                    )
                  ]
                )
            ),
          oci_region: 'EXAMPLE-ociRegion-Value',
          url: 'EXAMPLE-url-Value',
          tenancy_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-tenancyId-Value',
          namespace: 'EXAMPLE-namespace-Value',
          default_connection:
            OCI::DataIntegration::Models::ConnectionSummaryFromObjectStorage
              .new(
              model_type: 'ORACLE_OBJECT_STORAGE_CONNECTION',
              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: 735,
              object_status: 718,
              identifier: 'EXAMPLE-identifier-Value',
              primary_schema:
                OCI::DataIntegration::Models::Schema.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',
                  resource_name: 'EXAMPLE-resourceName-Value',
                  description: 'EXAMPLE-description-Value',
                  object_version: 394,
                  external_key: 'EXAMPLE-externalKey-Value',
                  is_has_containers: true,
                  default_connection: 'EXAMPLE-defaultConnection-Value',
                  object_status: 586,
                  identifier: 'EXAMPLE-identifier-Value',
                  metadata:
                    OCI::DataIntegration::Models::ObjectMetadata.new(
                      created_by: 'EXAMPLE-createdBy-Value',
                      created_by_name: 'EXAMPLE-createdByName-Value',
                      updated_by: 'EXAMPLE-updatedBy-Value',
                      updated_by_name: 'EXAMPLE-updatedByName-Value',
                      time_created: DateTime.parse('2029-09-29T13:43:10.088Z'),
                      time_updated: DateTime.parse('2018-02-17T00:43:06.064Z'),
                      aggregator_key: 'EXAMPLE-aggregatorKey-Value',
                      aggregator:
                        OCI::DataIntegration::Models::AggregatorSummary.new(
                          type: 'EXAMPLE-type-Value',
                          key: 'EXAMPLE-key-Value',
                          name: 'EXAMPLE-name-Value',
                          identifier: 'EXAMPLE-identifier-Value',
                          description: 'EXAMPLE-description-Value'
                        ),
                      identifier_path: 'EXAMPLE-identifierPath-Value',
                      info_fields: {
                        'EXAMPLE_KEY_JHCoX' =>
                          'EXAMPLE_VALUE_yTYb1LxyWdGmyyTcCfM4'
                      },
                      registry_version: 871,
                      labels: %w[EXAMPLE--Value],
                      is_favorite: true,
                      count_statistics:
                        OCI::DataIntegration::Models::CountStatistic.new(
                          object_type_count_list: [
                            OCI::DataIntegration::Models::CountStatisticSummary
                              .new(object_type: 'CONNECTION', object_count: 506)
                          ]
                        )
                    )
                ),
              connection_properties: [
                OCI::DataIntegration::Models::ConnectionProperty.new(
                  name: 'EXAMPLE-name-Value', value: 'EXAMPLE-value-Value'
                )
              ],
              is_default: true,
              metadata:
                OCI::DataIntegration::Models::ObjectMetadata.new(
                  created_by: 'EXAMPLE-createdBy-Value',
                  created_by_name: 'EXAMPLE-createdByName-Value',
                  updated_by: 'EXAMPLE-updatedBy-Value',
                  updated_by_name: 'EXAMPLE-updatedByName-Value',
                  time_created: DateTime.parse('2015-09-16T15:03:43.813Z'),
                  time_updated: DateTime.parse('2041-02-03T04:49:13.444Z'),
                  aggregator_key: 'EXAMPLE-aggregatorKey-Value',
                  aggregator:
                    OCI::DataIntegration::Models::AggregatorSummary.new(
                      type: 'EXAMPLE-type-Value',
                      key: 'EXAMPLE-key-Value',
                      name: 'EXAMPLE-name-Value',
                      identifier: 'EXAMPLE-identifier-Value',
                      description: 'EXAMPLE-description-Value'
                    ),
                  identifier_path: 'EXAMPLE-identifierPath-Value',
                  info_fields: {
                    'EXAMPLE_KEY_qLmjG' => 'EXAMPLE_VALUE_NGtwKWvnfp6qGeHXhZsp'
                  },
                  registry_version: 435,
                  labels: %w[EXAMPLE--Value],
                  is_favorite: false,
                  count_statistics:
                    OCI::DataIntegration::Models::CountStatistic.new(
                      object_type_count_list: [
                        OCI::DataIntegration::Models::CountStatisticSummary.new(
                          object_type: 'FOLDER', object_count: 15
                        )
                      ]
                    )
                ),
              key_map: {
                'EXAMPLE_KEY_oGRfR' => 'EXAMPLE_VALUE_qA2jLc4UHfjf8JrdzQ4j'
              },
              credential_file_content: 'EXAMPLE-credentialFileContent-Value',
              user_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-userId-Value',
              finger_print: 'EXAMPLE-fingerPrint-Value',
              pass_phrase: 'EXAMPLE-passPhrase-Value'
            )
        ),
      staging_connection:
        OCI::DataIntegration::Models::ConnectionSummaryFromObjectStorage.new(
          model_type: 'ORACLE_OBJECT_STORAGE_CONNECTION',
          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,
          object_status: 686,
          identifier: 'EXAMPLE-identifier-Value',
          primary_schema:
            OCI::DataIntegration::Models::Schema.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',
              resource_name: 'EXAMPLE-resourceName-Value',
              description: 'EXAMPLE-description-Value',
              object_version: 237,
              external_key: 'EXAMPLE-externalKey-Value',
              is_has_containers: false,
              default_connection: 'EXAMPLE-defaultConnection-Value',
              object_status: 757,
              identifier: 'EXAMPLE-identifier-Value',
              metadata:
                OCI::DataIntegration::Models::ObjectMetadata.new(
                  created_by: 'EXAMPLE-createdBy-Value',
                  created_by_name: 'EXAMPLE-createdByName-Value',
                  updated_by: 'EXAMPLE-updatedBy-Value',
                  updated_by_name: 'EXAMPLE-updatedByName-Value',
                  time_created: DateTime.parse('2044-04-28T19:08:10.017Z'),
                  time_updated: DateTime.parse('2025-11-14T17:21:54.443Z'),
                  aggregator_key: 'EXAMPLE-aggregatorKey-Value',
                  aggregator:
                    OCI::DataIntegration::Models::AggregatorSummary.new(
                      type: 'EXAMPLE-type-Value',
                      key: 'EXAMPLE-key-Value',
                      name: 'EXAMPLE-name-Value',
                      identifier: 'EXAMPLE-identifier-Value',
                      description: 'EXAMPLE-description-Value'
                    ),
                  identifier_path: 'EXAMPLE-identifierPath-Value',
                  info_fields: {
                    'EXAMPLE_KEY_Dduyj' => 'EXAMPLE_VALUE_tQxUFgaZEzaNbhyn2p4X'
                  },
                  registry_version: 245,
                  labels: %w[EXAMPLE--Value],
                  is_favorite: true,
                  count_statistics:
                    OCI::DataIntegration::Models::CountStatistic.new(
                      object_type_count_list: [
                        OCI::DataIntegration::Models::CountStatisticSummary.new(
                          object_type: 'TASK', object_count: 738
                        )
                      ]
                    )
                )
            ),
          connection_properties: [
            OCI::DataIntegration::Models::ConnectionProperty.new(
              name: 'EXAMPLE-name-Value', value: 'EXAMPLE-value-Value'
            )
          ],
          is_default: false,
          metadata:
            OCI::DataIntegration::Models::ObjectMetadata.new(
              created_by: 'EXAMPLE-createdBy-Value',
              created_by_name: 'EXAMPLE-createdByName-Value',
              updated_by: 'EXAMPLE-updatedBy-Value',
              updated_by_name: 'EXAMPLE-updatedByName-Value',
              time_created: DateTime.parse('2000-02-28T13:05:03.553Z'),
              time_updated: DateTime.parse('2025-05-05T10:19:48.681Z'),
              aggregator_key: 'EXAMPLE-aggregatorKey-Value',
              aggregator:
                OCI::DataIntegration::Models::AggregatorSummary.new(
                  type: 'EXAMPLE-type-Value',
                  key: 'EXAMPLE-key-Value',
                  name: 'EXAMPLE-name-Value',
                  identifier: 'EXAMPLE-identifier-Value',
                  description: 'EXAMPLE-description-Value'
                ),
              identifier_path: 'EXAMPLE-identifierPath-Value',
              info_fields: {
                'EXAMPLE_KEY_QeNDw' => 'EXAMPLE_VALUE_ii5copEEwCiyf2rcDzcm'
              },
              registry_version: 171,
              labels: %w[EXAMPLE--Value],
              is_favorite: false,
              count_statistics:
                OCI::DataIntegration::Models::CountStatistic.new(
                  object_type_count_list: [
                    OCI::DataIntegration::Models::CountStatisticSummary.new(
                      object_type: 'DATA_ASSET', object_count: 600
                    )
                  ]
                )
            ),
          key_map: {
            'EXAMPLE_KEY_2Tdmc' => 'EXAMPLE_VALUE_8T9MKHE57TikbD8sux9Y'
          },
          credential_file_content: 'EXAMPLE-credentialFileContent-Value',
          user_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-userId-Value',
          finger_print: 'EXAMPLE-fingerPrint-Value',
          pass_phrase: 'EXAMPLE-passPhrase-Value'
        ),
      bucket_schema:
        OCI::DataIntegration::Models::Schema.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',
          resource_name: 'EXAMPLE-resourceName-Value',
          description: 'EXAMPLE-description-Value',
          object_version: 565,
          external_key: 'EXAMPLE-externalKey-Value',
          is_has_containers: false,
          default_connection: 'EXAMPLE-defaultConnection-Value',
          object_status: 285,
          identifier: 'EXAMPLE-identifier-Value',
          metadata:
            OCI::DataIntegration::Models::ObjectMetadata.new(
              created_by: 'EXAMPLE-createdBy-Value',
              created_by_name: 'EXAMPLE-createdByName-Value',
              updated_by: 'EXAMPLE-updatedBy-Value',
              updated_by_name: 'EXAMPLE-updatedByName-Value',
              time_created: DateTime.parse('2041-01-04T00:49:50.882Z'),
              time_updated: DateTime.parse('2003-06-09T14:15:47.093Z'),
              aggregator_key: 'EXAMPLE-aggregatorKey-Value',
              aggregator:
                OCI::DataIntegration::Models::AggregatorSummary.new(
                  type: 'EXAMPLE-type-Value',
                  key: 'EXAMPLE-key-Value',
                  name: 'EXAMPLE-name-Value',
                  identifier: 'EXAMPLE-identifier-Value',
                  description: 'EXAMPLE-description-Value'
                ),
              identifier_path: 'EXAMPLE-identifierPath-Value',
              info_fields: {
                'EXAMPLE_KEY_KudpT' => 'EXAMPLE_VALUE_xHOOuiao5J30AUISKIAl'
              },
              registry_version: 367,
              labels: %w[EXAMPLE--Value],
              is_favorite: false,
              count_statistics:
                OCI::DataIntegration::Models::CountStatistic.new(
                  object_type_count_list: [
                    OCI::DataIntegration::Models::CountStatisticSummary.new(
                      object_type: 'DATA_ASSET', object_count: 585
                    )
                  ]
                )
            )
        )
    )
  )

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

Was this article helpful?