Skip to content

Commit 9dc3d4a

Browse files
feat: [google-cloud-service-management] Add support for opt-in debug logging (googleapis#13329)
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 feat: add service renaming to GoSettings 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: https://github.com/googleapis/googleapis-gen/commit/ca1e0a1e472d6e6f5de883a5cb54724f112ce348 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlcnZpY2UtbWFuYWdlbWVudC8uT3dsQm90LnlhbWwiLCJoIjoiY2ExZTBhMWU0NzJkNmU2ZjVkZTg4M2E1Y2I1NDcyNGYxMTJjZTM0OCJ9 BEGIN_NESTED_COMMIT feat: [google-cloud-service-management] add service renaming to GoSettings PiperOrigin-RevId: 703180693 Source-Link: googleapis/googleapis@895f2b5 Source-Link: https://github.com/googleapis/googleapis-gen/commit/ea2721881099c85e34656ca022d016babfd823b0 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXNlcnZpY2UtbWFuYWdlbWVudC8uT3dsQm90LnlhbWwiLCJoIjoiZWEyNzIxODgxMDk5Yzg1ZTM0NjU2Y2EwMjJkMDE2YmFiZmQ4MjNiMCJ9 END_NESTED_COMMIT --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: ohmayr <omairnaveed@ymail.com>
1 parent 4795f26 commit 9dc3d4a

File tree

10 files changed

+1607
-276
lines changed

10 files changed

+1607
-276
lines changed

packages/google-cloud-service-management/google/cloud/servicemanagement/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__ = "1.11.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-service-management/google/cloud/servicemanagement_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__ = "1.11.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-service-management/google/cloud/servicemanagement_v1/services/service_manager/async_client.py

Lines changed: 117 additions & 51 deletions
Large diffs are not rendered by default.

packages/google-cloud-service-management/google/cloud/servicemanagement_v1/services/service_manager/client.py

Lines changed: 122 additions & 51 deletions
Large diffs are not rendered by default.

packages/google-cloud-service-management/google/cloud/servicemanagement_v1/services/service_manager/pagers.py

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def __init__(
6969
*,
7070
retry: OptionalRetry = gapic_v1.method.DEFAULT,
7171
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
72-
metadata: Sequence[Tuple[str, str]] = ()
72+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
7373
):
7474
"""Instantiate the pager.
7575
@@ -83,8 +83,10 @@ def __init__(
8383
retry (google.api_core.retry.Retry): Designation of what errors,
8484
if any, should be retried.
8585
timeout (float): The timeout for this request.
86-
metadata (Sequence[Tuple[str, str]]): Strings which should be
87-
sent along with the request as metadata.
86+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
87+
sent along with the request as metadata. Normally, each value must be of type `str`,
88+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
89+
be of type `bytes`.
8890
"""
8991
self._method = method
9092
self._request = servicemanager.ListServicesRequest(request)
@@ -143,7 +145,7 @@ def __init__(
143145
*,
144146
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
145147
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
146-
metadata: Sequence[Tuple[str, str]] = ()
148+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
147149
):
148150
"""Instantiates the pager.
149151
@@ -157,8 +159,10 @@ def __init__(
157159
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
158160
if any, should be retried.
159161
timeout (float): The timeout for this request.
160-
metadata (Sequence[Tuple[str, str]]): Strings which should be
161-
sent along with the request as metadata.
162+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
163+
sent along with the request as metadata. Normally, each value must be of type `str`,
164+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
165+
be of type `bytes`.
162166
"""
163167
self._method = method
164168
self._request = servicemanager.ListServicesRequest(request)
@@ -221,7 +225,7 @@ def __init__(
221225
*,
222226
retry: OptionalRetry = gapic_v1.method.DEFAULT,
223227
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
224-
metadata: Sequence[Tuple[str, str]] = ()
228+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
225229
):
226230
"""Instantiate the pager.
227231
@@ -235,8 +239,10 @@ def __init__(
235239
retry (google.api_core.retry.Retry): Designation of what errors,
236240
if any, should be retried.
237241
timeout (float): The timeout for this request.
238-
metadata (Sequence[Tuple[str, str]]): Strings which should be
239-
sent along with the request as metadata.
242+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
243+
sent along with the request as metadata. Normally, each value must be of type `str`,
244+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
245+
be of type `bytes`.
240246
"""
241247
self._method = method
242248
self._request = servicemanager.ListServiceConfigsRequest(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 = servicemanager.ListServiceConfigsRequest(request)
@@ -373,7 +381,7 @@ def __init__(
373381
*,
374382
retry: OptionalRetry = gapic_v1.method.DEFAULT,
375383
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
376-
metadata: Sequence[Tuple[str, str]] = ()
384+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
377385
):
378386
"""Instantiate the pager.
379387
@@ -387,8 +395,10 @@ def __init__(
387395
retry (google.api_core.retry.Retry): Designation of what errors,
388396
if any, should be retried.
389397
timeout (float): The timeout for this request.
390-
metadata (Sequence[Tuple[str, str]]): Strings which should be
391-
sent along with the request as metadata.
398+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
399+
sent along with the request as metadata. Normally, each value must be of type `str`,
400+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
401+
be of type `bytes`.
392402
"""
393403
self._method = method
394404
self._request = servicemanager.ListServiceRolloutsRequest(request)
@@ -447,7 +457,7 @@ def __init__(
447457
*,
448458
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
449459
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
450-
metadata: Sequence[Tuple[str, str]] = ()
460+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
451461
):
452462
"""Instantiates the pager.
453463
@@ -461,8 +471,10 @@ def __init__(
461471
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
462472
if any, should be retried.
463473
timeout (float): The timeout for this request.
464-
metadata (Sequence[Tuple[str, str]]): Strings which should be
465-
sent along with the request as metadata.
474+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
475+
sent along with the request as metadata. Normally, each value must be of type `str`,
476+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
477+
be of type `bytes`.
466478
"""
467479
self._method = method
468480
self._request = servicemanager.ListServiceRolloutsRequest(request)

0 commit comments

Comments
 (0)