blob: b352cc9f8a452e3ec838272c628e4845cff05d08 [file] [log] [blame]
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Protobuf definitions for stateful COS instance configurations. Spiny will
// manipulate the protobuf at disk for recover/save the instance state.
syntax = "proto2";
import "policy_manager/policymanagerproto/instance_config.proto";
package policymanagerproto;
// CosDevicePolicy contains all the necessary fields for Spiny to manage all
// non-ChromeOS feature of COS, including health monitor logging and monitoring.
message CosDevicePolicy {
// stackdriver_config specifies configuration about stackdriver logging/monitoring.
optional StackdriverConfig stackdriver_config = 1;
// health_monitor_config specifies configuration about health monitor logging/monitoring/
optional HealthMonitorConfig health_monitor_config = 2;
// Next number: 3
}