Skip to content

Commit 18cb30d

Browse files
Google APIscopybara-github
authored andcommitted
fix: Fix resource name for remoteworkers API
PiperOrigin-RevId: 473797330
1 parent ee05df9 commit 18cb30d

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

google/devtools/remoteworkers/v1test2/bots.proto

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ service Bots {
9898
message BotSession {
9999
option (google.api.resource) = {
100100
type: "remoteworkers.googleapis.com/BotSession"
101-
pattern: "{unknown_path=**}/botSessions/{bot_session}"
101+
pattern: "{unknown_path}/botSessions/{bot_session}"
102102
};
103103

104104
// The bot session name, as selected by the server. Output only during a call
@@ -316,7 +316,8 @@ message CreateBotSessionRequest {
316316
// Required. The farm resource.
317317
string parent = 1 [(google.api.field_behavior) = REQUIRED];
318318

319-
// Required. The bot session to create. Server-assigned fields like name must be unset.
319+
// Required. The bot session to create. Server-assigned fields like name must
320+
// be unset.
320321
BotSession bot_session = 2 [(google.api.field_behavior) = REQUIRED];
321322
}
322323

@@ -333,7 +334,8 @@ message UpdateBotSessionRequest {
333334
// Required. The bot session resource to update.
334335
BotSession bot_session = 2 [(google.api.field_behavior) = REQUIRED];
335336

336-
// Required. The fields on the bot that should be updated. See the BotSession resource
337-
// for which fields are updatable by which caller.
338-
google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = REQUIRED];
337+
// Required. The fields on the bot that should be updated. See the BotSession
338+
// resource for which fields are updatable by which caller.
339+
google.protobuf.FieldMask update_mask = 3
340+
[(google.api.field_behavior) = REQUIRED];
339341
}

0 commit comments

Comments
 (0)