Skip to content

Commit 411feea

Browse files
busunkim96tseaver
authored andcommitted
Fix docstring replace in synth (#7458)
1 parent 91b2646 commit 411feea

File tree

4 files changed

+4
-19
lines changed

4 files changed

+4
-19
lines changed

error_reporting/google/cloud/errorreporting_v1beta1/gapic/report_errors_service_client.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -195,14 +195,6 @@ def report_error_event(
195195
"""
196196
Report an individual error event.
197197
198-
This endpoint accepts either an OAuth token, or an API key for
199-
authentication. To use an API key, append it to the URL as the value of
200-
a ``key`` parameter. For example:
201-
202-
.. raw:: html
203-
<pre>POST
204-
https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
205-
206198
Example:
207199
>>> from google.cloud import errorreporting_v1beta1
208200
>>>

error_reporting/google/cloud/errorreporting_v1beta1/gapic/transports/report_errors_service_grpc_transport.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,6 @@ def report_error_event(self):
108108
109109
Report an individual error event.
110110
111-
This endpoint accepts either an OAuth token, or an API key for
112-
authentication. To use an API key, append it to the URL as the value of
113-
a ``key`` parameter. For example:
114-
115-
.. raw:: html
116-
<pre>POST
117-
https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
118-
119111
Returns:
120112
Callable: A callable which accepts the appropriate
121113
deserialized request object and returns a

error_reporting/synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"updateTime": "2019-02-26T13:15:27.166417Z",
2+
"updateTime": "2019-02-26T21:22:37.725638Z",
33
"sources": [
44
{
55
"generator": {
@@ -20,7 +20,7 @@
2020
"template": {
2121
"name": "python_library",
2222
"origin": "synthtool.gcp",
23-
"version": "2019.1.16"
23+
"version": "2019.2.26"
2424
}
2525
}
2626
],

error_reporting/synth.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
a ``key`` parameter. For example:
5050
5151
\.\. raw:: html
52-
<pre>POST .*
52+
<pre>POST
53+
.*</pre>
5354
"""
5455

5556
targets = [

0 commit comments

Comments
 (0)