Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit aebc917

Browse files
docs: Minor formatting (#366)
* docs: Minor formatting PiperOrigin-RevId: 553099804 Source-Link: googleapis/googleapis@f48d1a3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/9607990f4c3217bac6edd8131614cfcc71744a6f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTYwNzk5MGY0YzMyMTdiYWM2ZWRkODEzMTYxNGNmY2M3MTc0NGE2ZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent c477bc0 commit aebc917

File tree

12 files changed

+285
-657
lines changed

12 files changed

+285
-657
lines changed

google/cloud/tasks_v2/services/cloud_tasks/async_client.py

Lines changed: 4 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,42 +1281,11 @@ async def sample_get_iam_policy():
12811281
12821282
**JSON example:**
12831283
1284-
{
1285-
"bindings": [
1286-
{
1287-
"role":
1288-
"roles/resourcemanager.organizationAdmin",
1289-
"members": [ "user:[email protected]",
1290-
1291-
"domain:google.com",
1292-
"serviceAccount:[email protected]"
1293-
]
1294-
1295-
}, { "role":
1296-
"roles/resourcemanager.organizationViewer",
1297-
"members": [ "user:[email protected]" ],
1298-
"condition": { "title": "expirable access",
1299-
"description": "Does not grant access after
1300-
Sep 2020", "expression": "request.time <
1301-
timestamp('2020-10-01T00:00:00.000Z')", } }
1302-
1303-
], "etag": "BwWWja0YfJA=", "version": 3
1304-
1305-
}
1284+
:literal:`\` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:[email protected]", "group:[email protected]", "domain:google.com", "serviceAccount:[email protected]" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:[email protected]" ], "condition": { "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 }`\ \`
13061285
13071286
**YAML example:**
13081287
1309-
bindings: - members: - user:\ [email protected] -
1310-
group:\ [email protected] - domain:google.com -
1311-
serviceAccount:\ [email protected]
1312-
role: roles/resourcemanager.organizationAdmin -
1313-
members: - user:\ [email protected] role:
1314-
roles/resourcemanager.organizationViewer
1315-
condition: title: expirable access description:
1316-
Does not grant access after Sep 2020 expression:
1317-
request.time <
1318-
timestamp('2020-10-01T00:00:00.000Z') etag:
1319-
BwWWja0YfJA= version: 3
1288+
:literal:`\` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: 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`\ \`
13201289
13211290
For a description of IAM and its features, see the
13221291
[IAM
@@ -1468,42 +1437,11 @@ async def sample_set_iam_policy():
14681437
14691438
**JSON example:**
14701439
1471-
{
1472-
"bindings": [
1473-
{
1474-
"role":
1475-
"roles/resourcemanager.organizationAdmin",
1476-
"members": [ "user:[email protected]",
1477-
1478-
"domain:google.com",
1479-
"serviceAccount:[email protected]"
1480-
]
1481-
1482-
}, { "role":
1483-
"roles/resourcemanager.organizationViewer",
1484-
"members": [ "user:[email protected]" ],
1485-
"condition": { "title": "expirable access",
1486-
"description": "Does not grant access after
1487-
Sep 2020", "expression": "request.time <
1488-
timestamp('2020-10-01T00:00:00.000Z')", } }
1489-
1490-
], "etag": "BwWWja0YfJA=", "version": 3
1491-
1492-
}
1440+
:literal:`\` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:[email protected]", "group:[email protected]", "domain:google.com", "serviceAccount:[email protected]" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:[email protected]" ], "condition": { "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 }`\ \`
14931441
14941442
**YAML example:**
14951443
1496-
bindings: - members: - user:\ [email protected] -
1497-
group:\ [email protected] - domain:google.com -
1498-
serviceAccount:\ [email protected]
1499-
role: roles/resourcemanager.organizationAdmin -
1500-
members: - user:\ [email protected] role:
1501-
roles/resourcemanager.organizationViewer
1502-
condition: title: expirable access description:
1503-
Does not grant access after Sep 2020 expression:
1504-
request.time <
1505-
timestamp('2020-10-01T00:00:00.000Z') etag:
1506-
BwWWja0YfJA= version: 3
1444+
:literal:`\` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: 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`\ \`
15071445
15081446
For a description of IAM and its features, see the
15091447
[IAM

google/cloud/tasks_v2/services/cloud_tasks/client.py

Lines changed: 4 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,42 +1506,11 @@ def sample_get_iam_policy():
15061506
15071507
**JSON example:**
15081508
1509-
{
1510-
"bindings": [
1511-
{
1512-
"role":
1513-
"roles/resourcemanager.organizationAdmin",
1514-
"members": [ "user:[email protected]",
1515-
1516-
"domain:google.com",
1517-
"serviceAccount:[email protected]"
1518-
]
1519-
1520-
}, { "role":
1521-
"roles/resourcemanager.organizationViewer",
1522-
"members": [ "user:[email protected]" ],
1523-
"condition": { "title": "expirable access",
1524-
"description": "Does not grant access after
1525-
Sep 2020", "expression": "request.time <
1526-
timestamp('2020-10-01T00:00:00.000Z')", } }
1527-
1528-
], "etag": "BwWWja0YfJA=", "version": 3
1529-
1530-
}
1509+
:literal:`\` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:[email protected]", "group:[email protected]", "domain:google.com", "serviceAccount:[email protected]" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:[email protected]" ], "condition": { "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 }`\ \`
15311510
15321511
**YAML example:**
15331512
1534-
bindings: - members: - user:\ [email protected] -
1535-
group:\ [email protected] - domain:google.com -
1536-
serviceAccount:\ [email protected]
1537-
role: roles/resourcemanager.organizationAdmin -
1538-
members: - user:\ [email protected] role:
1539-
roles/resourcemanager.organizationViewer
1540-
condition: title: expirable access description:
1541-
Does not grant access after Sep 2020 expression:
1542-
request.time <
1543-
timestamp('2020-10-01T00:00:00.000Z') etag:
1544-
BwWWja0YfJA= version: 3
1513+
:literal:`\` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: 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`\ \`
15451514
15461515
For a description of IAM and its features, see the
15471516
[IAM
@@ -1680,42 +1649,11 @@ def sample_set_iam_policy():
16801649
16811650
**JSON example:**
16821651
1683-
{
1684-
"bindings": [
1685-
{
1686-
"role":
1687-
"roles/resourcemanager.organizationAdmin",
1688-
"members": [ "user:[email protected]",
1689-
1690-
"domain:google.com",
1691-
"serviceAccount:[email protected]"
1692-
]
1693-
1694-
}, { "role":
1695-
"roles/resourcemanager.organizationViewer",
1696-
"members": [ "user:[email protected]" ],
1697-
"condition": { "title": "expirable access",
1698-
"description": "Does not grant access after
1699-
Sep 2020", "expression": "request.time <
1700-
timestamp('2020-10-01T00:00:00.000Z')", } }
1701-
1702-
], "etag": "BwWWja0YfJA=", "version": 3
1703-
1704-
}
1652+
:literal:`\` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:[email protected]", "group:[email protected]", "domain:google.com", "serviceAccount:[email protected]" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:[email protected]" ], "condition": { "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 }`\ \`
17051653
17061654
**YAML example:**
17071655
1708-
bindings: - members: - user:\ [email protected] -
1709-
group:\ [email protected] - domain:google.com -
1710-
serviceAccount:\ [email protected]
1711-
role: roles/resourcemanager.organizationAdmin -
1712-
members: - user:\ [email protected] role:
1713-
roles/resourcemanager.organizationViewer
1714-
condition: title: expirable access description:
1715-
Does not grant access after Sep 2020 expression:
1716-
request.time <
1717-
timestamp('2020-10-01T00:00:00.000Z') etag:
1718-
BwWWja0YfJA= version: 3
1656+
:literal:`\` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: 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`\ \`
17191657
17201658
For a description of IAM and its features, see the
17211659
[IAM

0 commit comments

Comments
 (0)