-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(python): allow client documentation to be customized in README (#3
) Source-Link: googleapis/synthtool@95d9289 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:c8878270182edaab99f2927969d4f700c3af265accd472c3425deedff2b7fd93 fix(deps): require google-api-core>=1.32.0,>=2.8.0
- Loading branch information
1 parent
c0f9891
commit 911c36d
Showing
11 changed files
with
83 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,16 +55,10 @@ | |
|
||
|
||
class ClientConnectorServicesServiceAsyncClient: | ||
"""API Overview | ||
------------ | ||
The ``beyondcorp.googleapis.com`` service implements the Google | ||
"""API Overview: The ``beyondcorp.googleapis.com`` service implements the Google | ||
Cloud BeyondCorp API. | ||
Data Model | ||
---------- | ||
The ClientConnectorServicesService exposes the following resources: | ||
Data Model: The ClientConnectorServicesService exposes the following resources: | ||
- Client Connector Services, named as follows: | ||
``projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}``. | ||
|
@@ -1119,9 +1113,10 @@ async def set_iam_policy( | |
optionally specify a ``condition``, which is a logic | ||
expression that further constrains the role binding | ||
based on attributes about the request and/or target | ||
resource. | ||
**JSON Example** | ||
:: | ||
resource. JSON Example. | ||
.. code-block:: python | ||
{ | ||
"bindings": [ | ||
{ | ||
|
@@ -1145,8 +1140,11 @@ async def set_iam_policy( | |
} | ||
] | ||
} | ||
**YAML Example** | ||
:: | ||
bindings: | ||
- members: | ||
- user:[email protected] | ||
|
@@ -1161,6 +1159,7 @@ async def set_iam_policy( | |
title: expirable access | ||
description: Does not grant access after Sep 2020 | ||
expression: request.time < timestamp('2020-10-01T00:00:00.000Z') | ||
For a description of IAM and its features, see the `IAM | ||
developer's | ||
guide <https://cloud.google.com/iam/docs>`__. | ||
|
@@ -1233,9 +1232,10 @@ async def get_iam_policy( | |
optionally specify a ``condition``, which is a logic | ||
expression that further constrains the role binding | ||
based on attributes about the request and/or target | ||
resource. | ||
**JSON Example** | ||
:: | ||
resource. JSON Example. | ||
.. code-block:: python | ||
{ | ||
"bindings": [ | ||
{ | ||
|
@@ -1259,8 +1259,11 @@ async def get_iam_policy( | |
} | ||
] | ||
} | ||
**YAML Example** | ||
:: | ||
bindings: | ||
- members: | ||
- user:[email protected] | ||
|
@@ -1275,6 +1278,7 @@ async def get_iam_policy( | |
title: expirable access | ||
description: Does not grant access after Sep 2020 | ||
expression: request.time < timestamp('2020-10-01T00:00:00.000Z') | ||
For a description of IAM and its features, see the `IAM | ||
developer's | ||
guide <https://cloud.google.com/iam/docs>`__. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,16 +98,10 @@ def get_transport_class( | |
class ClientConnectorServicesServiceClient( | ||
metaclass=ClientConnectorServicesServiceClientMeta | ||
): | ||
"""API Overview | ||
------------ | ||
The ``beyondcorp.googleapis.com`` service implements the Google | ||
"""API Overview: The ``beyondcorp.googleapis.com`` service implements the Google | ||
Cloud BeyondCorp API. | ||
Data Model | ||
---------- | ||
The ClientConnectorServicesService exposes the following resources: | ||
Data Model: The ClientConnectorServicesService exposes the following resources: | ||
- Client Connector Services, named as follows: | ||
``projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}``. | ||
|
@@ -1384,9 +1378,10 @@ def set_iam_policy( | |
optionally specify a ``condition``, which is a logic | ||
expression that further constrains the role binding | ||
based on attributes about the request and/or target | ||
resource. | ||
**JSON Example** | ||
:: | ||
resource. JSON Example. | ||
.. code-block:: python | ||
{ | ||
"bindings": [ | ||
{ | ||
|
@@ -1410,8 +1405,11 @@ def set_iam_policy( | |
} | ||
] | ||
} | ||
**YAML Example** | ||
:: | ||
bindings: | ||
- members: | ||
- user:[email protected] | ||
|
@@ -1426,6 +1424,7 @@ def set_iam_policy( | |
title: expirable access | ||
description: Does not grant access after Sep 2020 | ||
expression: request.time < timestamp('2020-10-01T00:00:00.000Z') | ||
For a description of IAM and its features, see the `IAM | ||
developer's | ||
guide <https://cloud.google.com/iam/docs>`__. | ||
|
@@ -1498,9 +1497,10 @@ def get_iam_policy( | |
optionally specify a ``condition``, which is a logic | ||
expression that further constrains the role binding | ||
based on attributes about the request and/or target | ||
resource. | ||
**JSON Example** | ||
:: | ||
resource. JSON Example. | ||
.. code-block:: python | ||
{ | ||
"bindings": [ | ||
{ | ||
|
@@ -1524,8 +1524,11 @@ def get_iam_policy( | |
} | ||
] | ||
} | ||
**YAML Example** | ||
:: | ||
bindings: | ||
- members: | ||
- user:[email protected] | ||
|
@@ -1540,6 +1543,7 @@ def get_iam_policy( | |
title: expirable access | ||
description: Does not grant access after Sep 2020 | ||
expression: request.time < timestamp('2020-10-01T00:00:00.000Z') | ||
For a description of IAM and its features, see the `IAM | ||
developer's | ||
guide <https://cloud.google.com/iam/docs>`__. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters