Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e983bda

Browse files
chore: upgrade gapic-generator-python to 0.46.3 (#664)
PiperOrigin-RevId: 373649163 Source-Link: googleapis/googleapis@7e1b14e Source-Link: googleapis/googleapis-gen@0a3c7d2
1 parent bd7dbda commit e983bda

File tree

12 files changed

+271
-332
lines changed

12 files changed

+271
-332
lines changed

google/cloud/bigquery_v2/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -29,7 +28,6 @@
2928
from .types.standard_sql import StandardSqlStructType
3029
from .types.table_reference import TableReference
3130

32-
3331
__all__ = (
3432
"DeleteModelRequest",
3533
"EncryptionConfiguration",
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.cloud.bigquery_v2",
5+
"protoPackage": "google.cloud.bigquery.v2",
6+
"schema": "1.0",
7+
"services": {
8+
"ModelService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "ModelServiceClient",
12+
"rpcs": {
13+
"DeleteModel": {
14+
"methods": [
15+
"delete_model"
16+
]
17+
},
18+
"GetModel": {
19+
"methods": [
20+
"get_model"
21+
]
22+
},
23+
"ListModels": {
24+
"methods": [
25+
"list_models"
26+
]
27+
},
28+
"PatchModel": {
29+
"methods": [
30+
"patch_model"
31+
]
32+
}
33+
}
34+
},
35+
"grpc-async": {
36+
"libraryClient": "ModelServiceAsyncClient",
37+
"rpcs": {
38+
"DeleteModel": {
39+
"methods": [
40+
"delete_model"
41+
]
42+
},
43+
"GetModel": {
44+
"methods": [
45+
"get_model"
46+
]
47+
},
48+
"ListModels": {
49+
"methods": [
50+
"list_models"
51+
]
52+
},
53+
"PatchModel": {
54+
"methods": [
55+
"patch_model"
56+
]
57+
}
58+
}
59+
}
60+
}
61+
}
62+
}
63+
}

google/cloud/bigquery_v2/types/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,7 +13,6 @@
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
1615
#
17-
1816
from .encryption_config import EncryptionConfiguration
1917
from .model import (
2018
DeleteModelRequest,

google/cloud/bigquery_v2/types/encryption_config.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
32
# Copyright 2020 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,11 +13,9 @@
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
1615
#
17-
1816
import proto # type: ignore
1917

20-
21-
from google.protobuf import wrappers_pb2 as wrappers # type: ignore
18+
from google.protobuf import wrappers_pb2 # type: ignore
2219

2320

2421
__protobuf__ = proto.module(
@@ -28,7 +25,6 @@
2825

2926
class EncryptionConfiguration(proto.Message):
3027
r"""
31-
3228
Attributes:
3329
kms_key_name (google.protobuf.wrappers_pb2.StringValue):
3430
Optional. Describes the Cloud KMS encryption
@@ -38,7 +34,9 @@ class EncryptionConfiguration(proto.Message):
3834
this encryption key.
3935
"""
4036

41-
kms_key_name = proto.Field(proto.MESSAGE, number=1, message=wrappers.StringValue,)
37+
kms_key_name = proto.Field(
38+
proto.MESSAGE, number=1, message=wrappers_pb2.StringValue,
39+
)
4240

4341

4442
__all__ = tuple(sorted(__protobuf__.manifest))

0 commit comments

Comments
 (0)