Sanitize protos (#471)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-09-26 08:30:27 -04:00
1 parent 63224d094e
commit b1fc9fd547
69 files changed
+2793 -3847

No files matched your search

@@ -11,47 +11,38 @@ import "controller/api/resources/hosts/v1/host.proto";
import "controller/api/resources/scopes/v1/scope.proto";
import "controller/custom_options/v1/options.proto";
// HostSet is a collection of Hosts created and managed by a HostCatalog
// HostSet is a collection of Hosts created and managed by a Host Catalog
message HostSet {
// The ID of the host
// Output only.
// Output only. The ID of the host.
string id = 10;
// Scope information for this resource
// Output only.
resources.scopes.v1.ScopeInfo scope = 20;
// Output only. The Host Catalog of which this Host Set is a part.
string host_catalog_id = 20 [json_name="host_catalog_id"];
// Optional name for identification purposes
google.protobuf.StringValue name = 30 [(custom_options.v1.generate_sdk_option) = true, (custom_options.v1.mask_mapping) = {this:"name" that: "name"}];
// Output only. Scope information for this resource.
resources.scopes.v1.ScopeInfo scope = 30;
// Optional user-set description for identification purposes
google.protobuf.StringValue description = 40 [(custom_options.v1.generate_sdk_option) = true, (custom_options.v1.mask_mapping) = {this:"description" that: "description"}];
// 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"}];
// The time this resource was created
// Output only.
google.protobuf.Timestamp created_time = 50 [json_name="created_time"];
// 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 last updated
// Output only.
google.protobuf.Timestamp updated_time = 60 [json_name="updated_time"];
// Output only. The time this resource was created.
google.protobuf.Timestamp created_time = 60 [json_name="created_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.
uint32 version = 70;
// Output only. The time this resource was last updated.
google.protobuf.Timestamp updated_time = 70 [json_name="updated_time"];
// The type of the resource, to help differentiate schemas
string type = 80;
// 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;
// The host catalog this host set is a part of
// Output only
string host_catalog_id = 90 [json_name="host_catalog_id"];
// The type of the Host Set.
string type = 90;
// A list of hosts in this host set
// TODO: Figure out if this should be in the basic HostSet view and what
// view to use on the Hosts.
// Output only.
repeated string host_ids = 100;
// Output only. A list of Hosts in this Host Set.
repeated string host_ids = 100 [json_name="host_ids"];
// The attributes that are applied for the specific host set type.
// The attributes that are applicable for the specific Host Set type.
google.protobuf.Struct attributes = 110;
}