diff --git a/gcloud-java-resourcemanager/src/main/java/com/google/gcloud/resourcemanager/ResourceManager.java b/gcloud-java-resourcemanager/src/main/java/com/google/gcloud/resourcemanager/ResourceManager.java index 979de6e95580..6d79faf18862 100644 --- a/gcloud-java-resourcemanager/src/main/java/com/google/gcloud/resourcemanager/ResourceManager.java +++ b/gcloud-java-resourcemanager/src/main/java/com/google/gcloud/resourcemanager/ResourceManager.java @@ -18,6 +18,7 @@ import com.google.common.base.Joiner; import com.google.common.collect.Sets; +import com.google.gcloud.IamPolicy; import com.google.gcloud.Page; import com.google.gcloud.Service; import com.google.gcloud.spi.ResourceManagerRpc; @@ -184,10 +185,12 @@ public enum Permission { SET_BILLING("setBillingAccount"), UNDELETE("undelete"); + private static final String PREFIX = "resourcemanager.projects."; + private final String strValue; Permission(String suffix) { - this.strValue = "resourcemanager.projects." + suffix; + this.strValue = PREFIX + suffix; } String strValue() { @@ -196,7 +199,7 @@ String strValue() { } /** - * Create a new project. + * Creates a new project. * *

Initially, the project resource is owned by its creator exclusively. The creator can later * grant permission to others to read or update the project. Several APIs are activated @@ -307,7 +310,7 @@ String strValue() { * Sets the IAM access control policy for the specified project. Replaces any existing policy. The * following constraints apply: *