File tree Expand file tree Collapse file tree
google/cloud/bigquery/storage/v1alpha Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -283,9 +283,7 @@ ruby_grpc_library(
283283ruby_cloud_gapic_library (
284284 name = "storage_ruby_gapic" ,
285285 srcs = [":storage_proto_with_info" ],
286- extra_protoc_parameters = [
287- "ruby-cloud-gem-name=google-cloud-bigquery-storage-v1alpha" ,
288- ],
286+ extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-bigquery-storage-v1alpha" ],
289287 grpc_service_config = "bigquerystorage_v1alpha_grpc_service_config.json" ,
290288 rest_numeric_enums = True ,
291289 service_yaml = "bigquerystorage_v1alpha.yaml" ,
@@ -320,7 +318,6 @@ load(
320318
321319csharp_proto_library (
322320 name = "storage_csharp_proto" ,
323- extra_opts = [],
324321 deps = [":storage_proto" ],
325322)
326323
Original file line number Diff line number Diff line change @@ -13,3 +13,30 @@ authentication:
1313 canonical_scopes : |-
1414 https://www.googleapis.com/auth/bigquery,
1515 https://www.googleapis.com/auth/cloud-platform
16+
17+ publishing :
18+ new_issue_uri : https://issuetracker.google.com/issues/new?component=187149&template=1162659
19+ documentation_uri : https://cloud.google.com/bigquery/docs
20+ api_short_name : bigquerystorage
21+ github_label : ' api: bigquerystorage'
22+ doc_tag_prefix : bigquerystorage
23+ organization : CLOUD
24+ library_settings :
25+ - version : google.cloud.bigquery.storage.v1alpha
26+ launch_stage : ALPHA
27+ java_settings :
28+ common :
29+ destinations :
30+ - PACKAGE_MANAGER
31+ cpp_settings :
32+ common :
33+ destinations :
34+ - PACKAGE_MANAGER
35+ python_settings :
36+ common :
37+ destinations :
38+ - PACKAGE_MANAGER
39+ go_settings :
40+ common :
41+ destinations :
42+ - PACKAGE_MANAGER
Original file line number Diff line number Diff line change @@ -268,3 +268,15 @@ message StreamMetastorePartitionsResponse {
268268 // stream.
269269 int64 total_partitions_inserted_count = 3 ;
270270}
271+
272+ // Structured custom error message for batch size too large error.
273+ // The error can be attached as error details in the returned rpc Status for
274+ // more structured error handling in the client.
275+ message BatchSizeTooLargeError {
276+ // The maximum number of items that are supported in a single batch. This is
277+ // returned as a hint to the client to adjust the batch size.
278+ int64 max_batch_size = 1 ;
279+
280+ // Optional. The error message that is returned to the client.
281+ string error_message = 2 [(google.api.field_behavior ) = OPTIONAL ];
282+ }
You can’t perform that action at this time.
0 commit comments