proto_docs/google/iam/v1/policy.rb in google-cloud-tasks-v2beta3-0.10.1 vs proto_docs/google/iam/v1/policy.rb in google-cloud-tasks-v2beta3-0.10.2
- old
+ new
@@ -38,10 +38,11 @@
# [IAM
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
#
# **JSON example:**
#
+ # ```
# {
# "bindings": [
# {
# "role": "roles/resourcemanager.organizationAdmin",
# "members": [
@@ -65,13 +66,15 @@
# }
# ],
# "etag": "BwWWja0YfJA=",
# "version": 3
# }
+ # ```
#
# **YAML example:**
#
+ # ```
# bindings:
# - members:
# - user:mike@example.com
# - group:admins@example.com
# - domain:google.com
@@ -84,10 +87,11 @@
# title: expirable access
# description: Does not grant access after Sep 2020
# 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/).
# @!attribute [rw] version
# @return [::Integer]
@@ -155,11 +159,11 @@
# @return [::String]
# Role that is assigned to the list of `members`, or principals.
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
# @!attribute [rw] members
# @return [::Array<::String>]
- # 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
# on the internet; with or without a Google account.
#
@@ -265,12 +269,12 @@
# }
# ]
# }
#
# 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.
# @!attribute [rw] service
# @return [::String]
# Specifies a service that will be enabled for audit logging.
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
# `allServices` is a special value that covers all services.
@@ -354,10 +358,10 @@
# Role that is assigned to `members`.
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
# Required
# @!attribute [rw] member
# @return [::String]
- # 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
# @!attribute [rw] condition
# @return [::Google::Type::Expr]
# The condition that is associated with this binding.