use of bio.terra.workspace.service.resource.referenced.cloud.gcp.bqdataset.ReferencedBigQueryDatasetResource in project terra-workspace-manager by DataBiosphere.
the class ReferencedGcpResourceController method getBigQueryDatasetReferenceByName.
@Override
public ResponseEntity<ApiGcpBigQueryDatasetResource> getBigQueryDatasetReferenceByName(UUID id, String name) {
AuthenticatedUserRequest userRequest = getAuthenticatedInfo();
ReferencedBigQueryDatasetResource referenceResource = referenceResourceService.getReferenceResourceByName(id, name, userRequest).castByEnum(WsmResourceType.REFERENCED_GCP_BIG_QUERY_DATASET);
return new ResponseEntity<>(referenceResource.toApiResource(), HttpStatus.OK);
}
Aggregations