Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 5907715

Browse files
1 parent 315d28a commit 5907715

File tree

223 files changed

+65
-48066
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+65
-48066
lines changed

google/cloud/bigquery_storage_v1alpha/services/metastore_partition_service/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
class MetastorePartitionServiceAsyncClient:
6666
"""BigQuery Metastore Partition Service API.
6767
This service is used for managing metastore partitions in
68-
BigQuery metastore. The service supports only batch operations
68+
BigQuery metastore. The service supports only batch operations
6969
for write.
7070
"""
7171

google/cloud/bigquery_storage_v1alpha/services/metastore_partition_service/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def get_transport_class(
108108
class MetastorePartitionServiceClient(metaclass=MetastorePartitionServiceClientMeta):
109109
"""BigQuery Metastore Partition Service API.
110110
This service is used for managing metastore partitions in
111-
BigQuery metastore. The service supports only batch operations
111+
BigQuery metastore. The service supports only batch operations
112112
for write.
113113
"""
114114

google/cloud/bigquery_storage_v1alpha/services/metastore_partition_service/transports/grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class MetastorePartitionServiceGrpcTransport(MetastorePartitionServiceTransport)
113113
114114
BigQuery Metastore Partition Service API.
115115
This service is used for managing metastore partitions in
116-
BigQuery metastore. The service supports only batch operations
116+
BigQuery metastore. The service supports only batch operations
117117
for write.
118118
119119
This class defines the same methods as the primary client, so the

google/cloud/bigquery_storage_v1alpha/services/metastore_partition_service/transports/grpc_asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class MetastorePartitionServiceGrpcAsyncIOTransport(MetastorePartitionServiceTra
119119
120120
BigQuery Metastore Partition Service API.
121121
This service is used for managing metastore partitions in
122-
BigQuery metastore. The service supports only batch operations
122+
BigQuery metastore. The service supports only batch operations
123123
for write.
124124
125125
This class defines the same methods as the primary client, so the

google/cloud/bigquery_storage_v1alpha/types/metastore_partition.py

Lines changed: 49 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,15 @@ class BatchCreateMetastorePartitionsRequest(proto.Message):
8686
add_partitions(..). If the flag is set to false, the server
8787
will return ALREADY_EXISTS if any partition already exists.
8888
If the flag is set to true, the server will skip existing
89-
partitions and insert only the non-existing partitions.
89+
partitions and insert only the non-existing partitions. A
90+
maximum of 900 partitions can be inserted in a batch.
91+
trace_id (str):
92+
Optional. Optional trace id to be used for debugging. It is
93+
expected that the client sets the same ``trace_id`` for all
94+
the batches in the same operation, so that it is possible to
95+
tie together the logs to all the batches in the same
96+
operation. Limited to 256 characters. This is expected, but
97+
not required, to be globally unique.
9098
"""
9199

92100
parent: str = proto.Field(
@@ -102,6 +110,10 @@ class BatchCreateMetastorePartitionsRequest(proto.Message):
102110
proto.BOOL,
103111
number=3,
104112
)
113+
trace_id: str = proto.Field(
114+
proto.STRING,
115+
number=4,
116+
)
105117

106118

107119
class BatchCreateMetastorePartitionsResponse(proto.Message):
@@ -135,8 +147,15 @@ class BatchDeleteMetastorePartitionsRequest(proto.Message):
135147
partition_values (MutableSequence[google.cloud.bigquery_storage_v1alpha.types.MetastorePartitionValues]):
136148
Required. The list of metastore partitions
137149
(identified by its values) to be deleted. A
138-
maximum of 100 partitions can be deleted in a
150+
maximum of 900 partitions can be deleted in a
139151
batch.
152+
trace_id (str):
153+
Optional. Optional trace id to be used for debugging. It is
154+
expected that the client sets the same ``trace_id`` for all
155+
the batches in the same operation, so that it is possible to
156+
tie together the logs to all the batches in the same
157+
operation. This is expected, but not required, to be
158+
globally unique.
140159
"""
141160

142161
parent: str = proto.Field(
@@ -150,6 +169,10 @@ class BatchDeleteMetastorePartitionsRequest(proto.Message):
150169
number=2,
151170
message=partition.MetastorePartitionValues,
152171
)
172+
trace_id: str = proto.Field(
173+
proto.STRING,
174+
number=4,
175+
)
153176

154177

155178
class UpdateMetastorePartitionRequest(proto.Message):
@@ -187,6 +210,13 @@ class BatchUpdateMetastorePartitionsRequest(proto.Message):
187210
requests (MutableSequence[google.cloud.bigquery_storage_v1alpha.types.UpdateMetastorePartitionRequest]):
188211
Required. Requests to update metastore
189212
partitions in the table.
213+
trace_id (str):
214+
Optional. Optional trace id to be used for debugging. It is
215+
expected that the client sets the same ``trace_id`` for all
216+
the batches in the same operation, so that it is possible to
217+
tie together the logs to all the batches in the same
218+
operation. This is expected, but not required, to be
219+
globally unique.
190220
"""
191221

192222
parent: str = proto.Field(
@@ -198,6 +228,10 @@ class BatchUpdateMetastorePartitionsRequest(proto.Message):
198228
number=2,
199229
message="UpdateMetastorePartitionRequest",
200230
)
231+
trace_id: str = proto.Field(
232+
proto.STRING,
233+
number=4,
234+
)
201235

202236

203237
class BatchUpdateMetastorePartitionsResponse(proto.Message):
@@ -206,7 +240,8 @@ class BatchUpdateMetastorePartitionsResponse(proto.Message):
206240
Attributes:
207241
partitions (MutableSequence[google.cloud.bigquery_storage_v1alpha.types.MetastorePartition]):
208242
The list of metastore partitions that have
209-
been updated.
243+
been updated. A maximum of 900 partitions can be
244+
updated in a batch.
210245
"""
211246

212247
partitions: MutableSequence[partition.MetastorePartition] = proto.RepeatedField(
@@ -234,6 +269,13 @@ class ListMetastorePartitionsRequest(proto.Message):
234269
DATE)" "nullable_field is not NULL" "st_equals(geo_field,
235270
st_geofromtext("POINT(2, 2)"))" "numeric_field BETWEEN 1.0
236271
AND 5.0" Restricted to a maximum length for 1 MB.
272+
trace_id (str):
273+
Optional. Optional trace id to be used for debugging. It is
274+
expected that the client sets the same ``trace_id`` for all
275+
the batches in the same operation, so that it is possible to
276+
tie together the logs to all the batches in the same
277+
operation. Limited to 256 characters. This is expected, but
278+
not required, to be globally unique.
237279
"""
238280

239281
parent: str = proto.Field(
@@ -244,6 +286,10 @@ class ListMetastorePartitionsRequest(proto.Message):
244286
proto.STRING,
245287
number=2,
246288
)
289+
trace_id: str = proto.Field(
290+
proto.STRING,
291+
number=3,
292+
)
247293

248294

249295
class ListMetastorePartitionsResponse(proto.Message):

owl-bot-staging/v1/.coveragerc

Lines changed: 0 additions & 13 deletions
This file was deleted.

owl-bot-staging/v1/.flake8

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)