diff --git a/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Acl.java b/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Acl.java index 115e001bd..3fad68920 100644 --- a/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Acl.java +++ b/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Acl.java @@ -193,7 +193,8 @@ public boolean equals(Object obj) { } DatasetAclEntity datasetAclEntity = (DatasetAclEntity) obj; return Objects.equals(getType(), datasetAclEntity.getType()) - && Objects.equals(id, datasetAclEntity.id); + && Objects.equals(id, datasetAclEntity.id) + && Objects.equals(targetTypes, datasetAclEntity.targetTypes); } @Override