Skip to content

Commit

Permalink
feat: [google-cloud-orchestration-airflow] Add support for opt-in deb…
Browse files Browse the repository at this point in the history
…ug logging (#13322)

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: add examples for kubernetes secret
chore: explicitly set fields to field_behavior optional
docs: A comment for field `data` in message
`.google.cloud.orchestration.airflow.service.v1beta1.UserWorkloadsSecret`
is changed
docs: A comment for field `data` in message
`.google.cloud.orchestration.airflow.service.v1beta1.UserWorkloadsConfigMap`
is changed
docs: A comment for field `software_config` in message
`.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig`
is changed
docs: A comment for field `node_config` in message
`.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig`
is changed
docs: A comment for field `private_environment_config` in message
`.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig`
is changed
docs: A comment for field `image_version` in message
`.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig` is
changed
docs: A comment for field `name` in message
`.google.cloud.orchestration.airflow.service.v1beta1.Environment` is
changed
docs: A comment for field `config` in message
`.google.cloud.orchestration.airflow.service.v1beta1.Environment` 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:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW9yY2hlc3RyYXRpb24tYWlyZmxvdy8uT3dsQm90LnlhbWwiLCJoIjoiY2ExZTBhMWU0NzJkNmU2ZjVkZTg4M2E1Y2I1NDcyNGYxMTJjZTM0OCJ9

BEGIN_NESTED_COMMIT
docs: [google-cloud-orchestration-airflow] add examples for kubernetes
secret
chore: explicitly set fields to field_behavior optional

PiperOrigin-RevId: 703589766

Source-Link:
googleapis/googleapis@22dffa8

Source-Link:
googleapis/googleapis-gen@3a83c89
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW9yY2hlc3RyYXRpb24tYWlyZmxvdy8uT3dsQm90LnlhbWwiLCJoIjoiM2E4M2M4OTRmYzQzZTM0ZDdkYzk0ZmZhOTQ3MjdkNGQ1MzY1YjQxMCJ9
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
docs: [google-cloud-orchestration-airflow] A comment for field `data` in
message
`.google.cloud.orchestration.airflow.service.v1beta1.UserWorkloadsSecret`
is changed
docs: A comment for field `data` in message
`.google.cloud.orchestration.airflow.service.v1beta1.UserWorkloadsConfigMap`
is changed
docs: A comment for field `software_config` in message
`.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig`
is changed
docs: A comment for field `node_config` in message
`.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig`
is changed
docs: A comment for field `private_environment_config` in message
`.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentConfig`
is changed
docs: A comment for field `image_version` in message
`.google.cloud.orchestration.airflow.service.v1beta1.SoftwareConfig` is
changed
docs: A comment for field `name` in message
`.google.cloud.orchestration.airflow.service.v1beta1.Environment` is
changed
docs: A comment for field `config` in message
`.google.cloud.orchestration.airflow.service.v1beta1.Environment` is
changed

PiperOrigin-RevId: 702414176

Source-Link:
googleapis/googleapis@0b09603

Source-Link:
googleapis/googleapis-gen@bdd2f7d
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW9yY2hlc3RyYXRpb24tYWlyZmxvdy8uT3dsQm90LnlhbWwiLCJoIjoiYmRkMmY3ZDExZTdhZTlkN2JmYzAwYWJhMmRjZDI0MGU5NDRiYTRhOSJ9
END_NESTED_COMMIT

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: ohmayr <omairnaveed@ymail.com>
  • Loading branch information
3 people authored Dec 12, 2024
1 parent 8c53239 commit f05eae5
Show file tree
Hide file tree
Showing 35 changed files with 5,891 additions and 1,044 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.15.1" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.15.1" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(
*,
retry: OptionalRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiate the pager.
Expand All @@ -81,8 +81,10 @@ def __init__(
retry (google.api_core.retry.Retry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = environments.ListEnvironmentsRequest(request)
Expand Down Expand Up @@ -141,7 +143,7 @@ def __init__(
*,
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiates the pager.
Expand All @@ -155,8 +157,10 @@ def __init__(
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = environments.ListEnvironmentsRequest(request)
Expand Down Expand Up @@ -219,7 +223,7 @@ def __init__(
*,
retry: OptionalRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiate the pager.
Expand All @@ -233,8 +237,10 @@ def __init__(
retry (google.api_core.retry.Retry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = environments.ListWorkloadsRequest(request)
Expand Down Expand Up @@ -293,7 +299,7 @@ def __init__(
*,
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiates the pager.
Expand All @@ -307,8 +313,10 @@ def __init__(
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = environments.ListWorkloadsRequest(request)
Expand Down Expand Up @@ -373,7 +381,7 @@ def __init__(
*,
retry: OptionalRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiate the pager.
Expand All @@ -387,8 +395,10 @@ def __init__(
retry (google.api_core.retry.Retry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = environments.ListUserWorkloadsSecretsRequest(request)
Expand Down Expand Up @@ -447,7 +457,7 @@ def __init__(
*,
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiates the pager.
Expand All @@ -461,8 +471,10 @@ def __init__(
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = environments.ListUserWorkloadsSecretsRequest(request)
Expand Down Expand Up @@ -527,7 +539,7 @@ def __init__(
*,
retry: OptionalRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiate the pager.
Expand All @@ -541,8 +553,10 @@ def __init__(
retry (google.api_core.retry.Retry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = environments.ListUserWorkloadsConfigMapsRequest(request)
Expand Down Expand Up @@ -603,7 +617,7 @@ def __init__(
*,
retry: OptionalAsyncRetry = gapic_v1.method.DEFAULT,
timeout: Union[float, object] = gapic_v1.method.DEFAULT,
metadata: Sequence[Tuple[str, str]] = ()
metadata: Sequence[Tuple[str, Union[str, bytes]]] = ()
):
"""Instantiates the pager.
Expand All @@ -617,8 +631,10 @@ def __init__(
retry (google.api_core.retry.AsyncRetry): Designation of what errors,
if any, should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
metadata (Sequence[Tuple[str, Union[str, bytes]]]): Key/value pairs which should be
sent along with the request as metadata. Normally, each value must be of type `str`,
but for metadata keys ending with the suffix `-bin`, the corresponding values must
be of type `bytes`.
"""
self._method = method
self._request = environments.ListUserWorkloadsConfigMapsRequest(request)
Expand Down
Loading

0 comments on commit f05eae5

Please sign in to comment.