Sanitize protos (#471)
This commit is contained in:
1 parent
63224d094e
commit
b1fc9fd547
69 files changed
+2793
-3847
No files matched your search
@@ -10,51 +10,42 @@ import "controller/api/resources/scopes/v1/scope.proto";
|
||||
import "controller/custom_options/v1/options.proto";
|
||||
|
||||
message Account {
|
||||
// The ID of the account.
|
||||
// Output only.
|
||||
// Output only. The ID of the Account.
|
||||
string id = 10;
|
||||
|
||||
// The scope ID of the account.
|
||||
// Output only.
|
||||
// Output only. The Scope containing the Account.
|
||||
string scope_id = 20 [json_name="scope_id"];
|
||||
}
|
||||
|
||||
// User contains all fields related to a User resource
|
||||
message User {
|
||||
// The ID of the Project
|
||||
// Output only.
|
||||
// Output only. The ID of the User.
|
||||
string id = 10;
|
||||
|
||||
// The id of the scope this resource is in.
|
||||
// The ID of the Scope this resource is in.
|
||||
string scope_id = 20 [json_name="scope_id"];
|
||||
|
||||
// Scope information for this resource
|
||||
// Output only.
|
||||
// Output only. Scope information for this resource.
|
||||
resources.scopes.v1.ScopeInfo scope = 30;
|
||||
|
||||
// Optional name for identification purposes
|
||||
// Optional name for identification purposes.
|
||||
google.protobuf.StringValue name = 40 [(custom_options.v1.generate_sdk_option) = true, (custom_options.v1.mask_mapping) = {this:"name" that: "name"}];
|
||||
|
||||
// Optional user-set description for identification purposes
|
||||
// Optional user-set description for identification purposes.
|
||||
google.protobuf.StringValue description = 50 [(custom_options.v1.generate_sdk_option) = true, (custom_options.v1.mask_mapping) = {this:"description" that: "description"}];
|
||||
|
||||
// The time this resource was created
|
||||
// Output only.
|
||||
// Output only. The time this resource was created.
|
||||
google.protobuf.Timestamp created_time = 60 [json_name="created_time"];
|
||||
|
||||
// The time this resource was last updated.
|
||||
// Output only.
|
||||
// Output only. The time this resource was last updated.
|
||||
google.protobuf.Timestamp updated_time = 70 [json_name="updated_time"];
|
||||
|
||||
// The version can be used in subsequent write requests to ensure this
|
||||
// resource has not changed and to fail the write if it has.
|
||||
// Version can be used in subsequent write requests to ensure this resource has not changed and to fail the write if it has.
|
||||
uint32 version = 80;
|
||||
|
||||
// Contains the list of account ids for this user.
|
||||
// Output only.
|
||||
repeated string account_ids = 90;
|
||||
// Output only. Contains the list of Account IDs linked to this User.
|
||||
repeated string account_ids = 90 [json_name="account_ids"];
|
||||
|
||||
// The acounts for this user.
|
||||
// Output only.
|
||||
// Output only. The Accounts linked to this User.
|
||||
repeated Account accounts = 100;
|
||||
}
|
||||
Reference in new issue
Block a user