Skip to content

Commit fce431c

Browse files
Google APIscopybara-github
authored andcommitted
feat: add auto_populated_fields to google.api.MethodSettings
PiperOrigin-RevId: 586359350
1 parent 72a1f55 commit fce431c

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

google/api/client.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,19 @@ message MethodSettings {
349349
// total_poll_timeout:
350350
// seconds: 54000 # 90 minutes
351351
LongRunning long_running = 2;
352+
353+
// List of top-level fields of the request message, that should be
354+
// automatically populated by the client libraries based on their
355+
// (google.api.field_info).format. Currently supported format: UUID4.
356+
//
357+
// Example of a YAML configuration:
358+
//
359+
// publishing:
360+
// method_settings:
361+
// - selector: google.example.v1.ExampleService.CreateExample
362+
// auto_populated_fields:
363+
// - request_id
364+
repeated string auto_populated_fields = 3;
352365
}
353366

354367
// The organization for which the client libraries are being published.

0 commit comments

Comments
 (0)