Skip to content

Commit f48d1a3

Browse files
Google APIscopybara-github
authored andcommitted
docs: Minor formatting
PiperOrigin-RevId: 553099804
1 parent 61616f1 commit f48d1a3

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

google/iam/v1/policy.proto

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -46,6 +46,7 @@ option php_namespace = "Google\\Cloud\\Iam\\V1";
4646
//
4747
// **JSON example:**
4848
//
49+
// ```
4950
// {
5051
// "bindings": [
5152
// {
@@ -73,9 +74,11 @@ option php_namespace = "Google\\Cloud\\Iam\\V1";
7374
// "etag": "BwWWja0YfJA=",
7475
// "version": 3
7576
// }
77+
// ```
7678
//
7779
// **YAML example:**
7880
//
81+
// ```
7982
// bindings:
8083
// - members:
8184
// - user:mike@example.com
@@ -92,6 +95,7 @@ option php_namespace = "Google\\Cloud\\Iam\\V1";
9295
// expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
9396
// etag: BwWWja0YfJA=
9497
// version: 3
98+
// ```
9599
//
96100
// For a description of IAM and its features, see the
97101
// [IAM documentation](https://cloud.google.com/iam/docs/).
@@ -159,7 +163,7 @@ message Binding {
159163
// For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
160164
string role = 1;
161165

162-
// Specifies the principals requesting access for a Cloud Platform resource.
166+
// Specifies the principals requesting access for a Google Cloud resource.
163167
// `members` can have the following values:
164168
//
165169
// * `allUsers`: A special identifier that represents anyone who is
@@ -269,8 +273,8 @@ message Binding {
269273
// }
270274
//
271275
// For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
272-
// logging. It also exempts jose@example.com from DATA_READ logging, and
273-
// aliya@example.com from DATA_WRITE logging.
276+
// logging. It also exempts `jose@example.com` from DATA_READ logging, and
277+
// `aliya@example.com` from DATA_WRITE logging.
274278
message AuditConfig {
275279
// Specifies a service that will be enabled for audit logging.
276280
// For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
@@ -360,7 +364,7 @@ message BindingDelta {
360364
// Required
361365
string role = 2;
362366

363-
// A single identity requesting access for a Cloud Platform resource.
367+
// A single identity requesting access for a Google Cloud resource.
364368
// Follows the same format of Binding.members.
365369
// Required
366370
string member = 3;

0 commit comments

Comments
 (0)