// 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 ExampleCreateConnectionValidation() {
// 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 defaultValue interface{}
defaultValue = "EXAMPLE-defaultValue-Value"
req := dataintegration.CreateConnectionValidationRequest{CreateConnectionValidationDetails: dataintegration.CreateConnectionValidationDetails{RegistryMetadata: &dataintegration.RegistryMetadata{AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
IsFavorite: common.Bool(true),
Key: common.String("EXAMPLE-key-Value"),
Labels: []string{"EXAMPLE--Value"},
RegistryVersion: common.Int(440)},
Connection: dataintegration.CreateConnectionFromMySql{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"),
ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
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{Key: common.String("EXAMPLE-key-Value"),
Labels: []string{"EXAMPLE--Value"},
RegistryVersion: common.Int(647),
AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
IsFavorite: common.Bool(false)},
Key: common.String("EXAMPLE-key-Value"),
Name: common.String("EXAMPLE-name-Value"),
ObjectStatus: common.Int(652),
ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
Password: common.String("EXAMPLE-password-Value"),
Username: common.String("EXAMPLE-username-Value")},
DataAsset: dataintegration.CreateDataAssetFromFusionApp{DefaultConnection: dataintegration.CreateConnectionFromOracleSiebel{Description: common.String("EXAMPLE-description-Value"),
Identifier: common.String("EXAMPLE-identifier-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")},
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")}},
ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
ObjectStatus: common.Int(43),
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{AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
IsFavorite: common.Bool(false),
Key: common.String("EXAMPLE-key-Value"),
Labels: []string{"EXAMPLE--Value"},
RegistryVersion: common.Int(525)}},
ExternalKey: common.String("EXAMPLE-externalKey-Value"),
ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
Identifier: common.String("EXAMPLE-identifier-Value"),
RegistryMetadata: &dataintegration.RegistryMetadata{Labels: []string{"EXAMPLE--Value"},
RegistryVersion: common.Int(795),
AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
IsFavorite: common.Bool(false),
Key: common.String("EXAMPLE-key-Value")},
ServiceUrl: common.String("EXAMPLE-serviceUrl-Value"),
StagingDataAsset: &dataintegration.DataAssetSummaryFromObjectStorage{TenancyId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-tenancyId-Value"),
Key: common.String("EXAMPLE-key-Value"),
Metadata: &dataintegration.ObjectMetadata{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")},
CreatedBy: common.String("EXAMPLE-createdBy-Value"),
IdentifierPath: common.String("EXAMPLE-identifierPath-Value"),
IsFavorite: common.Bool(true),
UpdatedBy: common.String("EXAMPLE-updatedBy-Value"),
InfoFields: map[string]string{"EXAMPLE_KEY_QC8tp": "EXAMPLE_VALUE_20ykDf8vxFB9DzQT7acw"},
Labels: []string{"EXAMPLE--Value"},
RegistryVersion: common.Int(7),
AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(747),
ObjectType: dataintegration.CountStatisticSummaryObjectTypeProject}}},
TimeCreated: &common.SDKTime{Time: time.Now()},
TimeUpdated: &common.SDKTime{Time: time.Now()},
UpdatedByName: common.String("EXAMPLE-updatedByName-Value"),
CreatedByName: common.String("EXAMPLE-createdByName-Value")},
Name: common.String("EXAMPLE-name-Value"),
ObjectStatus: common.Int(489),
Identifier: common.String("EXAMPLE-identifier-Value"),
ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
NativeTypeSystem: &dataintegration.TypeSystem{TypeMappingFrom: map[string]string{"EXAMPLE_KEY_n3dAj": "EXAMPLE_VALUE_5LmMrYxNSPcGAdl52LPg"},
Key: common.String("EXAMPLE-key-Value"),
Identifier: common.String("EXAMPLE-identifier-Value"),
ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
Name: common.String("EXAMPLE-name-Value"),
ObjectStatus: common.Int(198),
ObjectVersion: common.Int(842),
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"),
Types: []dataintegration.DataType{dataintegration.DataType{DtType: dataintegration.DataTypeDtTypePrimitive,
Key: common.String("EXAMPLE-key-Value"),
ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
ObjectStatus: common.Int(723),
ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-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(307),
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_ateoq": dataintegration.ConfigParameterDefinition{ClassFieldName: common.String("EXAMPLE-classFieldName-Value"),
DefaultValue: &defaultValue,
Description: common.String("EXAMPLE-description-Value"),
IsClassFieldValue: common.Bool(false),
IsStatic: common.Bool(false),
ParameterName: common.String("EXAMPLE-parameterName-Value"),
ParameterType: dataintegration.JavaType{Description: common.String("EXAMPLE-description-Value"),
JavaTypeName: common.String("EXAMPLE-javaTypeName-Value"),
Key: common.String("EXAMPLE-key-Value"),
ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
Name: common.String("EXAMPLE-name-Value"),
ObjectStatus: common.Int(436),
ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")}}}}},
Name: common.String("EXAMPLE-name-Value"),
TypeSystemName: common.String("EXAMPLE-typeSystemName-Value"),
Description: common.String("EXAMPLE-description-Value")}},
TypeMappingTo: map[string]string{"EXAMPLE_KEY_WsEB8": "EXAMPLE_VALUE_t1dIPE6UdeTXqLhtdr4p"}},
ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
DefaultConnection: &dataintegration.ConnectionSummaryFromObjectStorage{UserId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-userId-Value"),
CredentialFileContent: common.String("EXAMPLE-credentialFileContent-Value"),
FingerPrint: common.String("EXAMPLE-fingerPrint-Value"),
KeyMap: map[string]string{"EXAMPLE_KEY_qJcZw": "EXAMPLE_VALUE_ptZ8FSjKypuYUG6y1DXj"},
Metadata: &dataintegration.ObjectMetadata{AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
CreatedBy: common.String("EXAMPLE-createdBy-Value"),
CreatedByName: common.String("EXAMPLE-createdByName-Value"),
IdentifierPath: common.String("EXAMPLE-identifierPath-Value"),
TimeCreated: &common.SDKTime{Time: time.Now()},
UpdatedBy: common.String("EXAMPLE-updatedBy-Value"),
Aggregator: &dataintegration.AggregatorSummary{Type: common.String("EXAMPLE-type-Value"),
Description: common.String("EXAMPLE-description-Value"),
Identifier: common.String("EXAMPLE-identifier-Value"),
Key: common.String("EXAMPLE-key-Value"),
Name: common.String("EXAMPLE-name-Value")},
UpdatedByName: common.String("EXAMPLE-updatedByName-Value"),
InfoFields: map[string]string{"EXAMPLE_KEY_c45tH": "EXAMPLE_VALUE_xbGEZI5Dst9ovncLPfPe"},
IsFavorite: common.Bool(false),
CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(852),
ObjectType: dataintegration.CountStatisticSummaryObjectTypeApplication}}},
RegistryVersion: common.Int(757),
TimeUpdated: &common.SDKTime{Time: time.Now()},
Labels: []string{"EXAMPLE--Value"}},
Name: common.String("EXAMPLE-name-Value"),
ObjectVersion: common.Int(259),
PrimarySchema: &dataintegration.Schema{DefaultConnection: common.String("EXAMPLE-defaultConnection-Value"),
ExternalKey: common.String("EXAMPLE-externalKey-Value"),
Identifier: common.String("EXAMPLE-identifier-Value"),
ObjectVersion: common.Int(198),
ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
IsHasContainers: common.Bool(true),
ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
Description: common.String("EXAMPLE-description-Value"),
ObjectStatus: common.Int(775),
Key: common.String("EXAMPLE-key-Value"),
Metadata: &dataintegration.ObjectMetadata{CreatedBy: common.String("EXAMPLE-createdBy-Value"),
InfoFields: map[string]string{"EXAMPLE_KEY_A0IMn": "EXAMPLE_VALUE_xCbErcqKqs3QuyvFVyAo"},
Labels: []string{"EXAMPLE--Value"},
UpdatedByName: common.String("EXAMPLE-updatedByName-Value"),
CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(209),
ObjectType: dataintegration.CountStatisticSummaryObjectTypeFunctionLibrary}}},
IdentifierPath: common.String("EXAMPLE-identifierPath-Value"),
TimeUpdated: &common.SDKTime{Time: time.Now()},
UpdatedBy: common.String("EXAMPLE-updatedBy-Value"),
AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
CreatedByName: common.String("EXAMPLE-createdByName-Value"),
TimeCreated: &common.SDKTime{Time: time.Now()},
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")},
IsFavorite: common.Bool(true),
RegistryVersion: common.Int(436)},
Name: common.String("EXAMPLE-name-Value"),
ResourceName: common.String("EXAMPLE-resourceName-Value")},
ConnectionProperties: []dataintegration.ConnectionProperty{dataintegration.ConnectionProperty{Name: common.String("EXAMPLE-name-Value"),
Value: common.String("EXAMPLE-value-Value")}},
Identifier: common.String("EXAMPLE-identifier-Value"),
ObjectStatus: common.Int(379),
IsDefault: common.Bool(true),
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"),
Key: common.String("EXAMPLE-key-Value"),
ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
PassPhrase: common.String("EXAMPLE-passPhrase-Value")},
Namespace: common.String("EXAMPLE-namespace-Value"),
ObjectVersion: common.Int(793),
Url: common.String("EXAMPLE-url-Value"),
AssetProperties: map[string]string{"EXAMPLE_KEY_0ORpw": "EXAMPLE_VALUE_sPArPLVSseuhMuhaL9LX"},
Description: common.String("EXAMPLE-description-Value"),
ExternalKey: common.String("EXAMPLE-externalKey-Value"),
OciRegion: common.String("EXAMPLE-ociRegion-Value")},
Key: common.String("EXAMPLE-key-Value"),
Name: common.String("EXAMPLE-name-Value"),
AssetProperties: map[string]string{"EXAMPLE_KEY_QX07X": "EXAMPLE_VALUE_F4MoMBj7dkVsKuHLPUkY"},
BucketSchema: &dataintegration.Schema{ExternalKey: common.String("EXAMPLE-externalKey-Value"),
Key: common.String("EXAMPLE-key-Value"),
Metadata: &dataintegration.ObjectMetadata{AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
RegistryVersion: common.Int(259),
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")},
CreatedByName: common.String("EXAMPLE-createdByName-Value"),
TimeCreated: &common.SDKTime{Time: time.Now()},
UpdatedByName: common.String("EXAMPLE-updatedByName-Value"),
CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(724),
ObjectType: dataintegration.CountStatisticSummaryObjectTypeTask}}},
TimeUpdated: &common.SDKTime{Time: time.Now()},
CreatedBy: common.String("EXAMPLE-createdBy-Value"),
IdentifierPath: common.String("EXAMPLE-identifierPath-Value"),
InfoFields: map[string]string{"EXAMPLE_KEY_6SfLB": "EXAMPLE_VALUE_DpcTwXHs7Riwfce6b6MD"},
IsFavorite: common.Bool(true),
Labels: []string{"EXAMPLE--Value"}},
Name: common.String("EXAMPLE-name-Value"),
ResourceName: common.String("EXAMPLE-resourceName-Value"),
DefaultConnection: common.String("EXAMPLE-defaultConnection-Value"),
Identifier: common.String("EXAMPLE-identifier-Value"),
IsHasContainers: common.Bool(false),
ObjectStatus: common.Int(754),
Description: common.String("EXAMPLE-description-Value"),
ObjectVersion: common.Int(947),
ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
ModelVersion: common.String("EXAMPLE-modelVersion-Value")},
Description: common.String("EXAMPLE-description-Value"),
ObjectStatus: common.Int(215),
StagingConnection: &dataintegration.ConnectionSummaryFromObjectStorage{FingerPrint: common.String("EXAMPLE-fingerPrint-Value"),
KeyMap: map[string]string{"EXAMPLE_KEY_LwWgk": "EXAMPLE_VALUE_zMYSgGEfA9pZo9j1CSzE"},
ObjectStatus: common.Int(819),
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"),
ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
PrimarySchema: &dataintegration.Schema{Metadata: &dataintegration.ObjectMetadata{Labels: []string{"EXAMPLE--Value"},
CreatedByName: common.String("EXAMPLE-createdByName-Value"),
UpdatedBy: common.String("EXAMPLE-updatedBy-Value"),
InfoFields: map[string]string{"EXAMPLE_KEY_xbsUF": "EXAMPLE_VALUE_k5o51UTpx8wHGG04QsGV"},
RegistryVersion: common.Int(616),
TimeCreated: &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(2),
ObjectType: dataintegration.CountStatisticSummaryObjectTypeFunctionLibrary}}},
TimeUpdated: &common.SDKTime{Time: time.Now()},
CreatedBy: common.String("EXAMPLE-createdBy-Value"),
IdentifierPath: common.String("EXAMPLE-identifierPath-Value"),
IsFavorite: common.Bool(true)},
ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
DefaultConnection: common.String("EXAMPLE-defaultConnection-Value"),
ExternalKey: common.String("EXAMPLE-externalKey-Value"),
IsHasContainers: common.Bool(false),
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"),
Name: common.String("EXAMPLE-name-Value"),
ObjectVersion: common.Int(30),
Description: common.String("EXAMPLE-description-Value"),
Identifier: common.String("EXAMPLE-identifier-Value"),
Key: common.String("EXAMPLE-key-Value"),
ObjectStatus: common.Int(355)},
UserId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-userId-Value"),
CredentialFileContent: common.String("EXAMPLE-credentialFileContent-Value"),
Identifier: common.String("EXAMPLE-identifier-Value"),
ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
PassPhrase: common.String("EXAMPLE-passPhrase-Value"),
Metadata: &dataintegration.ObjectMetadata{InfoFields: map[string]string{"EXAMPLE_KEY_gyFf5": "EXAMPLE_VALUE_UATS3Cq7EyOIWIoDZPPV"},
IsFavorite: common.Bool(false),
Labels: []string{"EXAMPLE--Value"},
UpdatedBy: common.String("EXAMPLE-updatedBy-Value"),
AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
CreatedByName: common.String("EXAMPLE-createdByName-Value"),
TimeUpdated: &common.SDKTime{Time: time.Now()},
RegistryVersion: common.Int(258),
TimeCreated: &common.SDKTime{Time: time.Now()},
CreatedBy: common.String("EXAMPLE-createdBy-Value"),
IdentifierPath: common.String("EXAMPLE-identifierPath-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")},
CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(605),
ObjectType: dataintegration.CountStatisticSummaryObjectTypeDataAsset}}}},
Name: common.String("EXAMPLE-name-Value"),
ObjectVersion: common.Int(835)}}},
OpcRequestId: common.String("L52UMG1TH2FY5FG6RLBS<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.CreateConnectionValidation(context.Background(), req)
helpers.FatalIfError(err)
// Retrieve value from the response.
fmt.Println(resp)
}