Skip to content

Commit 985859f

Browse files
committed
marking (most) attributes of UpdateUserRequest as optional
1 parent 456f971 commit 985859f

File tree

3 files changed

+296
-283
lines changed

3 files changed

+296
-283
lines changed

components/public-api/gitpod/v1/user.proto

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ message GetAuthenticatedUserResponse {
2323

2424
message UpdateUserRequest {
2525
string user_id = 1;
26-
string name = 2;
27-
string accepted_privacy_policy_date = 3;
28-
ProfileDetails profile = 4;
29-
string email_address = 5;
30-
EditorReference editor_settings = 6;
31-
EmailNotificationSettings email_notification_settings = 7;
26+
optional string name = 2;
27+
optional string accepted_privacy_policy_date = 3;
28+
optional ProfileDetails profile = 4;
29+
optional string email_address = 5;
30+
optional EditorReference editor_settings = 6;
31+
optional EmailNotificationSettings email_notification_settings = 7;
3232
repeated WorkspaceAutostartOption workspace_autostart_options = 8;
33-
WorkspaceTimeoutSettings workspace_timeout_settings = 9;
33+
optional WorkspaceTimeoutSettings workspace_timeout_settings = 9;
3434
}
3535
message UpdateUserResponse {
3636
User user = 1;

0 commit comments

Comments
 (0)