public static final class Acl.Project extends Acl.Entity
Modifier and Type | Class and Description |
---|---|
static class |
Acl.Project.ProjectRole |
Acl.Entity.Type
Constructor and Description |
---|
Project(Acl.Project.ProjectRole projectRole,
String projectId)
Creates a project entity.
|
Modifier and Type | Method and Description |
---|---|
String |
getProjectId()
Returns the project id for this entity.
|
Acl.Project.ProjectRole |
getProjectRole()
Returns the role in the project for this entity.
|
public Project(Acl.Project.ProjectRole projectRole, String projectId)
projectRole
- a role in the project, used to select project's teamsprojectId
- id of the projectpublic Acl.Project.ProjectRole getProjectRole()
public String getProjectId()
Copyright © 2019 Google LLC. All rights reserved.