Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion google/cloud/run_v2/services/executions/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
from google.api_core import operation # type: ignore
from google.api_core import operation_async # type: ignore
from google.cloud.location import locations_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore

from google.cloud.run_v2.services.executions import pagers
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/run_v2/services/executions/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
from google.api_core import operation # type: ignore
from google.api_core import operation_async # type: ignore
from google.cloud.location import locations_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore

from google.cloud.run_v2.services.executions import pagers
Expand Down
1 change: 0 additions & 1 deletion google/cloud/run_v2/services/executions/transports/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.auth.transport.requests import AuthorizedSession # type: ignore
from google.cloud.location import locations_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.protobuf import json_format
import grpc # type: ignore
from requests import __version__ as requests_version
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/run_v2/services/jobs/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
from google.cloud.location import locations_pb2 # type: ignore
from google.iam.v1 import iam_policy_pb2 # type: ignore
from google.iam.v1 import policy_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore

from google.cloud.run_v2.services.jobs import pagers
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/run_v2/services/jobs/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
from google.cloud.location import locations_pb2 # type: ignore
from google.iam.v1 import iam_policy_pb2 # type: ignore
from google.iam.v1 import policy_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore

from google.cloud.run_v2.services.jobs import pagers
Expand Down
1 change: 0 additions & 1 deletion google/cloud/run_v2/services/jobs/transports/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.auth.transport.requests import AuthorizedSession # type: ignore
from google.cloud.location import locations_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.protobuf import json_format
import grpc # type: ignore
from requests import __version__ as requests_version
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/run_v2/services/revisions/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
from google.api_core import operation # type: ignore
from google.api_core import operation_async # type: ignore
from google.cloud.location import locations_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import duration_pb2 # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore

Expand Down
2 changes: 1 addition & 1 deletion google/cloud/run_v2/services/revisions/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
from google.api_core import operation # type: ignore
from google.api_core import operation_async # type: ignore
from google.cloud.location import locations_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import duration_pb2 # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore

Expand Down
1 change: 0 additions & 1 deletion google/cloud/run_v2/services/revisions/transports/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.auth.transport.requests import AuthorizedSession # type: ignore
from google.cloud.location import locations_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.protobuf import json_format
import grpc # type: ignore
from requests import __version__ as requests_version
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/run_v2/services/services/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
from google.cloud.location import locations_pb2 # type: ignore
from google.iam.v1 import iam_policy_pb2 # type: ignore
from google.iam.v1 import policy_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore

from google.cloud.run_v2.services.services import pagers
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/run_v2/services/services/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
from google.cloud.location import locations_pb2 # type: ignore
from google.iam.v1 import iam_policy_pb2 # type: ignore
from google.iam.v1 import policy_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore

from google.cloud.run_v2.services.services import pagers
Expand Down
1 change: 0 additions & 1 deletion google/cloud/run_v2/services/services/transports/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.auth.transport.requests import AuthorizedSession # type: ignore
from google.cloud.location import locations_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.protobuf import json_format
import grpc # type: ignore
from requests import __version__ as requests_version
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/run_v2/services/tasks/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
OptionalRetry = Union[retries.Retry, object] # type: ignore

from google.cloud.location import locations_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import duration_pb2 # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore

Expand Down
2 changes: 1 addition & 1 deletion google/cloud/run_v2/services/tasks/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
OptionalRetry = Union[retries.Retry, object] # type: ignore

from google.cloud.location import locations_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.protobuf import duration_pb2 # type: ignore
from google.protobuf import timestamp_pb2 # type: ignore

Expand Down
2 changes: 1 addition & 1 deletion google/cloud/run_v2/services/tasks/transports/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import google.auth # type: ignore
from google.auth import credentials as ga_credentials # type: ignore
from google.cloud.location import locations_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.oauth2 import service_account # type: ignore

from google.cloud.run_v2 import gapic_version as package_version
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/run_v2/services/tasks/transports/grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from google.auth import credentials as ga_credentials # type: ignore
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.cloud.location import locations_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
import grpc # type: ignore

from google.cloud.run_v2.types import task
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from google.auth import credentials as ga_credentials # type: ignore
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.cloud.location import locations_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
import grpc # type: ignore
from grpc.experimental import aio # type: ignore

Expand Down
3 changes: 2 additions & 1 deletion google/cloud/run_v2/services/tasks/transports/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.auth.transport.requests import AuthorizedSession # type: ignore
from google.cloud.location import locations_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.protobuf import json_format
import grpc # type: ignore
from requests import __version__ as requests_version
Expand All @@ -38,6 +37,8 @@
OptionalRetry = Union[retries.Retry, object] # type: ignore


from google.longrunning import operations_pb2 # type: ignore

from google.cloud.run_v2.types import task

from .base import DEFAULT_CLIENT_INFO as BASE_DEFAULT_CLIENT_INFO
Expand Down
1 change: 1 addition & 0 deletions google/cloud/run_v2/types/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ class Job(proto.Message):
Attributes:
name (str):
The fully qualified name of this Job.

Format:

projects/{project}/locations/{location}/jobs/{job}
Expand Down
1 change: 1 addition & 0 deletions google/cloud/run_v2/types/k8s_min.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class Container(proto.Message):
specified ports must be listening on all
interfaces (0.0.0.0) within the container to be
accessible.

If omitted, a port number will be chosen and
passed to the container through the PORT
environment variable for the container to listen
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-run",
"version": "0.9.1"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/gapic/run_v2/test_executions.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
from google.auth import credentials as ga_credentials
from google.auth.exceptions import MutualTLSChannelError
from google.cloud.location import locations_pb2
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.oauth2 import service_account
from google.protobuf import json_format
from google.protobuf import timestamp_pb2 # type: ignore
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/gapic/run_v2/test_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
from google.iam.v1 import iam_policy_pb2 # type: ignore
from google.iam.v1 import options_pb2 # type: ignore
from google.iam.v1 import policy_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.oauth2 import service_account
from google.protobuf import duration_pb2 # type: ignore
from google.protobuf import field_mask_pb2 # type: ignore
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/gapic/run_v2/test_revisions.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
from google.auth import credentials as ga_credentials
from google.auth.exceptions import MutualTLSChannelError
from google.cloud.location import locations_pb2
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.oauth2 import service_account
from google.protobuf import duration_pb2 # type: ignore
from google.protobuf import json_format
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/gapic/run_v2/test_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
from google.iam.v1 import iam_policy_pb2 # type: ignore
from google.iam.v1 import options_pb2 # type: ignore
from google.iam.v1 import policy_pb2 # type: ignore
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.oauth2 import service_account
from google.protobuf import duration_pb2 # type: ignore
from google.protobuf import field_mask_pb2 # type: ignore
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/gapic/run_v2/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from google.auth import credentials as ga_credentials
from google.auth.exceptions import MutualTLSChannelError
from google.cloud.location import locations_pb2
from google.longrunning import operations_pb2
from google.longrunning import operations_pb2 # type: ignore
from google.oauth2 import service_account
from google.protobuf import duration_pb2 # type: ignore
from google.protobuf import json_format
Expand Down