You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: Enable requesting numeric enums in "transport=rest" responses for services supporting this (#45)
* chore: Enable requesting numeric enums in "transport=rest" responses for services supporting this (Java, Go, Python, PHP, TypeScript, C#, and Ruby), even if they do not yet turn on REST transport
chore: disallow "transport=rest" for services where numeric enums are not confirmed to be supported (except in PHP and Java)
PiperOrigin-RevId: 493113566
Source-Link: googleapis/googleapis@758f0d1
Source-Link: googleapis/googleapis-gen@78bd8f0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzhiZDhmMDVlMTI3NjM2M2ViMTRlYWU3MGU5MWZlNGJjMjA3MDNhYiJ9
* 🦉 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>
Copy file name to clipboardExpand all lines: packages/google-cloud-beyondcorp-appconnections/google/cloud/beyondcorp_appconnections_v1/services/app_connections_service/client.py
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -433,9 +433,6 @@ def __init__(
433
433
transport (Union[str, AppConnectionsServiceTransport]): The
434
434
transport to use. If set to None, a transport is chosen
435
435
automatically.
436
-
NOTE: "rest" transport functionality is currently in a
437
-
beta state (preview). We welcome your feedback via an
438
-
issue in this library's source repository.
439
436
client_options (Optional[Union[google.api_core.client_options.ClientOptions, dict]]): Custom options for the
440
437
client. It won't take effect if a ``transport`` instance is provided.
441
438
(1) The ``api_endpoint`` property can be used to override the
Copy file name to clipboardExpand all lines: packages/google-cloud-beyondcorp-appconnections/google/cloud/beyondcorp_appconnections_v1/services/app_connections_service/transports/rest.py
+53-44Lines changed: 53 additions & 44 deletions
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,10 @@
59
59
rest_version=requests_version,
60
60
)
61
61
62
+
# TODO (numeric enums): This file was generated with the option to
63
+
# request that the server respond with enums JSON-encoded as
64
+
# numbers. The code below does not implement that functionality yet.
65
+
62
66
63
67
classAppConnectionsServiceRestInterceptor:
64
68
"""Interceptor for AppConnectionsService.
@@ -512,9 +516,6 @@ class AppConnectionsServiceRestTransport(AppConnectionsServiceTransport):
512
516
513
517
It sends JSON representations of protocol buffers over HTTP/1.1
514
518
515
-
NOTE: This REST transport functionality is currently in a beta
516
-
state (preview). We welcome your feedback via an issue in this
517
-
library's source repository. Thank you!
518
519
"""
519
520
520
521
def__init__(
@@ -534,39 +535,35 @@ def __init__(
534
535
) ->None:
535
536
"""Instantiate the transport.
536
537
537
-
NOTE: This REST transport functionality is currently in a beta
538
-
state (preview). We welcome your feedback via a GitHub issue in
539
-
this library's repository. Thank you!
540
-
541
-
Args:
542
-
host (Optional[str]):
543
-
The hostname to connect to.
544
-
credentials (Optional[google.auth.credentials.Credentials]): The
545
-
authorization credentials to attach to requests. These
546
-
credentials identify the application to the service; if none
547
-
are specified, the client will attempt to ascertain the
548
-
credentials from the environment.
549
-
550
-
credentials_file (Optional[str]): A file with credentials that can
551
-
be loaded with :func:`google.auth.load_credentials_from_file`.
552
-
This argument is ignored if ``channel`` is provided.
553
-
scopes (Optional(Sequence[str])): A list of scopes. This argument is
Copy file name to clipboardExpand all lines: packages/google-cloud-beyondcorp-appconnections/tests/unit/gapic/beyondcorp_appconnections_v1/test_app_connections_service.py
0 commit comments