Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit e65d280

Browse files
chore: Update gapic-generator-python to v1.8.5 (#160)
* chore: Update gapic-generator-python to v1.8.5 PiperOrigin-RevId: 511892190 Source-Link: googleapis/googleapis@a45d9c0 Source-Link: https://github.com/googleapis/googleapis-gen/commit/1907294b1d8365ea24f8c5f2e059a64124c4ed3b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTkwNzI5NGIxZDgzNjVlYTI0ZjhjNWYyZTA1OWE2NDEyNGM0ZWQzYiJ9 * 🦉 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> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 57233bc commit e65d280

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

google/cloud/shell_v1/services/cloud_shell_service/async_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444

4545
from google.api_core import operation # type: ignore
4646
from google.api_core import operation_async # type: ignore
47+
from google.longrunning import operations_pb2
4748

4849
from google.cloud.shell_v1.types import cloudshell
4950

google/cloud/shell_v1/services/cloud_shell_service/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848

4949
from google.api_core import operation # type: ignore
5050
from google.api_core import operation_async # type: ignore
51+
from google.longrunning import operations_pb2
5152

5253
from google.cloud.shell_v1.types import cloudshell
5354

google/cloud/shell_v1/services/cloud_shell_service/transports/rest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import dataclasses
1818
import json # type: ignore
1919
import re
20-
from typing import Callable, Dict, List, Optional, Sequence, Tuple, Union
20+
from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union
2121
import warnings
2222

2323
from google.api_core import (
@@ -32,6 +32,7 @@
3232
from google.auth import credentials as ga_credentials # type: ignore
3333
from google.auth.transport.grpc import SslCredentials # type: ignore
3434
from google.auth.transport.requests import AuthorizedSession # type: ignore
35+
from google.longrunning import operations_pb2
3536
from google.protobuf import json_format
3637
import grpc # type: ignore
3738
from requests import __version__ as requests_version
@@ -544,7 +545,7 @@ class _GetEnvironment(CloudShellServiceRestStub):
544545
def __hash__(self):
545546
return hash("GetEnvironment")
546547

547-
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, str] = {}
548+
__REQUIRED_FIELDS_DEFAULT_VALUES: Dict[str, Any] = {}
548549

549550
@classmethod
550551
def _get_unset_required_fields(cls, message_dict):

google/cloud/shell_v1/types/cloudshell.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from __future__ import annotations
17+
1618
from typing import MutableMapping, MutableSequence
1719

1820
from google.protobuf import timestamp_pb2 # type: ignore

samples/generated_samples/snippet_metadata_google.cloud.shell.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-shell",
11-
"version": "1.7.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)