Skip to content

Commit 4fe968a

Browse files
feat: [google-cloud-oracledatabase] Add support for opt-in debug logging (#13337)
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 docs: A comment for field `cpu_count` in message `.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties` is changed docs: A comment for field `memory_size_gb` in message `.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties` is changed docs: A comment for field `db_node_storage_size_gb` in message `.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties` is changed 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: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW9yYWNsZWRhdGFiYXNlLy5Pd2xCb3QueWFtbCIsImgiOiJjYTFlMGExZTQ3MmQ2ZTZmNWRlODgzYTVjYjU0NzI0ZjExMmNlMzQ4In0= BEGIN_NESTED_COMMIT docs: [google-cloud-oracledatabase] A comment for field `cpu_count` in message `.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties` is changed docs: A comment for field `memory_size_gb` in message `.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties` is changed docs: A comment for field `db_node_storage_size_gb` in message `.google.cloud.oracledatabase.v1.CloudExadataInfrastructureProperties` is changed PiperOrigin-RevId: 704818011 Source-Link: googleapis/googleapis@bd20428 Source-Link: googleapis/googleapis-gen@2ad1562 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW9yYWNsZWRhdGFiYXNlLy5Pd2xCb3QueWFtbCIsImgiOiIyYWQxNTYyOTJiNTg1NjM1YWYzMjlmM2U2ZjZiYTJlNjQ0NGE3MWRhIn0= 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 ce5c35a commit 4fe968a

8 files changed

Lines changed: 2021 additions & 287 deletions

File tree

packages/google-cloud-oracledatabase/google/cloud/oracledatabase/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.2" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-oracledatabase/google/cloud/oracledatabase_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.2" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-oracledatabase/google/cloud/oracledatabase_v1/services/oracle_database/client.py

Lines changed: 177 additions & 84 deletions
Large diffs are not rendered by default.

packages/google-cloud-oracledatabase/google/cloud/oracledatabase_v1/services/oracle_database/pagers.py

Lines changed: 55 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def __init__(
8080
*,
8181
retry: OptionalRetry = gapic_v1.method.DEFAULT,
8282
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
83-
metadata: Sequence[Tuple[str, str]] = ()
83+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
8484
):
8585
"""Instantiate the pager.
8686
@@ -94,8 +94,10 @@ def __init__(
9494
retry (google.api_core.retry.Retry): Designation of what errors,
9595
if any, should be retried.
9696
timeout (float): The timeout for this request.
97-
metadata (Sequence[Tuple[str, str]]): Strings which should be
98-
sent along with the request as metadata.
97+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
98+
sent along with the request as metadata. Normally, each value must be of type `str`,
99+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
100+
be of type `bytes`.
99101
"""
100102
self._method = method
101103
self._request = oracledatabase.ListCloudExadataInfrastructuresRequest(request)
@@ -154,7 +156,7 @@ def __init__(
154156
*,
155157
retry: OptionalRetry = gapic_v1.method.DEFAULT,
156158
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
157-
metadata: Sequence[Tuple[str, str]] = ()
159+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
158160
):
159161
"""Instantiate the pager.
160162
@@ -168,8 +170,10 @@ def __init__(
168170
retry (google.api_core.retry.Retry): Designation of what errors,
169171
if any, should be retried.
170172
timeout (float): The timeout for this request.
171-
metadata (Sequence[Tuple[str, str]]): Strings which should be
172-
sent along with the request as metadata.
173+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
174+
sent along with the request as metadata. Normally, each value must be of type `str`,
175+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
176+
be of type `bytes`.
173177
"""
174178
self._method = method
175179
self._request = oracledatabase.ListCloudVmClustersRequest(request)
@@ -228,7 +232,7 @@ def __init__(
228232
*,
229233
retry: OptionalRetry = gapic_v1.method.DEFAULT,
230234
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
231-
metadata: Sequence[Tuple[str, str]] = ()
235+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
232236
):
233237
"""Instantiate the pager.
234238
@@ -242,8 +246,10 @@ def __init__(
242246
retry (google.api_core.retry.Retry): Designation of what errors,
243247
if any, should be retried.
244248
timeout (float): The timeout for this request.
245-
metadata (Sequence[Tuple[str, str]]): Strings which should be
246-
sent along with the request as metadata.
249+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
250+
sent along with the request as metadata. Normally, each value must be of type `str`,
251+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
252+
be of type `bytes`.
247253
"""
248254
self._method = method
249255
self._request = oracledatabase.ListEntitlementsRequest(request)
@@ -302,7 +308,7 @@ def __init__(
302308
*,
303309
retry: OptionalRetry = gapic_v1.method.DEFAULT,
304310
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
305-
metadata: Sequence[Tuple[str, str]] = ()
311+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
306312
):
307313
"""Instantiate the pager.
308314
@@ -316,8 +322,10 @@ def __init__(
316322
retry (google.api_core.retry.Retry): Designation of what errors,
317323
if any, should be retried.
318324
timeout (float): The timeout for this request.
319-
metadata (Sequence[Tuple[str, str]]): Strings which should be
320-
sent along with the request as metadata.
325+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
326+
sent along with the request as metadata. Normally, each value must be of type `str`,
327+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
328+
be of type `bytes`.
321329
"""
322330
self._method = method
323331
self._request = oracledatabase.ListDbServersRequest(request)
@@ -376,7 +384,7 @@ def __init__(
376384
*,
377385
retry: OptionalRetry = gapic_v1.method.DEFAULT,
378386
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
379-
metadata: Sequence[Tuple[str, str]] = ()
387+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
380388
):
381389
"""Instantiate the pager.
382390
@@ -390,8 +398,10 @@ def __init__(
390398
retry (google.api_core.retry.Retry): Designation of what errors,
391399
if any, should be retried.
392400
timeout (float): The timeout for this request.
393-
metadata (Sequence[Tuple[str, str]]): Strings which should be
394-
sent along with the request as metadata.
401+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
402+
sent along with the request as metadata. Normally, each value must be of type `str`,
403+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
404+
be of type `bytes`.
395405
"""
396406
self._method = method
397407
self._request = oracledatabase.ListDbNodesRequest(request)
@@ -450,7 +460,7 @@ def __init__(
450460
*,
451461
retry: OptionalRetry = gapic_v1.method.DEFAULT,
452462
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
453-
metadata: Sequence[Tuple[str, str]] = ()
463+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
454464
):
455465
"""Instantiate the pager.
456466
@@ -464,8 +474,10 @@ def __init__(
464474
retry (google.api_core.retry.Retry): Designation of what errors,
465475
if any, should be retried.
466476
timeout (float): The timeout for this request.
467-
metadata (Sequence[Tuple[str, str]]): Strings which should be
468-
sent along with the request as metadata.
477+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
478+
sent along with the request as metadata. Normally, each value must be of type `str`,
479+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
480+
be of type `bytes`.
469481
"""
470482
self._method = method
471483
self._request = oracledatabase.ListGiVersionsRequest(request)
@@ -524,7 +536,7 @@ def __init__(
524536
*,
525537
retry: OptionalRetry = gapic_v1.method.DEFAULT,
526538
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
527-
metadata: Sequence[Tuple[str, str]] = ()
539+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
528540
):
529541
"""Instantiate the pager.
530542
@@ -538,8 +550,10 @@ def __init__(
538550
retry (google.api_core.retry.Retry): Designation of what errors,
539551
if any, should be retried.
540552
timeout (float): The timeout for this request.
541-
metadata (Sequence[Tuple[str, str]]): Strings which should be
542-
sent along with the request as metadata.
553+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
554+
sent along with the request as metadata. Normally, each value must be of type `str`,
555+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
556+
be of type `bytes`.
543557
"""
544558
self._method = method
545559
self._request = oracledatabase.ListDbSystemShapesRequest(request)
@@ -598,7 +612,7 @@ def __init__(
598612
*,
599613
retry: OptionalRetry = gapic_v1.method.DEFAULT,
600614
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
601-
metadata: Sequence[Tuple[str, str]] = ()
615+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
602616
):
603617
"""Instantiate the pager.
604618
@@ -612,8 +626,10 @@ def __init__(
612626
retry (google.api_core.retry.Retry): Designation of what errors,
613627
if any, should be retried.
614628
timeout (float): The timeout for this request.
615-
metadata (Sequence[Tuple[str, str]]): Strings which should be
616-
sent along with the request as metadata.
629+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
630+
sent along with the request as metadata. Normally, each value must be of type `str`,
631+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
632+
be of type `bytes`.
617633
"""
618634
self._method = method
619635
self._request = oracledatabase.ListAutonomousDatabasesRequest(request)
@@ -672,7 +688,7 @@ def __init__(
672688
*,
673689
retry: OptionalRetry = gapic_v1.method.DEFAULT,
674690
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
675-
metadata: Sequence[Tuple[str, str]] = ()
691+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
676692
):
677693
"""Instantiate the pager.
678694
@@ -686,8 +702,10 @@ def __init__(
686702
retry (google.api_core.retry.Retry): Designation of what errors,
687703
if any, should be retried.
688704
timeout (float): The timeout for this request.
689-
metadata (Sequence[Tuple[str, str]]): Strings which should be
690-
sent along with the request as metadata.
705+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
706+
sent along with the request as metadata. Normally, each value must be of type `str`,
707+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
708+
be of type `bytes`.
691709
"""
692710
self._method = method
693711
self._request = oracledatabase.ListAutonomousDbVersionsRequest(request)
@@ -748,7 +766,7 @@ def __init__(
748766
*,
749767
retry: OptionalRetry = gapic_v1.method.DEFAULT,
750768
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
751-
metadata: Sequence[Tuple[str, str]] = ()
769+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
752770
):
753771
"""Instantiate the pager.
754772
@@ -762,8 +780,10 @@ def __init__(
762780
retry (google.api_core.retry.Retry): Designation of what errors,
763781
if any, should be retried.
764782
timeout (float): The timeout for this request.
765-
metadata (Sequence[Tuple[str, str]]): Strings which should be
766-
sent along with the request as metadata.
783+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
784+
sent along with the request as metadata. Normally, each value must be of type `str`,
785+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
786+
be of type `bytes`.
767787
"""
768788
self._method = method
769789
self._request = oracledatabase.ListAutonomousDatabaseCharacterSetsRequest(
@@ -828,7 +848,7 @@ def __init__(
828848
*,
829849
retry: OptionalRetry = gapic_v1.method.DEFAULT,
830850
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
831-
metadata: Sequence[Tuple[str, str]] = ()
851+
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
832852
):
833853
"""Instantiate the pager.
834854
@@ -842,8 +862,10 @@ def __init__(
842862
retry (google.api_core.retry.Retry): Designation of what errors,
843863
if any, should be retried.
844864
timeout (float): The timeout for this request.
845-
metadata (Sequence[Tuple[str, str]]): Strings which should be
846-
sent along with the request as metadata.
865+
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
866+
sent along with the request as metadata. Normally, each value must be of type `str`,
867+
but for metadata keys ending with the suffix `-bin`, the corresponding values must
868+
be of type `bytes`.
847869
"""
848870
self._method = method
849871
self._request = oracledatabase.ListAutonomousDatabaseBackupsRequest(request)

0 commit comments

Comments
 (0)