Skip to content

Commit 819e8fb

Browse files
feat: [Many APIs] Add support for opt-in debug logging (#13344)
BEGIN_COMMIT_OVERRIDE feat: Add support for opt-in debug logging fix: Fix typing issue with gRPC metadata when key ends in -bin chore: Update gapic-generator-python to v1.21.0 END_COMMIT_OVERRIDE - [ ] Regenerate this pull request now. fix: Fix typing issue with gRPC metadata when key ends in -bin chore: Update gapic-generator-python to v1.21.0 PiperOrigin-RevId: 705285820 Source-Link: googleapis/googleapis@f9b8b91 Source-Link: googleapis/googleapis-gen@ca1e0a1 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRldmVsb3BlcmNvbm5lY3QvLk93bEJvdC55YW1sIiwiaCI6ImNhMWUwYTFlNDcyZDZlNmY1ZGU4ODNhNWNiNTQ3MjRmMTEyY2UzNDgifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpYWxvZ2Zsb3ctY3gvLk93bEJvdC55YW1sIiwiaCI6ImNhMWUwYTFlNDcyZDZlNmY1ZGU4ODNhNWNiNTQ3MjRmMTEyY2UzNDgifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpc2NvdmVyeWVuZ2luZS8uT3dsQm90LnlhbWwiLCJoIjoiY2ExZTBhMWU0NzJkNmU2ZjVkZTg4M2E1Y2I1NDcyNGYxMTJjZTM0OCJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRscC8uT3dsQm90LnlhbWwiLCJoIjoiY2ExZTBhMWU0NzJkNmU2ZjVkZTg4M2E1Y2I1NDcyNGYxMTJjZTM0OCJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRtcy8uT3dsQm90LnlhbWwiLCJoIjoiY2ExZTBhMWU0NzJkNmU2ZjVkZTg4M2E1Y2I1NDcyNGYxMTJjZTM0OCJ9 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xl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WNsb3VkLWdrZS1tdWx0aWNsb3VkLy5Pd2xCb3QueWFtbCIsImgiOiJjYTFlMGExZTQ3MmQ2ZTZmNWRlODgzYTVjYjU0NzI0ZjExMmNlMzQ4In0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: ohmayr <[email protected]>
1 parent e31cbb0 commit 819e8fb

File tree

882 files changed

+133724
-22090
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

882 files changed

+133724
-22090
lines changed

packages/google-cloud-developerconnect/google/cloud/developerconnect/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.5" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-developerconnect/google/cloud/developerconnect_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.5" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-developerconnect/google/cloud/developerconnect_v1/services/developer_connect/async_client.py

Lines changed: 132 additions & 60 deletions
Large diffs are not rendered by default.

packages/google-cloud-developerconnect/google/cloud/developerconnect_v1/services/developer_connect/client.py

Lines changed: 137 additions & 60 deletions
Large diffs are not rendered by default.

packages/google-cloud-developerconnect/google/cloud/developerconnect_v1/services/developer_connect/pagers.py

Lines changed: 40 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(
6767
*,
6868
retry: OptionalRetry = gapic_v1.method.DEFAULT,
6969
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
70-
metadata: Sequence[Tuple[str, str]] = ()
70+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
7171
):
7272
"""Instantiate the pager.
7373
@@ -81,8 +81,10 @@ def __init__(
8181
retry (google.api_core.retry.Retry): Designation of what errors,
8282
if any, should be retried.
8383
timeout (float): The timeout for this request.
84-
metadata (Sequence[Tuple[str, str]]): Strings which should be
85-
sent along with the request as metadata.
84+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
85+
sent along with the request as metadata. Normally, each value must be of type `str`,
86+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
87+
be of type `bytes`.
8688
"""
8789
self._method = method
8890
self._request = developer_connect.ListConnectionsRequest(request)
@@ -141,7 +143,7 @@ def __init__(
141143
*,
142144
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
143145
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
144-
metadata: Sequence[Tuple[str, str]] = ()
146+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
145147
):
146148
"""Instantiates the pager.
147149
@@ -155,8 +157,10 @@ def __init__(
155157
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
156158
if any, should be retried.
157159
timeout (float): The timeout for this request.
158-
metadata (Sequence[Tuple[str, str]]): Strings which should be
159-
sent along with the request as metadata.
160+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
161+
sent along with the request as metadata. Normally, each value must be of type `str`,
162+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
163+
be of type `bytes`.
160164
"""
161165
self._method = method
162166
self._request = developer_connect.ListConnectionsRequest(request)
@@ -219,7 +223,7 @@ def __init__(
219223
*,
220224
retry: OptionalRetry = gapic_v1.method.DEFAULT,
221225
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
222-
metadata: Sequence[Tuple[str, str]] = ()
226+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
223227
):
224228
"""Instantiate the pager.
225229
@@ -233,8 +237,10 @@ def __init__(
233237
retry (google.api_core.retry.Retry): Designation of what errors,
234238
if any, should be retried.
235239
timeout (float): The timeout for this request.
236-
metadata (Sequence[Tuple[str, str]]): Strings which should be
237-
sent along with the request as metadata.
240+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
241+
sent along with the request as metadata. Normally, each value must be of type `str`,
242+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
243+
be of type `bytes`.
238244
"""
239245
self._method = method
240246
self._request = developer_connect.ListGitRepositoryLinksRequest(request)
@@ -295,7 +301,7 @@ def __init__(
295301
*,
296302
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
297303
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
298-
metadata: Sequence[Tuple[str, str]] = ()
304+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
299305
):
300306
"""Instantiates the pager.
301307
@@ -309,8 +315,10 @@ def __init__(
309315
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
310316
if any, should be retried.
311317
timeout (float): The timeout for this request.
312-
metadata (Sequence[Tuple[str, str]]): Strings which should be
313-
sent along with the request as metadata.
318+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
319+
sent along with the request as metadata. Normally, each value must be of type `str`,
320+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
321+
be of type `bytes`.
314322
"""
315323
self._method = method
316324
self._request = developer_connect.ListGitRepositoryLinksRequest(request)
@@ -375,7 +383,7 @@ def __init__(
375383
*,
376384
retry: OptionalRetry = gapic_v1.method.DEFAULT,
377385
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
378-
metadata: Sequence[Tuple[str, str]] = ()
386+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
379387
):
380388
"""Instantiate the pager.
381389
@@ -389,8 +397,10 @@ def __init__(
389397
retry (google.api_core.retry.Retry): Designation of what errors,
390398
if any, should be retried.
391399
timeout (float): The timeout for this request.
392-
metadata (Sequence[Tuple[str, str]]): Strings which should be
393-
sent along with the request as metadata.
400+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
401+
sent along with the request as metadata. Normally, each value must be of type `str`,
402+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
403+
be of type `bytes`.
394404
"""
395405
self._method = method
396406
self._request = developer_connect.FetchLinkableGitRepositoriesRequest(request)
@@ -451,7 +461,7 @@ def __init__(
451461
*,
452462
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
453463
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
454-
metadata: Sequence[Tuple[str, str]] = ()
464+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
455465
):
456466
"""Instantiates the pager.
457467
@@ -465,8 +475,10 @@ def __init__(
465475
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
466476
if any, should be retried.
467477
timeout (float): The timeout for this request.
468-
metadata (Sequence[Tuple[str, str]]): Strings which should be
469-
sent along with the request as metadata.
478+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
479+
sent along with the request as metadata. Normally, each value must be of type `str`,
480+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
481+
be of type `bytes`.
470482
"""
471483
self._method = method
472484
self._request = developer_connect.FetchLinkableGitRepositoriesRequest(request)
@@ -531,7 +543,7 @@ def __init__(
531543
*,
532544
retry: OptionalRetry = gapic_v1.method.DEFAULT,
533545
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
534-
metadata: Sequence[Tuple[str, str]] = ()
546+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
535547
):
536548
"""Instantiate the pager.
537549
@@ -545,8 +557,10 @@ def __init__(
545557
retry (google.api_core.retry.Retry): Designation of what errors,
546558
if any, should be retried.
547559
timeout (float): The timeout for this request.
548-
metadata (Sequence[Tuple[str, str]]): Strings which should be
549-
sent along with the request as metadata.
560+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
561+
sent along with the request as metadata. Normally, each value must be of type `str`,
562+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
563+
be of type `bytes`.
550564
"""
551565
self._method = method
552566
self._request = developer_connect.FetchGitRefsRequest(request)
@@ -605,7 +619,7 @@ def __init__(
605619
*,
606620
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
607621
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
608-
metadata: Sequence[Tuple[str, str]] = ()
622+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
609623
):
610624
"""Instantiates the pager.
611625
@@ -619,8 +633,10 @@ def __init__(
619633
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
620634
if any, should be retried.
621635
timeout (float): The timeout for this request.
622-
metadata (Sequence[Tuple[str, str]]): Strings which should be
623-
sent along with the request as metadata.
636+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
637+
sent along with the request as metadata. Normally, each value must be of type `str`,
638+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
639+
be of type `bytes`.
624640
"""
625641
self._method = method
626642
self._request = developer_connect.FetchGitRefsRequest(request)

0 commit comments

Comments
 (0)