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

Skip to content
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: 0 additions & 2 deletions google/cloud/bigquery_v2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -29,7 +28,6 @@
from .types.standard_sql import StandardSqlStructType
from .types.table_reference import TableReference


__all__ = (
"DeleteModelRequest",
"EncryptionConfiguration",
Expand Down
63 changes: 63 additions & 0 deletions google/cloud/bigquery_v2/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.bigquery_v2",
"protoPackage": "google.cloud.bigquery.v2",
"schema": "1.0",
"services": {
"ModelService": {
"clients": {
"grpc": {
"libraryClient": "ModelServiceClient",
"rpcs": {
"DeleteModel": {
"methods": [
"delete_model"
]
},
"GetModel": {
"methods": [
"get_model"
]
},
"ListModels": {
"methods": [
"list_models"
]
},
"PatchModel": {
"methods": [
"patch_model"
]
}
}
},
"grpc-async": {
"libraryClient": "ModelServiceAsyncClient",
"rpcs": {
"DeleteModel": {
"methods": [
"delete_model"
]
},
"GetModel": {
"methods": [
"get_model"
]
},
"ListModels": {
"methods": [
"list_models"
]
},
"PatchModel": {
"methods": [
"patch_model"
]
}
}
}
}
}
}
}
2 changes: 0 additions & 2 deletions google/cloud/bigquery_v2/types/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .encryption_config import EncryptionConfiguration
from .model import (
DeleteModelRequest,
Expand Down
10 changes: 4 additions & 6 deletions google/cloud/bigquery_v2/types/encryption_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,11 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

import proto # type: ignore


from google.protobuf import wrappers_pb2 as wrappers # type: ignore
from google.protobuf import wrappers_pb2 # type: ignore


__protobuf__ = proto.module(
Expand All @@ -28,7 +25,6 @@

class EncryptionConfiguration(proto.Message):
r"""

Attributes:
kms_key_name (google.protobuf.wrappers_pb2.StringValue):
Optional. Describes the Cloud KMS encryption
Expand All @@ -38,7 +34,9 @@ class EncryptionConfiguration(proto.Message):
this encryption key.
"""

kms_key_name = proto.Field(proto.MESSAGE, number=1, message=wrappers.StringValue,)
kms_key_name = proto.Field(
proto.MESSAGE, number=1, message=wrappers_pb2.StringValue,
)


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