From 79c2ec8e89d602d5d6e34cf08387d9de285d5577 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 3 Dec 2020 09:56:55 -0800 Subject: [PATCH] feat: added cos_package field to OS Config Agentendpoint V1 Inventory proto PiperOrigin-RevId: 345474394 --- .../osconfig/agentendpoint/v1/inventory.proto | 33 ++++++++++--------- .../agentendpoint/v1/osconfig_v1.yaml | 2 +- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/google/cloud/osconfig/agentendpoint/v1/inventory.proto b/google/cloud/osconfig/agentendpoint/v1/inventory.proto index 1fc5ebfa..fc6efcd2 100644 --- a/google/cloud/osconfig/agentendpoint/v1/inventory.proto +++ b/google/cloud/osconfig/agentendpoint/v1/inventory.proto @@ -97,6 +97,9 @@ message Inventory { // https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering // for info in Windows Quick Fix Engineering. WindowsQuickFixEngineeringPackage qfe_package = 7; + + // Details of a COS package. + VersionedPackage cos_package = 8; } } @@ -113,6 +116,21 @@ message Inventory { string version = 3; } + // Details related to a Zypper Patch. + message ZypperPatch { + // The name of the patch. + string patch_name = 1; + + // The category of the patch. + string category = 2; + + // The severity specified for this patch + string severity = 3; + + // Any summary information provided about this patch. + string summary = 4; + } + // Details related to a Windows Update package. // Field data and names are taken from Windows Update API IUpdate Interface: // https://docs.microsoft.com/en-us/windows/win32/api/_wua/ @@ -159,21 +177,6 @@ message Inventory { google.protobuf.Timestamp last_deployment_change_time = 9; } - // Details related to a Zypper Patch. - message ZypperPatch { - // The name of the patch. - string patch_name = 1; - - // The category of the patch. - string category = 2; - - // The severity specified for this patch - string severity = 3; - - // Any summary information provided about this patch. - string summary = 4; - } - // Information related to a Quick Fix Engineering package. // Fields are taken from Windows QuickFixEngineering Interface and match // the source names: diff --git a/google/cloud/osconfig/agentendpoint/v1/osconfig_v1.yaml b/google/cloud/osconfig/agentendpoint/v1/osconfig_v1.yaml index f3f7d443..2e1bd489 100644 --- a/google/cloud/osconfig/agentendpoint/v1/osconfig_v1.yaml +++ b/google/cloud/osconfig/agentendpoint/v1/osconfig_v1.yaml @@ -1,7 +1,7 @@ type: google.api.Service config_version: 3 name: osconfig.googleapis.com -title: Cloud OS Config API +title: OS Config API apis: - name: google.cloud.osconfig.agentendpoint.v1.AgentEndpointService