Search in sources :

Example 1 with GoogleCloudDataplexV1AssetResourceSpec

use of com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1AssetResourceSpec in project DataflowTemplates by GoogleCloudPlatform.

the class DataplexFileFormatConversionTest method setup.

@Before
public void setup() {
    final String tempDir = temporaryFolder.getRoot().getAbsolutePath();
    outputAsset = new GoogleCloudDataplexV1Asset().setName("projects/p1/locations/l1/lakes/l1/zones/z1/assets/aout");
    outputAsset.setResourceSpec(new GoogleCloudDataplexV1AssetResourceSpec().setType(DataplexAssetResourceSpec.STORAGE_BUCKET.name()).setName(tempDir));
}
Also used : GoogleCloudDataplexV1AssetResourceSpec(com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1AssetResourceSpec) GoogleCloudDataplexV1Asset(com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1Asset) Before(org.junit.Before)

Aggregations

GoogleCloudDataplexV1Asset (com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1Asset)1 GoogleCloudDataplexV1AssetResourceSpec (com.google.api.services.dataplex.v1.model.GoogleCloudDataplexV1AssetResourceSpec)1 Before (org.junit.Before)1