| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package agentendpoint aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package agentendpoint |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 31 |
const ( |
| 32 |
ApplyPatchesTaskOutput_FAILED = src.ApplyPatchesTaskOutput_FAILED |
| 33 |
ApplyPatchesTaskOutput_STATE_UNSPECIFIED = src.ApplyPatchesTaskOutput_STATE_UNSPECIFIED |
| 34 |
ApplyPatchesTaskOutput_SUCCEEDED = src.ApplyPatchesTaskOutput_SUCCEEDED |
| 35 |
ApplyPatchesTaskOutput_SUCCEEDED_REBOOT_REQUIRED = src.ApplyPatchesTaskOutput_SUCCEEDED_REBOOT_REQUIRED |
| 36 |
ApplyPatchesTaskProgress_APPLYING_PATCHES = src.ApplyPatchesTaskProgress_APPLYING_PATCHES |
| 37 |
ApplyPatchesTaskProgress_DOWNLOADING_PATCHES = src.ApplyPatchesTaskProgress_DOWNLOADING_PATCHES |
| 38 |
ApplyPatchesTaskProgress_REBOOTING = src.ApplyPatchesTaskProgress_REBOOTING |
| 39 |
ApplyPatchesTaskProgress_STARTED = src.ApplyPatchesTaskProgress_STARTED |
| 40 |
ApplyPatchesTaskProgress_STATE_UNSPECIFIED = src.ApplyPatchesTaskProgress_STATE_UNSPECIFIED |
| 41 |
AptRepository_ARCHIVE_TYPE_UNSPECIFIED = src.AptRepository_ARCHIVE_TYPE_UNSPECIFIED |
| 42 |
AptRepository_DEB = src.AptRepository_DEB |
| 43 |
AptRepository_DEB_SRC = src.AptRepository_DEB_SRC |
| 44 |
AptSettings_DIST = src.AptSettings_DIST |
| 45 |
AptSettings_TYPE_UNSPECIFIED = src.AptSettings_TYPE_UNSPECIFIED |
| 46 |
AptSettings_UPGRADE = src.AptSettings_UPGRADE |
| 47 |
DesiredState_DESIRED_STATE_UNSPECIFIED = src.DesiredState_DESIRED_STATE_UNSPECIFIED |
| 48 |
DesiredState_INSTALLED = src.DesiredState_INSTALLED |
| 49 |
DesiredState_REMOVED = src.DesiredState_REMOVED |
| 50 |
DesiredState_UPDATED = src.DesiredState_UPDATED |
| 51 |
ExecStepConfig_INTERPRETER_UNSPECIFIED = src.ExecStepConfig_INTERPRETER_UNSPECIFIED |
| 52 |
ExecStepConfig_NONE = src.ExecStepConfig_NONE |
| 53 |
ExecStepConfig_POWERSHELL = src.ExecStepConfig_POWERSHELL |
| 54 |
ExecStepConfig_SHELL = src.ExecStepConfig_SHELL |
| 55 |
ExecStepTaskOutput_CANCELLED = src.ExecStepTaskOutput_CANCELLED |
| 56 |
ExecStepTaskOutput_COMPLETED = src.ExecStepTaskOutput_COMPLETED |
| 57 |
ExecStepTaskOutput_STATE_UNSPECIFIED = src.ExecStepTaskOutput_STATE_UNSPECIFIED |
| 58 |
ExecStepTaskOutput_TIMED_OUT = src.ExecStepTaskOutput_TIMED_OUT |
| 59 |
ExecStepTaskProgress_STARTED = src.ExecStepTaskProgress_STARTED |
| 60 |
ExecStepTaskProgress_STATE_UNSPECIFIED = src.ExecStepTaskProgress_STATE_UNSPECIFIED |
| 61 |
Package_ANY = src.Package_ANY |
| 62 |
Package_APT = src.Package_APT |
| 63 |
Package_GOO = src.Package_GOO |
| 64 |
Package_MANAGER_UNSPECIFIED = src.Package_MANAGER_UNSPECIFIED |
| 65 |
Package_YUM = src.Package_YUM |
| 66 |
Package_ZYPPER = src.Package_ZYPPER |
| 67 |
PatchConfig_ALWAYS = src.PatchConfig_ALWAYS |
| 68 |
PatchConfig_DEFAULT = src.PatchConfig_DEFAULT |
| 69 |
PatchConfig_NEVER = src.PatchConfig_NEVER |
| 70 |
PatchConfig_REBOOT_CONFIG_UNSPECIFIED = src.PatchConfig_REBOOT_CONFIG_UNSPECIFIED |
| 71 |
SoftwareRecipe_Step_ExtractArchive_ARCHIVE_TYPE_UNSPECIFIED = src.SoftwareRecipe_Step_ExtractArchive_ARCHIVE_TYPE_UNSPECIFIED |
| 72 |
SoftwareRecipe_Step_ExtractArchive_TAR = src.SoftwareRecipe_Step_ExtractArchive_TAR |
| 73 |
SoftwareRecipe_Step_ExtractArchive_TAR_BZIP = src.SoftwareRecipe_Step_ExtractArchive_TAR_BZIP |
| 74 |
SoftwareRecipe_Step_ExtractArchive_TAR_GZIP = src.SoftwareRecipe_Step_ExtractArchive_TAR_GZIP |
| 75 |
SoftwareRecipe_Step_ExtractArchive_TAR_LZMA = src.SoftwareRecipe_Step_ExtractArchive_TAR_LZMA |
| 76 |
SoftwareRecipe_Step_ExtractArchive_TAR_XZ = src.SoftwareRecipe_Step_ExtractArchive_TAR_XZ |
| 77 |
SoftwareRecipe_Step_ExtractArchive_ZIP = src.SoftwareRecipe_Step_ExtractArchive_ZIP |
| 78 |
SoftwareRecipe_Step_RunScript_INTERPRETER_UNSPECIFIED = src.SoftwareRecipe_Step_RunScript_INTERPRETER_UNSPECIFIED |
| 79 |
SoftwareRecipe_Step_RunScript_POWERSHELL = src.SoftwareRecipe_Step_RunScript_POWERSHELL |
| 80 |
SoftwareRecipe_Step_RunScript_SHELL = src.SoftwareRecipe_Step_RunScript_SHELL |
| 81 |
TaskDirective_CONTINUE = src.TaskDirective_CONTINUE |
| 82 |
TaskDirective_STOP = src.TaskDirective_STOP |
| 83 |
TaskDirective_TASK_DIRECTIVE_UNSPECIFIED = src.TaskDirective_TASK_DIRECTIVE_UNSPECIFIED |
| 84 |
TaskType_APPLY_PATCHES = src.TaskType_APPLY_PATCHES |
| 85 |
TaskType_EXEC_STEP_TASK = src.TaskType_EXEC_STEP_TASK |
| 86 |
TaskType_TASK_TYPE_UNSPECIFIED = src.TaskType_TASK_TYPE_UNSPECIFIED |
| 87 |
WindowsUpdateSettings_CLASSIFICATION_UNSPECIFIED = src.WindowsUpdateSettings_CLASSIFICATION_UNSPECIFIED |
| 88 |
WindowsUpdateSettings_CRITICAL = src.WindowsUpdateSettings_CRITICAL |
| 89 |
WindowsUpdateSettings_DEFINITION = src.WindowsUpdateSettings_DEFINITION |
| 90 |
WindowsUpdateSettings_DRIVER = src.WindowsUpdateSettings_DRIVER |
| 91 |
WindowsUpdateSettings_FEATURE_PACK = src.WindowsUpdateSettings_FEATURE_PACK |
| 92 |
WindowsUpdateSettings_SECURITY = src.WindowsUpdateSettings_SECURITY |
| 93 |
WindowsUpdateSettings_SERVICE_PACK = src.WindowsUpdateSettings_SERVICE_PACK |
| 94 |
WindowsUpdateSettings_TOOL = src.WindowsUpdateSettings_TOOL |
| 95 |
WindowsUpdateSettings_UPDATE = src.WindowsUpdateSettings_UPDATE |
| 96 |
WindowsUpdateSettings_UPDATE_ROLLUP = src.WindowsUpdateSettings_UPDATE_ROLLUP |
| 97 |
) |
| 98 |
|
| 99 |
// Deprecated: Please use vars in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 100 |
var ( |
| 101 |
ApplyPatchesTaskOutput_State_name = src.ApplyPatchesTaskOutput_State_name |
| 102 |
ApplyPatchesTaskOutput_State_value = src.ApplyPatchesTaskOutput_State_value |
| 103 |
ApplyPatchesTaskProgress_State_name = src.ApplyPatchesTaskProgress_State_name |
| 104 |
ApplyPatchesTaskProgress_State_value = src.ApplyPatchesTaskProgress_State_value |
| 105 |
AptRepository_ArchiveType_name = src.AptRepository_ArchiveType_name |
| 106 |
AptRepository_ArchiveType_value = src.AptRepository_ArchiveType_value |
| 107 |
AptSettings_Type_name = src.AptSettings_Type_name |
| 108 |
AptSettings_Type_value = src.AptSettings_Type_value |
| 109 |
DesiredState_name = src.DesiredState_name |
| 110 |
DesiredState_value = src.DesiredState_value |
| 111 |
ExecStepConfig_Interpreter_name = src.ExecStepConfig_Interpreter_name |
| 112 |
ExecStepConfig_Interpreter_value = src.ExecStepConfig_Interpreter_value |
| 113 |
ExecStepTaskOutput_State_name = src.ExecStepTaskOutput_State_name |
| 114 |
ExecStepTaskOutput_State_value = src.ExecStepTaskOutput_State_value |
| 115 |
ExecStepTaskProgress_State_name = src.ExecStepTaskProgress_State_name |
| 116 |
ExecStepTaskProgress_State_value = src.ExecStepTaskProgress_State_value |
| 117 |
File_google_cloud_osconfig_agentendpoint_v1beta_agentendpoint_proto = src.File_google_cloud_osconfig_agentendpoint_v1beta_agentendpoint_proto |
| 118 |
File_google_cloud_osconfig_agentendpoint_v1beta_guest_policies_proto = src.File_google_cloud_osconfig_agentendpoint_v1beta_guest_policies_proto |
| 119 |
File_google_cloud_osconfig_agentendpoint_v1beta_patch_jobs_proto = src.File_google_cloud_osconfig_agentendpoint_v1beta_patch_jobs_proto |
| 120 |
File_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto = src.File_google_cloud_osconfig_agentendpoint_v1beta_tasks_proto |
| 121 |
Package_Manager_name = src.Package_Manager_name |
| 122 |
Package_Manager_value = src.Package_Manager_value |
| 123 |
PatchConfig_RebootConfig_name = src.PatchConfig_RebootConfig_name |
| 124 |
PatchConfig_RebootConfig_value = src.PatchConfig_RebootConfig_value |
| 125 |
SoftwareRecipe_Step_ExtractArchive_ArchiveType_name = src.SoftwareRecipe_Step_ExtractArchive_ArchiveType_name |
| 126 |
SoftwareRecipe_Step_ExtractArchive_ArchiveType_value = src.SoftwareRecipe_Step_ExtractArchive_ArchiveType_value |
| 127 |
SoftwareRecipe_Step_RunScript_Interpreter_name = src.SoftwareRecipe_Step_RunScript_Interpreter_name |
| 128 |
SoftwareRecipe_Step_RunScript_Interpreter_value = src.SoftwareRecipe_Step_RunScript_Interpreter_value |
| 129 |
TaskDirective_name = src.TaskDirective_name |
| 130 |
TaskDirective_value = src.TaskDirective_value |
| 131 |
TaskType_name = src.TaskType_name |
| 132 |
TaskType_value = src.TaskType_value |
| 133 |
WindowsUpdateSettings_Classification_name = src.WindowsUpdateSettings_Classification_name |
| 134 |
WindowsUpdateSettings_Classification_value = src.WindowsUpdateSettings_Classification_value |
| 135 |
) |
| 136 |
|
| 137 |
// AgentEndpointServiceClient is the client API for AgentEndpointService |
| 138 |
// service. For semantics around ctx use and closing/ending streaming RPCs, |
| 139 |
// please refer to |
| 140 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 141 |
// |
| 142 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 143 |
type AgentEndpointServiceClient = src.AgentEndpointServiceClient |
| 144 |
|
| 145 |
// AgentEndpointServiceServer is the server API for AgentEndpointService |
| 146 |
// service. |
| 147 |
// |
| 148 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 149 |
type AgentEndpointServiceServer = src.AgentEndpointServiceServer |
| 150 |
type AgentEndpointService_ReceiveTaskNotificationClient = src.AgentEndpointService_ReceiveTaskNotificationClient |
| 151 |
type AgentEndpointService_ReceiveTaskNotificationServer = src.AgentEndpointService_ReceiveTaskNotificationServer |
| 152 |
|
| 153 |
// Message which instructs agent to apply patches. |
| 154 |
// |
| 155 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 156 |
type ApplyPatchesTask = src.ApplyPatchesTask |
| 157 |
|
| 158 |
// Information reported from the agent about applying patches execution. |
| 159 |
// |
| 160 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 161 |
type ApplyPatchesTaskOutput = src.ApplyPatchesTaskOutput |
| 162 |
|
| 163 |
// The final states of applying patches. |
| 164 |
// |
| 165 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 166 |
type ApplyPatchesTaskOutput_State = src.ApplyPatchesTaskOutput_State |
| 167 |
|
| 168 |
// Information reported from the agent about applying patches execution. |
| 169 |
// |
| 170 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 171 |
type ApplyPatchesTaskProgress = src.ApplyPatchesTaskProgress |
| 172 |
|
| 173 |
// The intermediate states of applying patches. |
| 174 |
// |
| 175 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 176 |
type ApplyPatchesTaskProgress_State = src.ApplyPatchesTaskProgress_State |
| 177 |
|
| 178 |
// Represents a single Apt package repository. This repository is added to a |
| 179 |
// repo file that is stored at `/etc/apt/sources.list.d/google_osconfig.list`. |
| 180 |
// |
| 181 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 182 |
type AptRepository = src.AptRepository |
| 183 |
|
| 184 |
// Type of archive. |
| 185 |
// |
| 186 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 187 |
type AptRepository_ArchiveType = src.AptRepository_ArchiveType |
| 188 |
|
| 189 |
// Apt patching will be performed by executing `apt-get update && apt-get |
| 190 |
// upgrade`. Additional options can be set to control how this is executed. |
| 191 |
// |
| 192 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 193 |
type AptSettings = src.AptSettings |
| 194 |
|
| 195 |
// Apt patch type. |
| 196 |
// |
| 197 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 198 |
type AptSettings_Type = src.AptSettings_Type |
| 199 |
|
| 200 |
// The desired state that the OS Config agent will maintain on the VM. |
| 201 |
// |
| 202 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 203 |
type DesiredState = src.DesiredState |
| 204 |
|
| 205 |
// The effective guest policy assigned to the instance. |
| 206 |
// |
| 207 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 208 |
type EffectiveGuestPolicy = src.EffectiveGuestPolicy |
| 209 |
|
| 210 |
// A guest policy package including its source. |
| 211 |
// |
| 212 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 213 |
type EffectiveGuestPolicy_SourcedPackage = src.EffectiveGuestPolicy_SourcedPackage |
| 214 |
|
| 215 |
// A guest policy package repository including its source. |
| 216 |
// |
| 217 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 218 |
type EffectiveGuestPolicy_SourcedPackageRepository = src.EffectiveGuestPolicy_SourcedPackageRepository |
| 219 |
|
| 220 |
// A guest policy recipe including its source. |
| 221 |
// |
| 222 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 223 |
type EffectiveGuestPolicy_SourcedSoftwareRecipe = src.EffectiveGuestPolicy_SourcedSoftwareRecipe |
| 224 |
|
| 225 |
// A step that runs an executable for a PatchJob. |
| 226 |
// |
| 227 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 228 |
type ExecStep = src.ExecStep |
| 229 |
|
| 230 |
// Common configurations for an ExecStep. |
| 231 |
// |
| 232 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 233 |
type ExecStepConfig = src.ExecStepConfig |
| 234 |
type ExecStepConfig_GcsObject = src.ExecStepConfig_GcsObject |
| 235 |
|
| 236 |
// The interpreter used to execute the a file. |
| 237 |
// |
| 238 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 239 |
type ExecStepConfig_Interpreter = src.ExecStepConfig_Interpreter |
| 240 |
type ExecStepConfig_LocalPath = src.ExecStepConfig_LocalPath |
| 241 |
|
| 242 |
// Message which instructs agent to execute the following command. |
| 243 |
// |
| 244 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 245 |
type ExecStepTask = src.ExecStepTask |
| 246 |
|
| 247 |
// Information reported from the agent about the exec step execution. |
| 248 |
// |
| 249 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 250 |
type ExecStepTaskOutput = src.ExecStepTaskOutput |
| 251 |
|
| 252 |
// The final states of exec steps. |
| 253 |
// |
| 254 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 255 |
type ExecStepTaskOutput_State = src.ExecStepTaskOutput_State |
| 256 |
|
| 257 |
// Information reported from the agent about the exec step execution. |
| 258 |
// |
| 259 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 260 |
type ExecStepTaskProgress = src.ExecStepTaskProgress |
| 261 |
|
| 262 |
// The intermediate states of exec steps. |
| 263 |
// |
| 264 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 265 |
type ExecStepTaskProgress_State = src.ExecStepTaskProgress_State |
| 266 |
|
| 267 |
// GCS object representation. |
| 268 |
// |
| 269 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 270 |
type GcsObject = src.GcsObject |
| 271 |
|
| 272 |
// Represents a Goo package repository. These is added to a repo file that is |
| 273 |
// stored at C:/ProgramData/GooGet/repos/google_osconfig.repo. |
| 274 |
// |
| 275 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 276 |
type GooRepository = src.GooRepository |
| 277 |
|
| 278 |
// Googet patching is performed by running `googet update`. |
| 279 |
// |
| 280 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 281 |
type GooSettings = src.GooSettings |
| 282 |
|
| 283 |
// A request message for getting effective policy assigned to the instance. |
| 284 |
// |
| 285 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 286 |
type LookupEffectiveGuestPolicyRequest = src.LookupEffectiveGuestPolicyRequest |
| 287 |
|
| 288 |
// Package is a reference to the software package to be installed or removed. |
| 289 |
// The agent on the VM instance uses the system package manager to apply the |
| 290 |
// config. These are the commands that the agent uses to install or remove |
| 291 |
// packages. Apt install: `apt-get update && apt-get -y install package1 |
| 292 |
// package2 package3` remove: `apt-get -y remove package1 package2 package3` |
| 293 |
// Yum install: `yum -y install package1 package2 package3` remove: `yum -y |
| 294 |
// remove package1 package2 package3` Zypper install: `zypper install package1 |
| 295 |
// package2 package3` remove: `zypper rm package1 package2` Googet install: |
| 296 |
// `googet -noconfirm install package1 package2 package3` remove: `googet |
| 297 |
// -noconfirm remove package1 package2 package3` |
| 298 |
// |
| 299 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 300 |
type Package = src.Package |
| 301 |
|
| 302 |
// A package repository. |
| 303 |
// |
| 304 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 305 |
type PackageRepository = src.PackageRepository |
| 306 |
type PackageRepository_Apt = src.PackageRepository_Apt |
| 307 |
type PackageRepository_Goo = src.PackageRepository_Goo |
| 308 |
type PackageRepository_Yum = src.PackageRepository_Yum |
| 309 |
type PackageRepository_Zypper = src.PackageRepository_Zypper |
| 310 |
|
| 311 |
// Types of package managers that may be used to manage this package. |
| 312 |
// |
| 313 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 314 |
type Package_Manager = src.Package_Manager |
| 315 |
|
| 316 |
// Patch configuration specifications. Contains details on how to apply |
| 317 |
// patches to a VM instance. |
| 318 |
// |
| 319 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 320 |
type PatchConfig = src.PatchConfig |
| 321 |
|
| 322 |
// Post-patch reboot settings. |
| 323 |
// |
| 324 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 325 |
type PatchConfig_RebootConfig = src.PatchConfig_RebootConfig |
| 326 |
|
| 327 |
// A request message to receive task notifications. |
| 328 |
// |
| 329 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 330 |
type ReceiveTaskNotificationRequest = src.ReceiveTaskNotificationRequest |
| 331 |
|
| 332 |
// The streaming rpc message that notifies the agent when it has a task that |
| 333 |
// it needs to perform on the VM instance. |
| 334 |
// |
| 335 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 336 |
type ReceiveTaskNotificationResponse = src.ReceiveTaskNotificationResponse |
| 337 |
|
| 338 |
// The request message for registering the agent. |
| 339 |
// |
| 340 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 341 |
type RegisterAgentRequest = src.RegisterAgentRequest |
| 342 |
|
| 343 |
// The response message after the agent registered. |
| 344 |
// |
| 345 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 346 |
type RegisterAgentResponse = src.RegisterAgentResponse |
| 347 |
|
| 348 |
// A request message for signaling the completion of a task execution. |
| 349 |
// |
| 350 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 351 |
type ReportTaskCompleteRequest = src.ReportTaskCompleteRequest |
| 352 |
type ReportTaskCompleteRequest_ApplyPatchesTaskOutput = src.ReportTaskCompleteRequest_ApplyPatchesTaskOutput |
| 353 |
type ReportTaskCompleteRequest_ExecStepTaskOutput = src.ReportTaskCompleteRequest_ExecStepTaskOutput |
| 354 |
|
| 355 |
// The response message after the agent signaled the current task complete. |
| 356 |
// |
| 357 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 358 |
type ReportTaskCompleteResponse = src.ReportTaskCompleteResponse |
| 359 |
|
| 360 |
// A request message for reporting the progress of current task. |
| 361 |
// |
| 362 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 363 |
type ReportTaskProgressRequest = src.ReportTaskProgressRequest |
| 364 |
type ReportTaskProgressRequest_ApplyPatchesTaskProgress = src.ReportTaskProgressRequest_ApplyPatchesTaskProgress |
| 365 |
type ReportTaskProgressRequest_ExecStepTaskProgress = src.ReportTaskProgressRequest_ExecStepTaskProgress |
| 366 |
|
| 367 |
// The response message after the agent reported the current task progress. |
| 368 |
// |
| 369 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 370 |
type ReportTaskProgressResponse = src.ReportTaskProgressResponse |
| 371 |
|
| 372 |
// The strategy for retrying failed patches during the patch window. |
| 373 |
// |
| 374 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 375 |
type RetryStrategy = src.RetryStrategy |
| 376 |
|
| 377 |
// A software recipe is a set of instructions for installing and configuring a |
| 378 |
// piece of software. It consists of a set of artifacts that are downloaded, |
| 379 |
// and a set of steps that install, configure, and/or update the software. |
| 380 |
// Recipes support installing and updating software from artifacts in the |
| 381 |
// following formats: Zip archive, Tar archive, Windows MSI, Debian package, |
| 382 |
// and RPM package. Additionally, recipes support executing a script (either |
| 383 |
// defined in a file or directly in this api) in bash, sh, cmd, and powershell. |
| 384 |
// # Updating a software recipe If a recipe is assigned to an instance and |
| 385 |
// there is a recipe with the same name but a lower version already installed |
| 386 |
// and the assigned state of the recipe is `INSTALLED_KEEP_UPDATED`, then the |
| 387 |
// recipe is updated to the new version. # Script Working Directories Each |
| 388 |
// script or execution step is run in its own temporary directory which is |
| 389 |
// deleted after completing the step. |
| 390 |
// |
| 391 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 392 |
type SoftwareRecipe = src.SoftwareRecipe |
| 393 |
|
| 394 |
// Specifies a resource to be used in the recipe. |
| 395 |
// |
| 396 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 397 |
type SoftwareRecipe_Artifact = src.SoftwareRecipe_Artifact |
| 398 |
|
| 399 |
// Specifies an artifact available as a Cloud Storage object. |
| 400 |
// |
| 401 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 402 |
type SoftwareRecipe_Artifact_Gcs = src.SoftwareRecipe_Artifact_Gcs |
| 403 |
type SoftwareRecipe_Artifact_Gcs_ = src.SoftwareRecipe_Artifact_Gcs_ |
| 404 |
|
| 405 |
// Specifies an artifact available via some URI. |
| 406 |
// |
| 407 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 408 |
type SoftwareRecipe_Artifact_Remote = src.SoftwareRecipe_Artifact_Remote |
| 409 |
type SoftwareRecipe_Artifact_Remote_ = src.SoftwareRecipe_Artifact_Remote_ |
| 410 |
|
| 411 |
// An action that can be taken as part of installing or updating a recipe. |
| 412 |
// |
| 413 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 414 |
type SoftwareRecipe_Step = src.SoftwareRecipe_Step |
| 415 |
type SoftwareRecipe_Step_ArchiveExtraction = src.SoftwareRecipe_Step_ArchiveExtraction |
| 416 |
|
| 417 |
// Copies the artifact to the specified path on the instance. |
| 418 |
// |
| 419 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 420 |
type SoftwareRecipe_Step_CopyFile = src.SoftwareRecipe_Step_CopyFile |
| 421 |
type SoftwareRecipe_Step_DpkgInstallation = src.SoftwareRecipe_Step_DpkgInstallation |
| 422 |
|
| 423 |
// Executes an artifact or local file. |
| 424 |
// |
| 425 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 426 |
type SoftwareRecipe_Step_ExecFile = src.SoftwareRecipe_Step_ExecFile |
| 427 |
type SoftwareRecipe_Step_ExecFile_ArtifactId = src.SoftwareRecipe_Step_ExecFile_ArtifactId |
| 428 |
type SoftwareRecipe_Step_ExecFile_LocalPath = src.SoftwareRecipe_Step_ExecFile_LocalPath |
| 429 |
|
| 430 |
// Extracts an archive of the type specified in the specified directory. |
| 431 |
// |
| 432 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 433 |
type SoftwareRecipe_Step_ExtractArchive = src.SoftwareRecipe_Step_ExtractArchive |
| 434 |
|
| 435 |
// Specifying the type of archive. |
| 436 |
// |
| 437 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 438 |
type SoftwareRecipe_Step_ExtractArchive_ArchiveType = src.SoftwareRecipe_Step_ExtractArchive_ArchiveType |
| 439 |
type SoftwareRecipe_Step_FileCopy = src.SoftwareRecipe_Step_FileCopy |
| 440 |
type SoftwareRecipe_Step_FileExec = src.SoftwareRecipe_Step_FileExec |
| 441 |
|
| 442 |
// Installs a deb via dpkg. |
| 443 |
// |
| 444 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 445 |
type SoftwareRecipe_Step_InstallDpkg = src.SoftwareRecipe_Step_InstallDpkg |
| 446 |
|
| 447 |
// Installs an MSI file. |
| 448 |
// |
| 449 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 450 |
type SoftwareRecipe_Step_InstallMsi = src.SoftwareRecipe_Step_InstallMsi |
| 451 |
|
| 452 |
// Installs an rpm file via the rpm utility. |
| 453 |
// |
| 454 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 455 |
type SoftwareRecipe_Step_InstallRpm = src.SoftwareRecipe_Step_InstallRpm |
| 456 |
type SoftwareRecipe_Step_MsiInstallation = src.SoftwareRecipe_Step_MsiInstallation |
| 457 |
type SoftwareRecipe_Step_RpmInstallation = src.SoftwareRecipe_Step_RpmInstallation |
| 458 |
|
| 459 |
// Runs a script through an interpreter. |
| 460 |
// |
| 461 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 462 |
type SoftwareRecipe_Step_RunScript = src.SoftwareRecipe_Step_RunScript |
| 463 |
|
| 464 |
// The interpreter used to execute a script. |
| 465 |
// |
| 466 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 467 |
type SoftwareRecipe_Step_RunScript_Interpreter = src.SoftwareRecipe_Step_RunScript_Interpreter |
| 468 |
type SoftwareRecipe_Step_ScriptRun = src.SoftwareRecipe_Step_ScriptRun |
| 469 |
|
| 470 |
// A request message for signaling the start of a task execution. |
| 471 |
// |
| 472 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 473 |
type StartNextTaskRequest = src.StartNextTaskRequest |
| 474 |
|
| 475 |
// A response message that contains the details of the task to work on. |
| 476 |
// |
| 477 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 478 |
type StartNextTaskResponse = src.StartNextTaskResponse |
| 479 |
|
| 480 |
// A unit of work to be performed by the agent. |
| 481 |
// |
| 482 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 483 |
type Task = src.Task |
| 484 |
|
| 485 |
// Specifies the current agent behavior. |
| 486 |
// |
| 487 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 488 |
type TaskDirective = src.TaskDirective |
| 489 |
|
| 490 |
// Specifies the type of task to perform. |
| 491 |
// |
| 492 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 493 |
type TaskType = src.TaskType |
| 494 |
type Task_ApplyPatchesTask = src.Task_ApplyPatchesTask |
| 495 |
type Task_ExecStepTask = src.Task_ExecStepTask |
| 496 |
|
| 497 |
// UnimplementedAgentEndpointServiceServer can be embedded to have forward |
| 498 |
// compatible implementations. |
| 499 |
// |
| 500 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 501 |
type UnimplementedAgentEndpointServiceServer = src.UnimplementedAgentEndpointServiceServer |
| 502 |
|
| 503 |
// Windows patching is performed using the Windows Update Agent. |
| 504 |
// |
| 505 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 506 |
type WindowsUpdateSettings = src.WindowsUpdateSettings |
| 507 |
|
| 508 |
// Microsoft Windows update classifications as defined in [1] |
| 509 |
// https://support.microsoft.com/en-us/help/824684/description-of-the-standard-terminology-that-is-used-to-describe-micro |
| 510 |
// |
| 511 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 512 |
type WindowsUpdateSettings_Classification = src.WindowsUpdateSettings_Classification |
| 513 |
|
| 514 |
// Represents a single Yum package repository. This repository is added to a |
| 515 |
// repo file that is stored at `/etc/yum.repos.d/google_osconfig.repo`. |
| 516 |
// |
| 517 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 518 |
type YumRepository = src.YumRepository |
| 519 |
|
| 520 |
// Yum patching will be performed by executing `yum update`. Additional |
| 521 |
// options can be set to control how this is executed. Note that not all |
| 522 |
// settings are supported on all platforms. |
| 523 |
// |
| 524 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 525 |
type YumSettings = src.YumSettings |
| 526 |
|
| 527 |
// Represents a single Zypper package repository. This repository is added to |
| 528 |
// a repo file that is stored at `/etc/zypp/repos.d/google_osconfig.repo`. |
| 529 |
// |
| 530 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 531 |
type ZypperRepository = src.ZypperRepository |
| 532 |
|
| 533 |
// Zypper patching is performed by running `zypper patch`. See also |
| 534 |
// https://en.opensuse.org/SDB:Zypper_manual. |
| 535 |
// |
| 536 |
// Deprecated: Please use types in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 537 |
type ZypperSettings = src.ZypperSettings |
| 538 |
|
| 539 |
// Deprecated: Please use funcs in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 540 |
func NewAgentEndpointServiceClient(cc grpc.ClientConnInterface) AgentEndpointServiceClient { |
| 541 |
return src.NewAgentEndpointServiceClient(cc) |
| 542 |
} |
| 543 |
|
| 544 |
// Deprecated: Please use funcs in: cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb |
| 545 |
func RegisterAgentEndpointServiceServer(s *grpc.Server, srv AgentEndpointServiceServer) { |
| 546 |
src.RegisterAgentEndpointServiceServer(s, srv) |
| 547 |
} |