Skip to content

Commit

Permalink
docs: Minor formatting
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 553099804
  • Loading branch information
Google APIs authored and Copybara-Service committed Aug 2, 2023
1 parent 61616f1 commit f48d1a3
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions google/iam/v1/policy.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Google LLC
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -46,6 +46,7 @@ option php_namespace = "Google\\Cloud\\Iam\\V1";
//
// **JSON example:**
//
// ```
// {
// "bindings": [
// {
Expand Down Expand Up @@ -73,9 +74,11 @@ option php_namespace = "Google\\Cloud\\Iam\\V1";
// "etag": "BwWWja0YfJA=",
// "version": 3
// }
// ```
//
// **YAML example:**
//
// ```
// bindings:
// - members:
// - user:mike@example.com
Expand All @@ -92,6 +95,7 @@ option php_namespace = "Google\\Cloud\\Iam\\V1";
// expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
// etag: BwWWja0YfJA=
// version: 3
// ```
//
// For a description of IAM and its features, see the
// [IAM documentation](https://cloud.google.com/iam/docs/).
Expand Down Expand Up @@ -159,7 +163,7 @@ message Binding {
// For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
string role = 1;

// Specifies the principals requesting access for a Cloud Platform resource.
// Specifies the principals requesting access for a Google Cloud resource.
// `members` can have the following values:
//
// * `allUsers`: A special identifier that represents anyone who is
Expand Down Expand Up @@ -269,8 +273,8 @@ message Binding {
// }
//
// For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
// logging. It also exempts jose@example.com from DATA_READ logging, and
// aliya@example.com from DATA_WRITE logging.
// logging. It also exempts `jose@example.com` from DATA_READ logging, and
// `aliya@example.com` from DATA_WRITE logging.
message AuditConfig {
// Specifies a service that will be enabled for audit logging.
// For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
Expand Down Expand Up @@ -360,7 +364,7 @@ message BindingDelta {
// Required
string role = 2;

// A single identity requesting access for a Cloud Platform resource.
// A single identity requesting access for a Google Cloud resource.
// Follows the same format of Binding.members.
// Required
string member = 3;
Expand Down

0 comments on commit f48d1a3

Please sign in to comment.