-
Notifications
You must be signed in to change notification settings - Fork 433
Open
Labels
cpp: generatorIssues related to the C++ micro-generatorIssues related to the C++ micro-generatortype: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.
Description
For Requests that have query parameters nested in messages, we need to synthesize qualified names for those parameters and include them in the URL.
for this example, the URL should be something like:
"https://bigquery.googleapis.com/bigquery/v2/projects/<project id>/queries/<job_id>?maxResults=10&formatOptions.useInt6stamp=false"
// Options for data format adjustments.
message DataFormatOptions {
// Optional. Output timestamp as usec int64. Default is false.
bool use_int64_timestamp = 1 [(google.api.field_behavior) = OPTIONAL];
}
// Request object of GetQueryResults.
message GetQueryResultsRequest {
// Required. Project ID of the query job.
string project_id = 1 [(google.api.field_behavior) = REQUIRED];
// Required. Job ID of the query job.
string job_id = 2 [(google.api.field_behavior) = REQUIRED];
// Zero-based index of the starting row.
google.protobuf.UInt64Value start_index = 3;
// Page token, returned by a previous call, to request the next page of
// results.
string page_token = 4;
// Maximum number of results to read.
google.protobuf.UInt32Value max_results = 5;
// Optional: Specifies the maximum amount of time, in milliseconds, that the
// client is willing to wait for the query to complete. By default, this limit
// is 10 seconds (10,000 milliseconds). If the query is complete, the
// jobComplete field in the response is true. If the query has not yet
// completed, jobComplete is false.
//
// You can request a longer timeout period in the timeoutMs field. However,
// the call is not guaranteed to wait for the specified timeout; it typically
// returns after around 200 seconds (200,000 milliseconds), even if the query
// is not complete.
//
// If jobComplete is false, you can continue to wait for the query to complete
// by calling the getQueryResults method until the jobComplete field in the
// getQueryResults response is true.
google.protobuf.UInt32Value timeout_ms = 6;
// The geographic location of the job. You must specify the location to run
// the job for the following scenarios:
//
// * If the location to run a job is not in the `us` or
// the `eu` multi-regional location
// * If the job's location is in a single region (for example,
// `us-central1`)
//
// For more information, see
// https://cloud.google.com/bigquery/docs/locations#specifying_your_location.
string location = 7;
// Optional. Output format adjustments.
DataFormatOptions format_options = 8 [(google.api.field_behavior) = OPTIONAL];
}
Metadata
Metadata
Assignees
Labels
cpp: generatorIssues related to the C++ micro-generatorIssues related to the C++ micro-generatortype: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.