def METHOD_NAME(self, shared_state):
    aiplatform.init(
        project=e2e_base._PROJECT,
        location=e2e_base._LOCATION,
    )
    vertex_dataset_name = f"projects/{e2e_base._PROJECT}/locations/{e2e_base._LOCATION}/datasets/dataset"
    artifact = google_artifact_schema.VertexDataset(
        vertex_dataset_name=vertex_dataset_name,
        display_name=self.artifact_display_name,
        metadata=self.artifact_metadata,
        description=self.artifact_description,
    ).create()
    shared_state["resources"].append(artifact)
    expected_metadata = self.artifact_metadata.copy()
    expected_metadata["resourceName"] = vertex_dataset_name
    assert artifact.display_name == self.artifact_display_name
    assert json.dumps(artifact.metadata, sort_keys=True) == json.dumps(
        expected_metadata, sort_keys=True
    )
    assert artifact.schema_title == "google.VertexDataset"
    assert artifact.description == self.artifact_description
    assert "/metadataStores/default/artifacts/" in artifact.resource_name
    assert (
        artifact.uri
        == f"https://{e2e_base._LOCATION}-aiplatform.googleapis.com/v1/{vertex_dataset_name}"
    )