123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296 |
- syntax = "proto3";
- package google.cloud.osconfig.agentendpoint.v1beta;
- option go_package = "google.golang.org/genproto/googleapis/cloud/osconfig/agentendpoint/v1beta;agentendpoint";
- option java_outer_classname = "PatchJobs";
- option java_package = "com.google.cloud.osconfig.agentendpoint.v1beta";
- option php_namespace = "Google\\Cloud\\OsConfig\\V1beta";
- message PatchConfig {
-
- enum RebootConfig {
-
- REBOOT_CONFIG_UNSPECIFIED = 0;
-
-
-
-
- DEFAULT = 1;
-
- ALWAYS = 2;
-
- NEVER = 3;
- }
-
- RebootConfig reboot_config = 1;
-
-
-
- RetryStrategy retry_strategy = 2;
-
- AptSettings apt = 3;
-
- YumSettings yum = 4;
-
- GooSettings goo = 5;
-
- ZypperSettings zypper = 6;
-
- WindowsUpdateSettings windows_update = 7;
-
- ExecStep pre_step = 8;
-
- ExecStep post_step = 9;
-
- bool mig_instances_allowed = 10;
- }
- message AptSettings {
-
- enum Type {
-
- TYPE_UNSPECIFIED = 0;
-
- DIST = 1;
-
- UPGRADE = 2;
- }
-
-
- Type type = 1;
-
- repeated string excludes = 2;
-
-
-
-
- repeated string exclusive_packages = 3;
- }
- message YumSettings {
-
-
- bool security = 1;
-
- bool minimal = 2;
-
-
- repeated string excludes = 3;
-
-
-
-
- repeated string exclusive_packages = 4;
- }
- message GooSettings {
- }
- message ZypperSettings {
-
- bool with_optional = 1;
-
- bool with_update = 2;
-
-
- repeated string categories = 3;
-
-
- repeated string severities = 4;
-
- repeated string excludes = 5;
-
-
-
- repeated string exclusive_patches = 6;
- }
- message WindowsUpdateSettings {
-
-
-
- enum Classification {
-
- CLASSIFICATION_UNSPECIFIED = 0;
-
-
- CRITICAL = 1;
-
-
-
-
- SECURITY = 2;
-
-
-
-
- DEFINITION = 3;
-
- DRIVER = 4;
-
-
-
- FEATURE_PACK = 5;
-
-
-
-
-
- SERVICE_PACK = 6;
-
- TOOL = 7;
-
-
-
-
- UPDATE_ROLLUP = 8;
-
-
- UPDATE = 9;
- }
-
-
- repeated Classification classifications = 1;
-
- repeated string excludes = 2;
-
-
-
- repeated string exclusive_patches = 3;
- }
- message RetryStrategy {
-
-
- bool enabled = 1;
- }
- message ExecStep {
-
- ExecStepConfig linux_exec_step_config = 1;
-
- ExecStepConfig windows_exec_step_config = 2;
- }
- message ExecStepConfig {
-
- enum Interpreter {
-
- INTERPRETER_UNSPECIFIED = 0;
-
-
-
- NONE = 3;
-
-
- SHELL = 1;
-
- POWERSHELL = 2;
- }
-
- oneof executable {
-
- string local_path = 1;
-
- GcsObject gcs_object = 2;
- }
-
-
- repeated int32 allowed_success_codes = 3;
-
-
-
-
- Interpreter interpreter = 4;
- }
- message GcsObject {
-
- string bucket = 1;
-
- string object = 2;
-
-
- int64 generation_number = 3;
- }
|