// 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 wrappedType interface{}
	wrappedType = "EXAMPLE-wrappedType-Value"
	var objectValue interface{}
	objectValue = "EXAMPLE-objectValue-Value"
	var refValue interface{}
	refValue = "EXAMPLE-refValue-Value"
	var rootObjectValue interface{}
	rootObjectValue = "EXAMPLE-rootObjectValue-Value"
	var defaultValue interface{}
	defaultValue = "EXAMPLE-defaultValue-Value"
	req := dataintegration.CreateDataAssetRequest{OpcRetryToken: common.String("EXAMPLE-opcRetryToken-Value"),
		WorkspaceId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value"),
		CreateDataAssetDetails: dataintegration.CreateDataAssetFromAtp{Identifier: common.String("EXAMPLE-identifier-Value"),
			Key:             common.String("EXAMPLE-key-Value"),
			AssetProperties: map[string]string{"EXAMPLE_KEY_rr4iT": "EXAMPLE_VALUE_LbzMnFZcg8ZYKIibAZom"},
			DefaultConnection: &dataintegration.CreateConnectionFromAtp{Identifier: common.String("EXAMPLE-identifier-Value"),
				Key:      common.String("EXAMPLE-key-Value"),
				Name:     common.String("EXAMPLE-name-Value"),
				Password: common.String("EXAMPLE-password-Value"),
				Username: common.String("EXAMPLE-username-Value"),
				ConnectionProperties: []dataintegration.ConnectionProperty{dataintegration.ConnectionProperty{Name: common.String("EXAMPLE-name-Value"),
					Value: common.String("EXAMPLE-value-Value")}},
				Description:  common.String("EXAMPLE-description-Value"),
				ObjectStatus: common.Int(705),
				PasswordSecret: &dataintegration.SensitiveAttribute{SecretConfig: dataintegration.OciVaultSecretConfig{SecretId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value")},
					Value: common.String("EXAMPLE-value-Value")},
				RegistryMetadata: &dataintegration.RegistryMetadata{RegistryVersion: common.Int(640),
					AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
					IsFavorite:    common.Bool(true),
					Key:           common.String("EXAMPLE-key-Value"),
					Labels:        []string{"EXAMPLE--Value"}},
				TnsAlias:     common.String("EXAMPLE-tnsAlias-Value"),
				TnsNames:     []string{"EXAMPLE--Value"},
				ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
				ParentRef: &dataintegration.ParentReference{RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
					Parent: common.String("EXAMPLE-parent-Value")}},
			RegionId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-regionId-Value"),
			RegistryMetadata: &dataintegration.RegistryMetadata{Labels: []string{"EXAMPLE--Value"},
				RegistryVersion: common.Int(295),
				AggregatorKey:   common.String("EXAMPLE-aggregatorKey-Value"),
				IsFavorite:      common.Bool(true),
				Key:             common.String("EXAMPLE-key-Value")},
			ServiceName:    common.String("EXAMPLE-serviceName-Value"),
			TenancyId:      common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-tenancyId-Value"),
			AutonomousDbId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-autonomousDbId-Value"),
			BucketSchema: &dataintegration.Schema{IsHasContainers: common.Bool(true),
				Key: common.String("EXAMPLE-key-Value"),
				Metadata: &dataintegration.ObjectMetadata{IdentifierPath: common.String("EXAMPLE-identifierPath-Value"),
					IsFavorite:    common.Bool(true),
					Labels:        []string{"EXAMPLE--Value"},
					TimeUpdated:   &common.SDKTime{Time: time.Now()},
					UpdatedByName: common.String("EXAMPLE-updatedByName-Value"),
					Aggregator: &dataintegration.AggregatorSummary{Key: common.String("EXAMPLE-key-Value"),
						Name:        common.String("EXAMPLE-name-Value"),
						Type:        common.String("EXAMPLE-type-Value"),
						Description: common.String("EXAMPLE-description-Value"),
						Identifier:  common.String("EXAMPLE-identifier-Value")},
					AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
					CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(25),
						ObjectType: dataintegration.CountStatisticSummaryObjectTypeTask}}},
					CreatedBy:       common.String("EXAMPLE-createdBy-Value"),
					InfoFields:      map[string]string{"EXAMPLE_KEY_8KDrf": "EXAMPLE_VALUE_dCc8SafhkvMv7oB4g69c"},
					RegistryVersion: common.Int(932),
					TimeCreated:     &common.SDKTime{Time: time.Now()},
					UpdatedBy:       common.String("EXAMPLE-updatedBy-Value"),
					CreatedByName:   common.String("EXAMPLE-createdByName-Value")},
				ObjectStatus:  common.Int(153),
				ExternalKey:   common.String("EXAMPLE-externalKey-Value"),
				ModelVersion:  common.String("EXAMPLE-modelVersion-Value"),
				Name:          common.String("EXAMPLE-name-Value"),
				ObjectVersion: common.Int(696),
				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"),
				Identifier:        common.String("EXAMPLE-identifier-Value")},
			ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
			Name:         common.String("EXAMPLE-name-Value"),
			ObjectStatus: common.Int(445),
			WalletSecret: &dataintegration.SensitiveAttribute{SecretConfig: dataintegration.OciVaultSecretConfig{SecretId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value")},
				Value: common.String("EXAMPLE-value-Value")},
			CredentialFileContent: common.String("EXAMPLE-credentialFileContent-Value"),
			Description:           common.String("EXAMPLE-description-Value"),
			ExternalKey:           common.String("EXAMPLE-externalKey-Value"),
			StagingConnection: dataintegration.ConnectionFromOAuth2{Identifier: common.String("EXAMPLE-identifier-Value"),
				KeyMap:         map[string]string{"EXAMPLE_KEY_eMxnB": "EXAMPLE_VALUE_8eU9R2tgrazYD2puNHrc"},
				ModelVersion:   common.String("EXAMPLE-modelVersion-Value"),
				ObjectVersion:  common.Int(388),
				AccessTokenUrl: common.String("EXAMPLE-accessTokenUrl-Value"),
				ClientId:       common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-clientId-Value"),
				GrantType:      dataintegration.ConnectionFromOAuth2GrantTypeClientCredentials,
				Metadata: &dataintegration.ObjectMetadata{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(818),
						ObjectType: dataintegration.CountStatisticSummaryObjectTypeTask}}},
					CreatedBy:       common.String("EXAMPLE-createdBy-Value"),
					CreatedByName:   common.String("EXAMPLE-createdByName-Value"),
					IdentifierPath:  common.String("EXAMPLE-identifierPath-Value"),
					Labels:          []string{"EXAMPLE--Value"},
					UpdatedBy:       common.String("EXAMPLE-updatedBy-Value"),
					InfoFields:      map[string]string{"EXAMPLE_KEY_SSd26": "EXAMPLE_VALUE_16GOXQ705ca07sihZux5"},
					IsFavorite:      common.Bool(true),
					RegistryVersion: common.Int(850),
					TimeCreated:     &common.SDKTime{Time: time.Now()}},
				ObjectStatus: common.Int(545),
				ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
					RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
				PrimarySchema: &dataintegration.Schema{Name: common.String("EXAMPLE-name-Value"),
					ObjectVersion:   common.Int(876),
					Description:     common.String("EXAMPLE-description-Value"),
					IsHasContainers: common.Bool(true),
					Key:             common.String("EXAMPLE-key-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{Identifier: common.String("EXAMPLE-identifier-Value"),
							Key:         common.String("EXAMPLE-key-Value"),
							Name:        common.String("EXAMPLE-name-Value"),
							Type:        common.String("EXAMPLE-type-Value"),
							Description: common.String("EXAMPLE-description-Value")},
						AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
						CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(570),
							ObjectType: dataintegration.CountStatisticSummaryObjectTypeTask}}},
						CreatedBy:       common.String("EXAMPLE-createdBy-Value"),
						InfoFields:      map[string]string{"EXAMPLE_KEY_y5Csn": "EXAMPLE_VALUE_5s8CAuF2zn1dPa4ecp6D"},
						IsFavorite:      common.Bool(false),
						Labels:          []string{"EXAMPLE--Value"},
						RegistryVersion: common.Int(744),
						CreatedByName:   common.String("EXAMPLE-createdByName-Value")},
					ObjectStatus: common.Int(23),
					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"),
					ExternalKey:       common.String("EXAMPLE-externalKey-Value"),
					Identifier:        common.String("EXAMPLE-identifier-Value"),
					ModelVersion:      common.String("EXAMPLE-modelVersion-Value")},
				Scope: common.String("EXAMPLE-scope-Value"),
				Name:  common.String("EXAMPLE-name-Value"),
				ConnectionProperties: []dataintegration.ConnectionProperty{dataintegration.ConnectionProperty{Name: common.String("EXAMPLE-name-Value"),
					Value: common.String("EXAMPLE-value-Value")}},
				Description: common.String("EXAMPLE-description-Value"),
				IsDefault:   common.Bool(false),
				Key:         common.String("EXAMPLE-key-Value"),
				ClientSecret: &dataintegration.SensitiveAttribute{SecretConfig: dataintegration.OciVaultSecretConfig{SecretId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value")},
					Value: common.String("EXAMPLE-value-Value")}},
			StagingDataAsset: dataintegration.DataAssetFromOraclePeopleSoftDetails{Metadata: &dataintegration.ObjectMetadata{CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(846),
				ObjectType: dataintegration.CountStatisticSummaryObjectTypeUserDefinedFunction}}},
				CreatedBy:       common.String("EXAMPLE-createdBy-Value"),
				CreatedByName:   common.String("EXAMPLE-createdByName-Value"),
				TimeCreated:     &common.SDKTime{Time: time.Now()},
				TimeUpdated:     &common.SDKTime{Time: time.Now()},
				IdentifierPath:  common.String("EXAMPLE-identifierPath-Value"),
				InfoFields:      map[string]string{"EXAMPLE_KEY_EZKxu": "EXAMPLE_VALUE_vVju2vY9pd0gI3abpfOc"},
				IsFavorite:      common.Bool(false),
				Labels:          []string{"EXAMPLE--Value"},
				RegistryVersion: common.Int(104),
				UpdatedBy:       common.String("EXAMPLE-updatedBy-Value"),
				UpdatedByName:   common.String("EXAMPLE-updatedByName-Value"),
				Aggregator: &dataintegration.AggregatorSummary{Name: common.String("EXAMPLE-name-Value"),
					Type:        common.String("EXAMPLE-type-Value"),
					Description: common.String("EXAMPLE-description-Value"),
					Identifier:  common.String("EXAMPLE-identifier-Value"),
					Key:         common.String("EXAMPLE-key-Value")},
				AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value")},
				Name:            common.String("EXAMPLE-name-Value"),
				AssetProperties: map[string]string{"EXAMPLE_KEY_JAsjJ": "EXAMPLE_VALUE_vzLiuJNvkY0nSJRxk380"},
				Host:            common.String("EXAMPLE-host-Value"),
				Identifier:      common.String("EXAMPLE-identifier-Value"),
				Key:             common.String("EXAMPLE-key-Value"),
				KeyMap:          map[string]string{"EXAMPLE_KEY_aaZtl": "EXAMPLE_VALUE_syc5mXcQakHkNXDyn4qk"},
				ObjectVersion:   common.Int(537),
				ModelVersion:    common.String("EXAMPLE-modelVersion-Value"),
				NativeTypeSystem: &dataintegration.TypeSystem{Identifier: common.String("EXAMPLE-identifier-Value"),
					Key:          common.String("EXAMPLE-key-Value"),
					ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
					ObjectStatus: common.Int(800),
					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_skYPv": "EXAMPLE_VALUE_nP1kj2vPoGcA0xNriC8h"},
					TypeMappingTo:   map[string]string{"EXAMPLE_KEY_aUm8m": "EXAMPLE_VALUE_Z47x5fiJ1elcImqi9rlK"},
					Description:     common.String("EXAMPLE-description-Value"),
					Name:            common.String("EXAMPLE-name-Value"),
					ObjectVersion:   common.Int(285),
					Types: []dataintegration.DataType{dataintegration.DataType{Name: common.String("EXAMPLE-name-Value"),
						DtType:       dataintegration.DataTypeDtTypePrimitive,
						ObjectStatus: common.Int(45),
						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"),
						ConfigDefinition: &dataintegration.ConfigDefinition{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(94),
							ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
								RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
							ConfigParameterDefinitions: map[string]dataintegration.ConfigParameterDefinition{"EXAMPLE_KEY_fIS1b": dataintegration.ConfigParameterDefinition{ParameterName: common.String("EXAMPLE-parameterName-Value"),
								ParameterType: dataintegration.ConfiguredType{ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
									ObjectStatus: common.Int(73),
									Description:  common.String("EXAMPLE-description-Value"),
									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")},
									WrappedType: &wrappedType,
									ConfigValues: &dataintegration.ConfigValues{ConfigParamValues: map[string]dataintegration.ConfigParameterValue{"EXAMPLE_KEY_pm0ti": dataintegration.ConfigParameterValue{ObjectValue: &objectValue,
										ParameterValue:  common.String("EXAMPLE-parameterValue-Value"),
										RefValue:        &refValue,
										RootObjectValue: &rootObjectValue,
										StringValue:     common.String("EXAMPLE-stringValue-Value"),
										IntValue:        common.Int(221)}},
										ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
											RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")}}},
								ClassFieldName:    common.String("EXAMPLE-classFieldName-Value"),
								DefaultValue:      &defaultValue,
								Description:       common.String("EXAMPLE-description-Value"),
								IsClassFieldValue: common.Bool(false),
								IsStatic:          common.Bool(false)}}},
						Description:  common.String("EXAMPLE-description-Value"),
						Key:          common.String("EXAMPLE-key-Value"),
						ModelVersion: common.String("EXAMPLE-modelVersion-Value")}}},
				ObjectStatus: common.Int(335),
				Sid:          common.String("EXAMPLE-sid-Value"),
				WalletSecret: &dataintegration.SensitiveAttribute{Value: common.String("EXAMPLE-value-Value"),
					SecretConfig: dataintegration.OciVaultSecretConfig{SecretId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value")}},
				DefaultConnection: &dataintegration.ConnectionFromOraclePeopleSoftDetails{Identifier: common.String("EXAMPLE-identifier-Value"),
					PasswordSecret: &dataintegration.SensitiveAttribute{SecretConfig: dataintegration.OciVaultSecretConfig{SecretId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value")},
						Value: common.String("EXAMPLE-value-Value")},
					ObjectVersion: common.Int(434),
					ConnectionProperties: []dataintegration.ConnectionProperty{dataintegration.ConnectionProperty{Value: common.String("EXAMPLE-value-Value"),
						Name: common.String("EXAMPLE-name-Value")}},
					IsDefault:    common.Bool(true),
					Key:          common.String("EXAMPLE-key-Value"),
					ObjectStatus: common.Int(888),
					Password:     common.String("EXAMPLE-password-Value"),
					Username:     common.String("EXAMPLE-username-Value"),
					Description:  common.String("EXAMPLE-description-Value"),
					Metadata: &dataintegration.ObjectMetadata{CreatedBy: common.String("EXAMPLE-createdBy-Value"),
						Labels:          []string{"EXAMPLE--Value"},
						UpdatedByName:   common.String("EXAMPLE-updatedByName-Value"),
						CreatedByName:   common.String("EXAMPLE-createdByName-Value"),
						IdentifierPath:  common.String("EXAMPLE-identifierPath-Value"),
						InfoFields:      map[string]string{"EXAMPLE_KEY_J7qwb": "EXAMPLE_VALUE_DgbYYKzPzvTpRuNmGLTo"},
						IsFavorite:      common.Bool(false),
						RegistryVersion: common.Int(109),
						TimeCreated:     &common.SDKTime{Time: time.Now()},
						TimeUpdated:     &common.SDKTime{Time: time.Now()},
						UpdatedBy:       common.String("EXAMPLE-updatedBy-Value"),
						Aggregator: &dataintegration.AggregatorSummary{Name: common.String("EXAMPLE-name-Value"),
							Type:        common.String("EXAMPLE-type-Value"),
							Description: common.String("EXAMPLE-description-Value"),
							Identifier:  common.String("EXAMPLE-identifier-Value"),
							Key:         common.String("EXAMPLE-key-Value")},
						AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
						CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(489),
							ObjectType: dataintegration.CountStatisticSummaryObjectTypeFolder}}}},
					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")},
					PrimarySchema: &dataintegration.Schema{Description: common.String("EXAMPLE-description-Value"),
						Key: common.String("EXAMPLE-key-Value"),
						Metadata: &dataintegration.ObjectMetadata{IdentifierPath: common.String("EXAMPLE-identifierPath-Value"),
							IsFavorite:      common.Bool(true),
							RegistryVersion: common.Int(328),
							TimeUpdated:     &common.SDKTime{Time: time.Now()},
							UpdatedBy:       common.String("EXAMPLE-updatedBy-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(330),
								ObjectType: dataintegration.CountStatisticSummaryObjectTypeProject}}},
							CreatedBy:     common.String("EXAMPLE-createdBy-Value"),
							InfoFields:    map[string]string{"EXAMPLE_KEY_zK70B": "EXAMPLE_VALUE_ybszQodtaUZH6TIGpg9D"},
							Labels:        []string{"EXAMPLE--Value"},
							TimeCreated:   &common.SDKTime{Time: time.Now()},
							UpdatedByName: common.String("EXAMPLE-updatedByName-Value"),
							AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
							CreatedByName: common.String("EXAMPLE-createdByName-Value")},
						Name:              common.String("EXAMPLE-name-Value"),
						ObjectStatus:      common.Int(851),
						ResourceName:      common.String("EXAMPLE-resourceName-Value"),
						DefaultConnection: common.String("EXAMPLE-defaultConnection-Value"),
						ExternalKey:       common.String("EXAMPLE-externalKey-Value"),
						Identifier:        common.String("EXAMPLE-identifier-Value"),
						IsHasContainers:   common.Bool(true),
						ModelVersion:      common.String("EXAMPLE-modelVersion-Value"),
						ObjectVersion:     common.Int(78),
						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"),
				ExternalKey: common.String("EXAMPLE-externalKey-Value"),
				Port:        common.String("EXAMPLE-port-Value"),
				ServiceName: common.String("EXAMPLE-serviceName-Value"),
				WalletPasswordSecret: &dataintegration.SensitiveAttribute{SecretConfig: dataintegration.OciVaultSecretConfig{SecretId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value")},
					Value: common.String("EXAMPLE-value-Value")},
				DriverClass: common.String("EXAMPLE-driverClass-Value"),
				ParentRef: &dataintegration.ParentReference{RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
					Parent: common.String("EXAMPLE-parent-Value")}},
			WalletPasswordSecret: &dataintegration.SensitiveAttribute{SecretConfig: dataintegration.OciVaultSecretConfig{SecretId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value")},
				Value: common.String("EXAMPLE-value-Value")},
			CompartmentId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-compartmentId-Value"),
			DriverClass:   common.String("EXAMPLE-driverClass-Value")},
		OpcRequestId: common.String("FRSBPUQZKSDTOGTZESHC<unique_ID>")}

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