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 |
---|---|
boolean |
equals(Object o) |
String |
getProjectId()
Returns the project id for this entity.
|
Acl.Project.ProjectRole |
getProjectRole()
Returns the role in the project for this entity.
|
int |
hashCode() |
getType, getValue, toString
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()
public boolean equals(Object o)
equals
in class Acl.Entity
public int hashCode()
hashCode
in class Acl.Entity
Copyright © 2023 Google LLC. All rights reserved.