File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -320,17 +320,17 @@ message DeleteSchemaRevisionRequest {
320320 // Required. The name of the schema revision to be deleted, with a revision ID
321321 // explicitly included.
322322 //
323- // Example: projects/123/schemas/my-schema@c7cfa2a8
323+ // Example: ` projects/123/schemas/my-schema@c7cfa2a8`
324324 string name = 1 [
325325 (google.api.field_behavior ) = REQUIRED ,
326326 (google.api.resource_reference ) = { type : "pubsub.googleapis.com/Schema" }
327327 ];
328328
329- // Required. The revision ID to roll back to.
330- // It must be a revision of the same schema.
331- //
332- // Example: c7cfa2a8
333- string revision_id = 2 [ (google.api.field_behavior ) = REQUIRED ];
329+ // Optional. This field is deprecated and should not be used for specifying
330+ // the revision ID. The revision ID should be specified via the `name`
331+ // parameter.
332+ string revision_id = 2
333+ [ deprecated = true , (google.api.field_behavior ) = OPTIONAL ];
334334}
335335
336336// Request for the `DeleteSchema` method.
You can’t perform that action at this time.
0 commit comments