com.google.cloud.bigquery.Acl.Domain

Here are the examples of the java api class com.google.cloud.bigquery.Acl.Domain taken from open source projects.

1. AclTest#testDomainEntity()

Project: gcloud-java
File: AclTest.java
@Test
public void testDomainEntity() {
    Domain entity = new Domain("d1");
    assertEquals("d1", entity.domain());
    assertEquals(Type.DOMAIN, entity.type());
    Dataset.Access pb = entity.toPb();
    assertEquals(entity, Entity.fromPb(pb));
}