// 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).

package main

import (
	"context"
	"fmt"
	"time"

	"github.com/oracle/oci-go-sdk/v65/common"
	"github.com/oracle/oci-go-sdk/v65/dataintegration"
	"github.com/oracle/oci-go-sdk/v65/example/helpers"
)

func ExampleCreateDataAsset() {
	// Create a default authentication provider that uses the DEFAULT
	// profile in the configuration file.
	// Refer to <see href="https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File>the public documentation</see> on how to prepare a configuration file.
	client, err := dataintegration.NewDataIntegrationClientWithConfigurationProvider(common.DefaultConfigProvider())
	helpers.FatalIfError(err)

	// Create a request and dependent object(s).
	var objectValue interface{}
	objectValue = "EXAMPLE-objectValue-Value"
	var refValue interface{}
	refValue = "EXAMPLE-refValue-Value"
	var rootObjectValue interface{}
	rootObjectValue = "EXAMPLE-rootObjectValue-Value"
	var wrappedType interface{}
	wrappedType = "EXAMPLE-wrappedType-Value"
	var defaultValue interface{}
	defaultValue = "EXAMPLE-defaultValue-Value"
	req := dataintegration.CreateDataAssetRequest{CreateDataAssetDetails: dataintegration.CreateDataAssetFromFusionApp{Description: common.String("EXAMPLE-description-Value"),
		ExternalKey: common.String("EXAMPLE-externalKey-Value"),
		Key:         common.String("EXAMPLE-key-Value"),
		RegistryMetadata: &dataintegration.RegistryMetadata{AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
			IsFavorite:      common.Bool(false),
			Key:             common.String("EXAMPLE-key-Value"),
			Labels:          []string{"EXAMPLE--Value"},
			RegistryVersion: common.Int(134)},
		ServiceUrl:      common.String("EXAMPLE-serviceUrl-Value"),
		AssetProperties: map[string]string{"EXAMPLE_KEY_yNzFY": "EXAMPLE_VALUE_cfcSdmt6IdYtgErdzgvM"},
		Name:            common.String("EXAMPLE-name-Value"),
		StagingConnection: &dataintegration.ConnectionSummaryFromObjectStorage{FingerPrint: common.String("EXAMPLE-fingerPrint-Value"),
			KeyMap:       map[string]string{"EXAMPLE_KEY_MwcF1": "EXAMPLE_VALUE_IvHNxirfNh39EbzscJrz"},
			ObjectStatus: common.Int(372),
			ConnectionProperties: []dataintegration.ConnectionProperty{dataintegration.ConnectionProperty{Name: common.String("EXAMPLE-name-Value"),
				Value: common.String("EXAMPLE-value-Value")}},
			CredentialFileContent: common.String("EXAMPLE-credentialFileContent-Value"),
			IsDefault:             common.Bool(true),
			Key:                   common.String("EXAMPLE-key-Value"),
			Name:                  common.String("EXAMPLE-name-Value"),
			PrimarySchema: &dataintegration.Schema{ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
				RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
				DefaultConnection: common.String("EXAMPLE-defaultConnection-Value"),
				IsHasContainers:   common.Bool(false),
				Key:               common.String("EXAMPLE-key-Value"),
				Metadata: &dataintegration.ObjectMetadata{CreatedByName: common.String("EXAMPLE-createdByName-Value"),
					IdentifierPath:  common.String("EXAMPLE-identifierPath-Value"),
					RegistryVersion: common.Int(522),
					TimeUpdated:     &common.SDKTime{Time: time.Now()},
					UpdatedByName:   common.String("EXAMPLE-updatedByName-Value"),
					Aggregator: &dataintegration.AggregatorSummary{Description: common.String("EXAMPLE-description-Value"),
						Identifier: common.String("EXAMPLE-identifier-Value"),
						Key:        common.String("EXAMPLE-key-Value"),
						Name:       common.String("EXAMPLE-name-Value"),
						Type:       common.String("EXAMPLE-type-Value")},
					AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
					InfoFields:    map[string]string{"EXAMPLE_KEY_OH4kv": "EXAMPLE_VALUE_OCzOza1c87WjobqTjyQd"},
					IsFavorite:    common.Bool(false),
					Labels:        []string{"EXAMPLE--Value"},
					TimeCreated:   &common.SDKTime{Time: time.Now()},
					UpdatedBy:     common.String("EXAMPLE-updatedBy-Value"),
					CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(46),
						ObjectType: dataintegration.CountStatisticSummaryObjectTypeConnection}}},
					CreatedBy: common.String("EXAMPLE-createdBy-Value")},
				ModelVersion:  common.String("EXAMPLE-modelVersion-Value"),
				ObjectStatus:  common.Int(454),
				ObjectVersion: common.Int(809),
				ResourceName:  common.String("EXAMPLE-resourceName-Value"),
				Description:   common.String("EXAMPLE-description-Value"),
				ExternalKey:   common.String("EXAMPLE-externalKey-Value"),
				Identifier:    common.String("EXAMPLE-identifier-Value"),
				Name:          common.String("EXAMPLE-name-Value")},
			Metadata: &dataintegration.ObjectMetadata{IdentifierPath: common.String("EXAMPLE-identifierPath-Value"),
				TimeCreated:   &common.SDKTime{Time: time.Now()},
				TimeUpdated:   &common.SDKTime{Time: time.Now()},
				UpdatedBy:     common.String("EXAMPLE-updatedBy-Value"),
				UpdatedByName: common.String("EXAMPLE-updatedByName-Value"),
				Aggregator: &dataintegration.AggregatorSummary{Description: common.String("EXAMPLE-description-Value"),
					Identifier: common.String("EXAMPLE-identifier-Value"),
					Key:        common.String("EXAMPLE-key-Value"),
					Name:       common.String("EXAMPLE-name-Value"),
					Type:       common.String("EXAMPLE-type-Value")},
				AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
				CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(862),
					ObjectType: dataintegration.CountStatisticSummaryObjectTypeFunctionLibrary}}},
				CreatedBy:       common.String("EXAMPLE-createdBy-Value"),
				InfoFields:      map[string]string{"EXAMPLE_KEY_eqYqc": "EXAMPLE_VALUE_IAT5HptLESNC3twGCDr1"},
				IsFavorite:      common.Bool(true),
				Labels:          []string{"EXAMPLE--Value"},
				RegistryVersion: common.Int(888),
				CreatedByName:   common.String("EXAMPLE-createdByName-Value")},
			ModelVersion:  common.String("EXAMPLE-modelVersion-Value"),
			ObjectVersion: common.Int(945),
			UserId:        common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-userId-Value"),
			Description:   common.String("EXAMPLE-description-Value"),
			Identifier:    common.String("EXAMPLE-identifier-Value"),
			ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
				RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
			PassPhrase: common.String("EXAMPLE-passPhrase-Value")},
		BucketSchema: &dataintegration.Schema{Key: common.String("EXAMPLE-key-Value"),
			Metadata: &dataintegration.ObjectMetadata{RegistryVersion: common.Int(806),
				UpdatedBy:     common.String("EXAMPLE-updatedBy-Value"),
				CreatedByName: common.String("EXAMPLE-createdByName-Value"),
				InfoFields:    map[string]string{"EXAMPLE_KEY_QzP2o": "EXAMPLE_VALUE_a0b9Iw7D6DtnBytnWl7P"},
				Labels:        []string{"EXAMPLE--Value"},
				TimeCreated:   &common.SDKTime{Time: time.Now()},
				TimeUpdated:   &common.SDKTime{Time: time.Now()},
				UpdatedByName: common.String("EXAMPLE-updatedByName-Value"),
				Aggregator: &dataintegration.AggregatorSummary{Description: common.String("EXAMPLE-description-Value"),
					Identifier: common.String("EXAMPLE-identifier-Value"),
					Key:        common.String("EXAMPLE-key-Value"),
					Name:       common.String("EXAMPLE-name-Value"),
					Type:       common.String("EXAMPLE-type-Value")},
				AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
				CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(9),
					ObjectType: dataintegration.CountStatisticSummaryObjectTypeFunctionLibrary}}},
				CreatedBy:      common.String("EXAMPLE-createdBy-Value"),
				IdentifierPath: common.String("EXAMPLE-identifierPath-Value"),
				IsFavorite:     common.Bool(false)},
			ObjectVersion: common.Int(778),
			ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
				RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
			ExternalKey:       common.String("EXAMPLE-externalKey-Value"),
			Identifier:        common.String("EXAMPLE-identifier-Value"),
			ModelVersion:      common.String("EXAMPLE-modelVersion-Value"),
			Name:              common.String("EXAMPLE-name-Value"),
			ObjectStatus:      common.Int(91),
			ResourceName:      common.String("EXAMPLE-resourceName-Value"),
			DefaultConnection: common.String("EXAMPLE-defaultConnection-Value"),
			Description:       common.String("EXAMPLE-description-Value"),
			IsHasContainers:   common.Bool(true)},
		DefaultConnection: dataintegration.CreateConnectionFromOAuth2{ClientId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-clientId-Value"),
			ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
			RegistryMetadata: &dataintegration.RegistryMetadata{RegistryVersion: common.Int(277),
				AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
				IsFavorite:    common.Bool(false),
				Key:           common.String("EXAMPLE-key-Value"),
				Labels:        []string{"EXAMPLE--Value"}},
			ClientSecret: &dataintegration.SensitiveAttribute{SecretConfig: dataintegration.OciVaultSecretConfig{SecretId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value")},
				Value: common.String("EXAMPLE-value-Value")},
			Description: common.String("EXAMPLE-description-Value"),
			Identifier:  common.String("EXAMPLE-identifier-Value"),
			Name:        common.String("EXAMPLE-name-Value"),
			ConnectionProperties: []dataintegration.ConnectionProperty{dataintegration.ConnectionProperty{Value: common.String("EXAMPLE-value-Value"),
				Name: common.String("EXAMPLE-name-Value")}},
			GrantType:    dataintegration.CreateConnectionFromOAuth2GrantTypeClientCredentials,
			ObjectStatus: common.Int(168),
			ParentRef: &dataintegration.ParentReference{RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
				Parent: common.String("EXAMPLE-parent-Value")},
			AccessTokenUrl: common.String("EXAMPLE-accessTokenUrl-Value"),
			Key:            common.String("EXAMPLE-key-Value"),
			Scope:          common.String("EXAMPLE-scope-Value")},
		Identifier:   common.String("EXAMPLE-identifier-Value"),
		ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
		ObjectStatus: common.Int(643),
		StagingDataAsset: &dataintegration.DataAssetSummaryFromObjectStorage{ObjectStatus: common.Int(145),
			ObjectVersion: common.Int(442),
			OciRegion:     common.String("EXAMPLE-ociRegion-Value"),
			ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
				RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
			Url:             common.String("EXAMPLE-url-Value"),
			AssetProperties: map[string]string{"EXAMPLE_KEY_CSIF7": "EXAMPLE_VALUE_VsgieoAwdSLazFmRjR93"},
			Description:     common.String("EXAMPLE-description-Value"),
			Name:            common.String("EXAMPLE-name-Value"),
			DefaultConnection: &dataintegration.ConnectionSummaryFromObjectStorage{Key: common.String("EXAMPLE-key-Value"),
				ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
				ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
					RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
				UserId:       common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-userId-Value"),
				FingerPrint:  common.String("EXAMPLE-fingerPrint-Value"),
				ObjectStatus: common.Int(192),
				PassPhrase:   common.String("EXAMPLE-passPhrase-Value"),
				ConnectionProperties: []dataintegration.ConnectionProperty{dataintegration.ConnectionProperty{Name: common.String("EXAMPLE-name-Value"),
					Value: common.String("EXAMPLE-value-Value")}},
				Description: common.String("EXAMPLE-description-Value"),
				Identifier:  common.String("EXAMPLE-identifier-Value"),
				KeyMap:      map[string]string{"EXAMPLE_KEY_wya4e": "EXAMPLE_VALUE_CBah5ZbM4zzGj8ShkTMZ"},
				Metadata: &dataintegration.ObjectMetadata{IdentifierPath: common.String("EXAMPLE-identifierPath-Value"),
					InfoFields:    map[string]string{"EXAMPLE_KEY_e4sKj": "EXAMPLE_VALUE_6nf5pUR2YgTV5aLS3Qug"},
					IsFavorite:    common.Bool(false),
					Labels:        []string{"EXAMPLE--Value"},
					TimeCreated:   &common.SDKTime{Time: time.Now()},
					UpdatedBy:     common.String("EXAMPLE-updatedBy-Value"),
					AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
					CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(603),
						ObjectType: dataintegration.CountStatisticSummaryObjectTypeDataFlow}}},
					CreatedBy:       common.String("EXAMPLE-createdBy-Value"),
					RegistryVersion: common.Int(663),
					TimeUpdated:     &common.SDKTime{Time: time.Now()},
					UpdatedByName:   common.String("EXAMPLE-updatedByName-Value"),
					Aggregator: &dataintegration.AggregatorSummary{Description: common.String("EXAMPLE-description-Value"),
						Identifier: common.String("EXAMPLE-identifier-Value"),
						Key:        common.String("EXAMPLE-key-Value"),
						Name:       common.String("EXAMPLE-name-Value"),
						Type:       common.String("EXAMPLE-type-Value")},
					CreatedByName: common.String("EXAMPLE-createdByName-Value")},
				Name:                  common.String("EXAMPLE-name-Value"),
				CredentialFileContent: common.String("EXAMPLE-credentialFileContent-Value"),
				IsDefault:             common.Bool(false),
				ObjectVersion:         common.Int(812),
				PrimarySchema: &dataintegration.Schema{ObjectVersion: common.Int(691),
					ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
						RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
					ResourceName:      common.String("EXAMPLE-resourceName-Value"),
					DefaultConnection: common.String("EXAMPLE-defaultConnection-Value"),
					Description:       common.String("EXAMPLE-description-Value"),
					ExternalKey:       common.String("EXAMPLE-externalKey-Value"),
					Identifier:        common.String("EXAMPLE-identifier-Value"),
					IsHasContainers:   common.Bool(true),
					Key:               common.String("EXAMPLE-key-Value"),
					ModelVersion:      common.String("EXAMPLE-modelVersion-Value"),
					Name:              common.String("EXAMPLE-name-Value"),
					Metadata: &dataintegration.ObjectMetadata{CreatedByName: common.String("EXAMPLE-createdByName-Value"),
						InfoFields:  map[string]string{"EXAMPLE_KEY_Bxtwz": "EXAMPLE_VALUE_ZlZdQYBklOFe6i1OIIsO"},
						IsFavorite:  common.Bool(false),
						Labels:      []string{"EXAMPLE--Value"},
						TimeCreated: &common.SDKTime{Time: time.Now()},
						Aggregator: &dataintegration.AggregatorSummary{Description: common.String("EXAMPLE-description-Value"),
							Identifier: common.String("EXAMPLE-identifier-Value"),
							Key:        common.String("EXAMPLE-key-Value"),
							Name:       common.String("EXAMPLE-name-Value"),
							Type:       common.String("EXAMPLE-type-Value")},
						IdentifierPath:  common.String("EXAMPLE-identifierPath-Value"),
						RegistryVersion: common.Int(55),
						TimeUpdated:     &common.SDKTime{Time: time.Now()},
						UpdatedBy:       common.String("EXAMPLE-updatedBy-Value"),
						UpdatedByName:   common.String("EXAMPLE-updatedByName-Value"),
						AggregatorKey:   common.String("EXAMPLE-aggregatorKey-Value"),
						CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(325),
							ObjectType: dataintegration.CountStatisticSummaryObjectTypeTask}}},
						CreatedBy: common.String("EXAMPLE-createdBy-Value")},
					ObjectStatus: common.Int(445)}},
			ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
			NativeTypeSystem: &dataintegration.TypeSystem{ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
				ObjectStatus:  common.Int(618),
				ObjectVersion: common.Int(582),
				ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
					RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
				TypeMappingFrom: map[string]string{"EXAMPLE_KEY_f3lDw": "EXAMPLE_VALUE_Wzs2poYMPICqCBVo77uw"},
				Key:             common.String("EXAMPLE-key-Value"),
				Name:            common.String("EXAMPLE-name-Value"),
				TypeMappingTo:   map[string]string{"EXAMPLE_KEY_2I6wU": "EXAMPLE_VALUE_iqqk4F6ItV5d9jidE1eY"},
				Types: []dataintegration.DataType{dataintegration.DataType{ObjectStatus: common.Int(196),
					ConfigDefinition: &dataintegration.ConfigDefinition{ConfigParameterDefinitions: map[string]dataintegration.ConfigParameterDefinition{"EXAMPLE_KEY_Rr3l0": dataintegration.ConfigParameterDefinition{IsClassFieldValue: common.Bool(true),
						IsStatic:      common.Bool(false),
						ParameterName: common.String("EXAMPLE-parameterName-Value"),
						ParameterType: dataintegration.ConfiguredType{ConfigValues: &dataintegration.ConfigValues{ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
							RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
							ConfigParamValues: map[string]dataintegration.ConfigParameterValue{"EXAMPLE_KEY_v7H5h": dataintegration.ConfigParameterValue{ObjectValue: &objectValue,
								ParameterValue:  common.String("EXAMPLE-parameterValue-Value"),
								RefValue:        &refValue,
								RootObjectValue: &rootObjectValue,
								StringValue:     common.String("EXAMPLE-stringValue-Value"),
								IntValue:        common.Int(452)}}},
							Description:  common.String("EXAMPLE-description-Value"),
							ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
							Name:         common.String("EXAMPLE-name-Value"),
							ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
								RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
							WrappedType:  &wrappedType,
							Key:          common.String("EXAMPLE-key-Value"),
							ObjectStatus: common.Int(470)},
						ClassFieldName: common.String("EXAMPLE-classFieldName-Value"),
						DefaultValue:   &defaultValue,
						Description:    common.String("EXAMPLE-description-Value")}},
						IsContained:  common.Bool(false),
						Key:          common.String("EXAMPLE-key-Value"),
						ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
						Name:         common.String("EXAMPLE-name-Value"),
						ObjectStatus: common.Int(878),
						ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
							RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")}},
					Description: common.String("EXAMPLE-description-Value"),
					DtType:      dataintegration.DataTypeDtTypePrimitive,
					Key:         common.String("EXAMPLE-key-Value"),
					Name:        common.String("EXAMPLE-name-Value"),
					ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
						RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
					TypeSystemName: common.String("EXAMPLE-typeSystemName-Value"),
					ModelVersion:   common.String("EXAMPLE-modelVersion-Value")}},
				Description: common.String("EXAMPLE-description-Value"),
				Identifier:  common.String("EXAMPLE-identifier-Value")},
			ExternalKey: common.String("EXAMPLE-externalKey-Value"),
			Key:         common.String("EXAMPLE-key-Value"),
			Namespace:   common.String("EXAMPLE-namespace-Value"),
			TenancyId:   common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-tenancyId-Value"),
			Identifier:  common.String("EXAMPLE-identifier-Value"),
			Metadata: &dataintegration.ObjectMetadata{Labels: []string{"EXAMPLE--Value"},
				UpdatedByName: common.String("EXAMPLE-updatedByName-Value"),
				Aggregator: &dataintegration.AggregatorSummary{Description: common.String("EXAMPLE-description-Value"),
					Identifier: common.String("EXAMPLE-identifier-Value"),
					Key:        common.String("EXAMPLE-key-Value"),
					Name:       common.String("EXAMPLE-name-Value"),
					Type:       common.String("EXAMPLE-type-Value")},
				CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(787),
					ObjectType: dataintegration.CountStatisticSummaryObjectTypeApplication}}},
				CreatedByName:   common.String("EXAMPLE-createdByName-Value"),
				IsFavorite:      common.Bool(true),
				RegistryVersion: common.Int(612),
				TimeCreated:     &common.SDKTime{Time: time.Now()},
				TimeUpdated:     &common.SDKTime{Time: time.Now()},
				UpdatedBy:       common.String("EXAMPLE-updatedBy-Value"),
				AggregatorKey:   common.String("EXAMPLE-aggregatorKey-Value"),
				CreatedBy:       common.String("EXAMPLE-createdBy-Value"),
				IdentifierPath:  common.String("EXAMPLE-identifierPath-Value"),
				InfoFields:      map[string]string{"EXAMPLE_KEY_Y7a05": "EXAMPLE_VALUE_ungAjimt4eMsqRdwy7nk"}}}},
		OpcRequestId:  common.String("PQKH9LIURDLPJICJ6BZN<unique_ID>"),
		OpcRetryToken: common.String("EXAMPLE-opcRetryToken-Value"),
		WorkspaceId:   common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value")}

	// Send the request using the service client
	resp, err := client.CreateDataAsset(context.Background(), req)
	helpers.FatalIfError(err)

	// Retrieve value from the response.
	fmt.Println(resp)
}