Skip to content

Commit c046d6e

Browse files
committed
Put IAM roles within quotes in javadoc
1 parent 462910e commit c046d6e

File tree

1 file changed

+5
-5
lines changed
  • google-cloud-core/src/main/java/com/google/cloud

1 file changed

+5
-5
lines changed

google-cloud-core/src/main/java/com/google/cloud/Role.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ private Role(String value) {
4141
}
4242

4343
/**
44-
* Returns the string identifier for this role. For example, {@code roles/viewer},
45-
* {@code roles/editor}, or {@code roles/owner}.
44+
* Returns the string identifier for this role. For example, {@code "roles/viewer"},
45+
* {@code "roles/editor"}, or {@code "roles/owner"}.
4646
*/
4747
public String value() {
4848
return value;
@@ -81,9 +81,9 @@ public static Role owner() {
8181
/**
8282
* Returns a new role given its string value.
8383
*
84-
* @param value the string value for the role, for example, {@code roles/viewer},
85-
* {@code roles/editor}, or {@code roles/owner}. If this value does not start with the role
86-
* prefix {@code roles/}, the prefix is prepended.
84+
* @param value the string value for the role, for example, {@code "roles/viewer"},
85+
* {@code "roles/editor"}, or {@code "roles/owner"}. If this value does not start with the
86+
* role prefix {@code roles/}, the prefix is prepended.
8787
* @see <a href="https://cloud.google.com/iam/docs/viewing-grantable-roles">Viewing the Grantable
8888
* Roles on Resources</a>
8989
*/

0 commit comments

Comments
 (0)