com.google.cloud.bigquery.Acl.User

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

1. AclTest#testUserEntity()

Project: gcloud-java
Source File: AclTest.java
View license
@Test
public void testUserEntity() {
    User entity = new User("u1");
    assertEquals("u1", entity.email());
    assertEquals(Type.USER, entity.type());
    Dataset.Access pb = entity.toPb();
    assertEquals(entity, Entity.fromPb(pb));
}