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 osconfig aliases all exported identifiers in package 18 // "cloud.google.com/go/osconfig/apiv1beta/osconfigpb". 19 // 20 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb. 21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md 22 // for more details. 23 package osconfig 24 25 import ( 26 src "cloud.google.com/go/osconfig/apiv1beta/osconfigpb" 27 grpc "google.golang.org/grpc" 28 ) 29 30 // Deprecated: Please use consts in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 31 const ( 32 AptRepository_ARCHIVE_TYPE_UNSPECIFIED = src.AptRepository_ARCHIVE_TYPE_UNSPECIFIED 33 AptRepository_DEB = src.AptRepository_DEB 34 AptRepository_DEB_SRC = src.AptRepository_DEB_SRC 35 AptSettings_DIST = src.AptSettings_DIST 36 AptSettings_TYPE_UNSPECIFIED = src.AptSettings_TYPE_UNSPECIFIED 37 AptSettings_UPGRADE = src.AptSettings_UPGRADE 38 DesiredState_DESIRED_STATE_UNSPECIFIED = src.DesiredState_DESIRED_STATE_UNSPECIFIED 39 DesiredState_INSTALLED = src.DesiredState_INSTALLED 40 DesiredState_REMOVED = src.DesiredState_REMOVED 41 DesiredState_UPDATED = src.DesiredState_UPDATED 42 ExecStepConfig_INTERPRETER_UNSPECIFIED = src.ExecStepConfig_INTERPRETER_UNSPECIFIED 43 ExecStepConfig_POWERSHELL = src.ExecStepConfig_POWERSHELL 44 ExecStepConfig_SHELL = src.ExecStepConfig_SHELL 45 Instance_ACKED = src.Instance_ACKED 46 Instance_APPLYING_PATCHES = src.Instance_APPLYING_PATCHES 47 Instance_DOWNLOADING_PATCHES = src.Instance_DOWNLOADING_PATCHES 48 Instance_FAILED = src.Instance_FAILED 49 Instance_INACTIVE = src.Instance_INACTIVE 50 Instance_NOTIFIED = src.Instance_NOTIFIED 51 Instance_NO_AGENT_DETECTED = src.Instance_NO_AGENT_DETECTED 52 Instance_PATCH_STATE_UNSPECIFIED = src.Instance_PATCH_STATE_UNSPECIFIED 53 Instance_PENDING = src.Instance_PENDING 54 Instance_REBOOTING = src.Instance_REBOOTING 55 Instance_RUNNING_POST_PATCH_STEP = src.Instance_RUNNING_POST_PATCH_STEP 56 Instance_RUNNING_PRE_PATCH_STEP = src.Instance_RUNNING_PRE_PATCH_STEP 57 Instance_STARTED = src.Instance_STARTED 58 Instance_SUCCEEDED = src.Instance_SUCCEEDED 59 Instance_SUCCEEDED_REBOOT_REQUIRED = src.Instance_SUCCEEDED_REBOOT_REQUIRED 60 Instance_TIMED_OUT = src.Instance_TIMED_OUT 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 PatchDeployment_ACTIVE = src.PatchDeployment_ACTIVE 72 PatchDeployment_PAUSED = src.PatchDeployment_PAUSED 73 PatchDeployment_STATE_UNSPECIFIED = src.PatchDeployment_STATE_UNSPECIFIED 74 PatchJob_CANCELED = src.PatchJob_CANCELED 75 PatchJob_COMPLETED_WITH_ERRORS = src.PatchJob_COMPLETED_WITH_ERRORS 76 PatchJob_INSTANCE_LOOKUP = src.PatchJob_INSTANCE_LOOKUP 77 PatchJob_PATCHING = src.PatchJob_PATCHING 78 PatchJob_STARTED = src.PatchJob_STARTED 79 PatchJob_STATE_UNSPECIFIED = src.PatchJob_STATE_UNSPECIFIED 80 PatchJob_SUCCEEDED = src.PatchJob_SUCCEEDED 81 PatchJob_TIMED_OUT = src.PatchJob_TIMED_OUT 82 PatchRollout_CONCURRENT_ZONES = src.PatchRollout_CONCURRENT_ZONES 83 PatchRollout_MODE_UNSPECIFIED = src.PatchRollout_MODE_UNSPECIFIED 84 PatchRollout_ZONE_BY_ZONE = src.PatchRollout_ZONE_BY_ZONE 85 RecurringSchedule_DAILY = src.RecurringSchedule_DAILY 86 RecurringSchedule_FREQUENCY_UNSPECIFIED = src.RecurringSchedule_FREQUENCY_UNSPECIFIED 87 RecurringSchedule_MONTHLY = src.RecurringSchedule_MONTHLY 88 RecurringSchedule_WEEKLY = src.RecurringSchedule_WEEKLY 89 SoftwareRecipe_Step_ExtractArchive_ARCHIVE_TYPE_UNSPECIFIED = src.SoftwareRecipe_Step_ExtractArchive_ARCHIVE_TYPE_UNSPECIFIED 90 SoftwareRecipe_Step_ExtractArchive_TAR = src.SoftwareRecipe_Step_ExtractArchive_TAR 91 SoftwareRecipe_Step_ExtractArchive_TAR_BZIP = src.SoftwareRecipe_Step_ExtractArchive_TAR_BZIP 92 SoftwareRecipe_Step_ExtractArchive_TAR_GZIP = src.SoftwareRecipe_Step_ExtractArchive_TAR_GZIP 93 SoftwareRecipe_Step_ExtractArchive_TAR_LZMA = src.SoftwareRecipe_Step_ExtractArchive_TAR_LZMA 94 SoftwareRecipe_Step_ExtractArchive_TAR_XZ = src.SoftwareRecipe_Step_ExtractArchive_TAR_XZ 95 SoftwareRecipe_Step_ExtractArchive_ZIP = src.SoftwareRecipe_Step_ExtractArchive_ZIP 96 SoftwareRecipe_Step_RunScript_INTERPRETER_UNSPECIFIED = src.SoftwareRecipe_Step_RunScript_INTERPRETER_UNSPECIFIED 97 SoftwareRecipe_Step_RunScript_POWERSHELL = src.SoftwareRecipe_Step_RunScript_POWERSHELL 98 SoftwareRecipe_Step_RunScript_SHELL = src.SoftwareRecipe_Step_RunScript_SHELL 99 WindowsUpdateSettings_CLASSIFICATION_UNSPECIFIED = src.WindowsUpdateSettings_CLASSIFICATION_UNSPECIFIED 100 WindowsUpdateSettings_CRITICAL = src.WindowsUpdateSettings_CRITICAL 101 WindowsUpdateSettings_DEFINITION = src.WindowsUpdateSettings_DEFINITION 102 WindowsUpdateSettings_DRIVER = src.WindowsUpdateSettings_DRIVER 103 WindowsUpdateSettings_FEATURE_PACK = src.WindowsUpdateSettings_FEATURE_PACK 104 WindowsUpdateSettings_SECURITY = src.WindowsUpdateSettings_SECURITY 105 WindowsUpdateSettings_SERVICE_PACK = src.WindowsUpdateSettings_SERVICE_PACK 106 WindowsUpdateSettings_TOOL = src.WindowsUpdateSettings_TOOL 107 WindowsUpdateSettings_UPDATE = src.WindowsUpdateSettings_UPDATE 108 WindowsUpdateSettings_UPDATE_ROLLUP = src.WindowsUpdateSettings_UPDATE_ROLLUP 109 ) 110 111 // Deprecated: Please use vars in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 112 var ( 113 AptRepository_ArchiveType_name = src.AptRepository_ArchiveType_name 114 AptRepository_ArchiveType_value = src.AptRepository_ArchiveType_value 115 AptSettings_Type_name = src.AptSettings_Type_name 116 AptSettings_Type_value = src.AptSettings_Type_value 117 DesiredState_name = src.DesiredState_name 118 DesiredState_value = src.DesiredState_value 119 ExecStepConfig_Interpreter_name = src.ExecStepConfig_Interpreter_name 120 ExecStepConfig_Interpreter_value = src.ExecStepConfig_Interpreter_value 121 File_google_cloud_osconfig_v1beta_guest_policies_proto = src.File_google_cloud_osconfig_v1beta_guest_policies_proto 122 File_google_cloud_osconfig_v1beta_osconfig_common_proto = src.File_google_cloud_osconfig_v1beta_osconfig_common_proto 123 File_google_cloud_osconfig_v1beta_osconfig_service_proto = src.File_google_cloud_osconfig_v1beta_osconfig_service_proto 124 File_google_cloud_osconfig_v1beta_patch_deployments_proto = src.File_google_cloud_osconfig_v1beta_patch_deployments_proto 125 File_google_cloud_osconfig_v1beta_patch_jobs_proto = src.File_google_cloud_osconfig_v1beta_patch_jobs_proto 126 Instance_PatchState_name = src.Instance_PatchState_name 127 Instance_PatchState_value = src.Instance_PatchState_value 128 Package_Manager_name = src.Package_Manager_name 129 Package_Manager_value = src.Package_Manager_value 130 PatchConfig_RebootConfig_name = src.PatchConfig_RebootConfig_name 131 PatchConfig_RebootConfig_value = src.PatchConfig_RebootConfig_value 132 PatchDeployment_State_name = src.PatchDeployment_State_name 133 PatchDeployment_State_value = src.PatchDeployment_State_value 134 PatchJob_State_name = src.PatchJob_State_name 135 PatchJob_State_value = src.PatchJob_State_value 136 PatchRollout_Mode_name = src.PatchRollout_Mode_name 137 PatchRollout_Mode_value = src.PatchRollout_Mode_value 138 RecurringSchedule_Frequency_name = src.RecurringSchedule_Frequency_name 139 RecurringSchedule_Frequency_value = src.RecurringSchedule_Frequency_value 140 SoftwareRecipe_Step_ExtractArchive_ArchiveType_name = src.SoftwareRecipe_Step_ExtractArchive_ArchiveType_name 141 SoftwareRecipe_Step_ExtractArchive_ArchiveType_value = src.SoftwareRecipe_Step_ExtractArchive_ArchiveType_value 142 SoftwareRecipe_Step_RunScript_Interpreter_name = src.SoftwareRecipe_Step_RunScript_Interpreter_name 143 SoftwareRecipe_Step_RunScript_Interpreter_value = src.SoftwareRecipe_Step_RunScript_Interpreter_value 144 WindowsUpdateSettings_Classification_name = src.WindowsUpdateSettings_Classification_name 145 WindowsUpdateSettings_Classification_value = src.WindowsUpdateSettings_Classification_value 146 ) 147 148 // Represents a single Apt package repository. This repository is added to a 149 // repo file that is stored at `/etc/apt/sources.list.d/google_osconfig.list`. 150 // 151 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 152 type AptRepository = src.AptRepository 153 154 // Type of archive. 155 // 156 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 157 type AptRepository_ArchiveType = src.AptRepository_ArchiveType 158 159 // Apt patching is completed by executing `apt-get update && apt-get upgrade`. 160 // Additional options can be set to control how this is executed. 161 // 162 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 163 type AptSettings = src.AptSettings 164 165 // Apt patch type. 166 // 167 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 168 type AptSettings_Type = src.AptSettings_Type 169 170 // An assignment represents the group or groups of VM instances that the 171 // policy applies to. If an assignment is empty, it applies to all VM 172 // instances. Otherwise, the targeted VM instances must meet all the criteria 173 // specified. So if both labels and zones are specified, the policy applies to 174 // VM instances with those labels and in those zones. 175 // 176 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 177 type Assignment = src.Assignment 178 179 // Represents a group of VM intances that can be identified as having all 180 // these labels, for example "env=prod and app=web". 181 // 182 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 183 type Assignment_GroupLabel = src.Assignment_GroupLabel 184 185 // Defines the criteria for selecting VM Instances by OS type. 186 // 187 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 188 type Assignment_OsType = src.Assignment_OsType 189 190 // Message for canceling a patch job. 191 // 192 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 193 type CancelPatchJobRequest = src.CancelPatchJobRequest 194 195 // A request message for creating a guest policy. 196 // 197 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 198 type CreateGuestPolicyRequest = src.CreateGuestPolicyRequest 199 200 // A request message for creating a patch deployment. 201 // 202 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 203 type CreatePatchDeploymentRequest = src.CreatePatchDeploymentRequest 204 205 // A request message for deleting a guest policy. 206 // 207 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 208 type DeleteGuestPolicyRequest = src.DeleteGuestPolicyRequest 209 210 // A request message for deleting a patch deployment. 211 // 212 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 213 type DeletePatchDeploymentRequest = src.DeletePatchDeploymentRequest 214 215 // The desired state that the OS Config agent maintains on the VM instance. 216 // 217 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 218 type DesiredState = src.DesiredState 219 220 // The effective guest policy that applies to a VM instance. 221 // 222 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 223 type EffectiveGuestPolicy = src.EffectiveGuestPolicy 224 225 // A guest policy package including its source. 226 // 227 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 228 type EffectiveGuestPolicy_SourcedPackage = src.EffectiveGuestPolicy_SourcedPackage 229 230 // A guest policy package repository including its source. 231 // 232 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 233 type EffectiveGuestPolicy_SourcedPackageRepository = src.EffectiveGuestPolicy_SourcedPackageRepository 234 235 // A guest policy recipe including its source. 236 // 237 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 238 type EffectiveGuestPolicy_SourcedSoftwareRecipe = src.EffectiveGuestPolicy_SourcedSoftwareRecipe 239 240 // A step that runs an executable for a PatchJob. 241 // 242 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 243 type ExecStep = src.ExecStep 244 245 // Common configurations for an ExecStep. 246 // 247 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 248 type ExecStepConfig = src.ExecStepConfig 249 type ExecStepConfig_GcsObject = src.ExecStepConfig_GcsObject 250 251 // The interpreter used to execute the a file. 252 // 253 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 254 type ExecStepConfig_Interpreter = src.ExecStepConfig_Interpreter 255 type ExecStepConfig_LocalPath = src.ExecStepConfig_LocalPath 256 257 // A request message to initiate patching across Compute Engine instances. 258 // 259 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 260 type ExecutePatchJobRequest = src.ExecutePatchJobRequest 261 262 // Message encapsulating a value that can be either absolute ("fixed") or 263 // relative ("percent") to a value. 264 // 265 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 266 type FixedOrPercent = src.FixedOrPercent 267 type FixedOrPercent_Fixed = src.FixedOrPercent_Fixed 268 type FixedOrPercent_Percent = src.FixedOrPercent_Percent 269 270 // Google Cloud Storage object representation. 271 // 272 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 273 type GcsObject = src.GcsObject 274 275 // A request message for retrieving a guest policy. 276 // 277 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 278 type GetGuestPolicyRequest = src.GetGuestPolicyRequest 279 280 // A request message for retrieving a patch deployment. 281 // 282 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 283 type GetPatchDeploymentRequest = src.GetPatchDeploymentRequest 284 285 // Request to get an active or completed patch job. 286 // 287 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 288 type GetPatchJobRequest = src.GetPatchJobRequest 289 290 // Represents a Goo package repository. These is added to a repo file that is 291 // stored at C:/ProgramData/GooGet/repos/google_osconfig.repo. 292 // 293 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 294 type GooRepository = src.GooRepository 295 296 // Googet patching is performed by running `googet update`. 297 // 298 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 299 type GooSettings = src.GooSettings 300 301 // An OS Config resource representing a guest configuration policy. These 302 // policies represent the desired state for VM instance guest environments 303 // including packages to install or remove, package repository configurations, 304 // and software to install. 305 // 306 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 307 type GuestPolicy = src.GuestPolicy 308 309 // Namespace for instance state enums. 310 // 311 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 312 type Instance = src.Instance 313 314 // Patch state of an instance. 315 // 316 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 317 type Instance_PatchState = src.Instance_PatchState 318 319 // A request message for listing guest policies. 320 // 321 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 322 type ListGuestPoliciesRequest = src.ListGuestPoliciesRequest 323 324 // A response message for listing guest policies. 325 // 326 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 327 type ListGuestPoliciesResponse = src.ListGuestPoliciesResponse 328 329 // A request message for listing patch deployments. 330 // 331 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 332 type ListPatchDeploymentsRequest = src.ListPatchDeploymentsRequest 333 334 // A response message for listing patch deployments. 335 // 336 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 337 type ListPatchDeploymentsResponse = src.ListPatchDeploymentsResponse 338 339 // Request to list details for all instances that are part of a patch job. 340 // 341 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 342 type ListPatchJobInstanceDetailsRequest = src.ListPatchJobInstanceDetailsRequest 343 344 // A response message for listing the instances details for a patch job. 345 // 346 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 347 type ListPatchJobInstanceDetailsResponse = src.ListPatchJobInstanceDetailsResponse 348 349 // A request message for listing patch jobs. 350 // 351 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 352 type ListPatchJobsRequest = src.ListPatchJobsRequest 353 354 // A response message for listing patch jobs. 355 // 356 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 357 type ListPatchJobsResponse = src.ListPatchJobsResponse 358 359 // A request message for getting the effective guest policy assigned to the 360 // instance. 361 // 362 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 363 type LookupEffectiveGuestPolicyRequest = src.LookupEffectiveGuestPolicyRequest 364 365 // Represents a monthly schedule. An example of a valid monthly schedule is 366 // "on the third Tuesday of the month" or "on the 15th of the month". 367 // 368 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 369 type MonthlySchedule = src.MonthlySchedule 370 type MonthlySchedule_MonthDay = src.MonthlySchedule_MonthDay 371 type MonthlySchedule_WeekDayOfMonth = src.MonthlySchedule_WeekDayOfMonth 372 373 // Sets the time for a one time patch deployment. Timestamp is in 374 // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. 375 // 376 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 377 type OneTimeSchedule = src.OneTimeSchedule 378 379 // OsConfigServiceClient is the client API for OsConfigService service. For 380 // semantics around ctx use and closing/ending streaming RPCs, please refer to 381 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 382 // 383 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 384 type OsConfigServiceClient = src.OsConfigServiceClient 385 386 // OsConfigServiceServer is the server API for OsConfigService service. 387 // 388 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 389 type OsConfigServiceServer = src.OsConfigServiceServer 390 391 // Package is a reference to the software package to be installed or removed. 392 // The agent on the VM instance uses the system package manager to apply the 393 // config. These are the commands that the agent uses to install or remove 394 // packages. Apt install: `apt-get update && apt-get -y install package1 395 // package2 package3` remove: `apt-get -y remove package1 package2 package3` 396 // Yum install: `yum -y install package1 package2 package3` remove: `yum -y 397 // remove package1 package2 package3` Zypper install: `zypper install package1 398 // package2 package3` remove: `zypper rm package1 package2` Googet install: 399 // `googet -noconfirm install package1 package2 package3` remove: `googet 400 // -noconfirm remove package1 package2 package3` 401 // 402 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 403 type Package = src.Package 404 405 // A package repository. 406 // 407 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 408 type PackageRepository = src.PackageRepository 409 type PackageRepository_Apt = src.PackageRepository_Apt 410 type PackageRepository_Goo = src.PackageRepository_Goo 411 type PackageRepository_Yum = src.PackageRepository_Yum 412 type PackageRepository_Zypper = src.PackageRepository_Zypper 413 414 // Types of package managers that may be used to manage this package. 415 // 416 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 417 type Package_Manager = src.Package_Manager 418 419 // Patch configuration specifications. Contains details on how to apply the 420 // patch(es) to a VM instance. 421 // 422 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 423 type PatchConfig = src.PatchConfig 424 425 // Post-patch reboot settings. 426 // 427 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 428 type PatchConfig_RebootConfig = src.PatchConfig_RebootConfig 429 430 // Patch deployments are configurations that individual patch jobs use to 431 // complete a patch. These configurations include instance filter, package 432 // repository settings, and a schedule. For more information about creating and 433 // managing patch deployments, see [Scheduling patch 434 // jobs](https://cloud.google.com/compute/docs/os-patch-management/schedule-patch-jobs). 435 // 436 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 437 type PatchDeployment = src.PatchDeployment 438 type PatchDeployment_OneTimeSchedule = src.PatchDeployment_OneTimeSchedule 439 type PatchDeployment_RecurringSchedule = src.PatchDeployment_RecurringSchedule 440 441 // Represents state of patch peployment. 442 // 443 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 444 type PatchDeployment_State = src.PatchDeployment_State 445 446 // A filter to target VM instances for patching. The targeted VMs must meet 447 // all criteria specified. So if both labels and zones are specified, the patch 448 // job targets only VMs with those labels and in those zones. 449 // 450 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 451 type PatchInstanceFilter = src.PatchInstanceFilter 452 453 // Represents a group of VMs that can be identified as having all these 454 // labels, for example "env=prod and app=web". 455 // 456 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 457 type PatchInstanceFilter_GroupLabel = src.PatchInstanceFilter_GroupLabel 458 459 // A high level representation of a patch job that is either in progress or 460 // has completed. Instance details are not included in the job. To paginate 461 // through instance details, use `ListPatchJobInstanceDetails`. For more 462 // information about patch jobs, see [Creating patch 463 // jobs](https://cloud.google.com/compute/docs/os-patch-management/create-patch-job). 464 // 465 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 466 type PatchJob = src.PatchJob 467 468 // Patch details for a VM instance. For more information about reviewing VM 469 // instance details, see [Listing all VM instance details for a specific patch 470 // job](https://cloud.google.com/compute/docs/os-patch-management/manage-patch-jobs#list-instance-details). 471 // 472 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 473 type PatchJobInstanceDetails = src.PatchJobInstanceDetails 474 475 // A summary of the current patch state across all instances that this patch 476 // job affects. Contains counts of instances in different states. These states 477 // map to `InstancePatchState`. List patch job instance details to see the 478 // specific states of each instance. 479 // 480 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 481 type PatchJob_InstanceDetailsSummary = src.PatchJob_InstanceDetailsSummary 482 483 // Enumeration of the various states a patch job passes through as it 484 // executes. 485 // 486 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 487 type PatchJob_State = src.PatchJob_State 488 489 // Patch rollout configuration specifications. Contains details on the 490 // concurrency control when applying patch(es) to all targeted VMs. 491 // 492 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 493 type PatchRollout = src.PatchRollout 494 495 // Type of the rollout. 496 // 497 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 498 type PatchRollout_Mode = src.PatchRollout_Mode 499 500 // A request message for pausing a patch deployment. 501 // 502 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 503 type PausePatchDeploymentRequest = src.PausePatchDeploymentRequest 504 505 // Sets the time for recurring patch deployments. 506 // 507 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 508 type RecurringSchedule = src.RecurringSchedule 509 510 // Specifies the frequency of the recurring patch deployments. 511 // 512 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 513 type RecurringSchedule_Frequency = src.RecurringSchedule_Frequency 514 type RecurringSchedule_Monthly = src.RecurringSchedule_Monthly 515 type RecurringSchedule_Weekly = src.RecurringSchedule_Weekly 516 517 // A request message for resuming a patch deployment. 518 // 519 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 520 type ResumePatchDeploymentRequest = src.ResumePatchDeploymentRequest 521 522 // A software recipe is a set of instructions for installing and configuring a 523 // piece of software. It consists of a set of artifacts that are downloaded, 524 // and a set of steps that install, configure, and/or update the software. 525 // Recipes support installing and updating software from artifacts in the 526 // following formats: Zip archive, Tar archive, Windows MSI, Debian package, 527 // and RPM package. Additionally, recipes support executing a script (either 528 // defined in a file or directly in this api) in bash, sh, cmd, and powershell. 529 // # Updating a software recipe If a recipe is assigned to an instance and 530 // there is a recipe with the same name but a lower version already installed 531 // and the assigned state of the recipe is `UPDATED`, then the recipe is 532 // updated to the new version. # Script Working Directories Each script or 533 // execution step is run in its own temporary directory which is deleted after 534 // completing the step. 535 // 536 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 537 type SoftwareRecipe = src.SoftwareRecipe 538 539 // Specifies a resource to be used in the recipe. 540 // 541 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 542 type SoftwareRecipe_Artifact = src.SoftwareRecipe_Artifact 543 544 // Specifies an artifact available as a Google Cloud Storage object. 545 // 546 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 547 type SoftwareRecipe_Artifact_Gcs = src.SoftwareRecipe_Artifact_Gcs 548 type SoftwareRecipe_Artifact_Gcs_ = src.SoftwareRecipe_Artifact_Gcs_ 549 550 // Specifies an artifact available via some URI. 551 // 552 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 553 type SoftwareRecipe_Artifact_Remote = src.SoftwareRecipe_Artifact_Remote 554 type SoftwareRecipe_Artifact_Remote_ = src.SoftwareRecipe_Artifact_Remote_ 555 556 // An action that can be taken as part of installing or updating a recipe. 557 // 558 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 559 type SoftwareRecipe_Step = src.SoftwareRecipe_Step 560 type SoftwareRecipe_Step_ArchiveExtraction = src.SoftwareRecipe_Step_ArchiveExtraction 561 562 // Copies the artifact to the specified path on the instance. 563 // 564 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 565 type SoftwareRecipe_Step_CopyFile = src.SoftwareRecipe_Step_CopyFile 566 type SoftwareRecipe_Step_DpkgInstallation = src.SoftwareRecipe_Step_DpkgInstallation 567 568 // Executes an artifact or local file. 569 // 570 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 571 type SoftwareRecipe_Step_ExecFile = src.SoftwareRecipe_Step_ExecFile 572 type SoftwareRecipe_Step_ExecFile_ArtifactId = src.SoftwareRecipe_Step_ExecFile_ArtifactId 573 type SoftwareRecipe_Step_ExecFile_LocalPath = src.SoftwareRecipe_Step_ExecFile_LocalPath 574 575 // Extracts an archive of the type specified in the specified directory. 576 // 577 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 578 type SoftwareRecipe_Step_ExtractArchive = src.SoftwareRecipe_Step_ExtractArchive 579 580 // Specifying the type of archive. 581 // 582 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 583 type SoftwareRecipe_Step_ExtractArchive_ArchiveType = src.SoftwareRecipe_Step_ExtractArchive_ArchiveType 584 type SoftwareRecipe_Step_FileCopy = src.SoftwareRecipe_Step_FileCopy 585 type SoftwareRecipe_Step_FileExec = src.SoftwareRecipe_Step_FileExec 586 587 // Installs a deb via dpkg. 588 // 589 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 590 type SoftwareRecipe_Step_InstallDpkg = src.SoftwareRecipe_Step_InstallDpkg 591 592 // Installs an MSI file. 593 // 594 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 595 type SoftwareRecipe_Step_InstallMsi = src.SoftwareRecipe_Step_InstallMsi 596 597 // Installs an rpm file via the rpm utility. 598 // 599 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 600 type SoftwareRecipe_Step_InstallRpm = src.SoftwareRecipe_Step_InstallRpm 601 type SoftwareRecipe_Step_MsiInstallation = src.SoftwareRecipe_Step_MsiInstallation 602 type SoftwareRecipe_Step_RpmInstallation = src.SoftwareRecipe_Step_RpmInstallation 603 604 // Runs a script through an interpreter. 605 // 606 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 607 type SoftwareRecipe_Step_RunScript = src.SoftwareRecipe_Step_RunScript 608 609 // The interpreter used to execute a script. 610 // 611 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 612 type SoftwareRecipe_Step_RunScript_Interpreter = src.SoftwareRecipe_Step_RunScript_Interpreter 613 type SoftwareRecipe_Step_ScriptRun = src.SoftwareRecipe_Step_ScriptRun 614 615 // UnimplementedOsConfigServiceServer can be embedded to have forward 616 // compatible implementations. 617 // 618 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 619 type UnimplementedOsConfigServiceServer = src.UnimplementedOsConfigServiceServer 620 621 // A request message for updating a guest policy. 622 // 623 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 624 type UpdateGuestPolicyRequest = src.UpdateGuestPolicyRequest 625 626 // A request message for updating a patch deployment. 627 // 628 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 629 type UpdatePatchDeploymentRequest = src.UpdatePatchDeploymentRequest 630 631 // Represents one week day in a month. An example is "the 4th Sunday". 632 // 633 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 634 type WeekDayOfMonth = src.WeekDayOfMonth 635 636 // Represents a weekly schedule. 637 // 638 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 639 type WeeklySchedule = src.WeeklySchedule 640 641 // Windows patching is performed using the Windows Update Agent. 642 // 643 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 644 type WindowsUpdateSettings = src.WindowsUpdateSettings 645 646 // Microsoft Windows update classifications as defined in [1] 647 // https://support.microsoft.com/en-us/help/824684/description-of-the-standard-terminology-that-is-used-to-describe-micro 648 // 649 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 650 type WindowsUpdateSettings_Classification = src.WindowsUpdateSettings_Classification 651 652 // Represents a single Yum package repository. This repository is added to a 653 // repo file that is stored at `/etc/yum.repos.d/google_osconfig.repo`. 654 // 655 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 656 type YumRepository = src.YumRepository 657 658 // Yum patching is performed by executing `yum update`. Additional options can 659 // be set to control how this is executed. Note that not all settings are 660 // supported on all platforms. 661 // 662 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 663 type YumSettings = src.YumSettings 664 665 // Represents a single Zypper package repository. This repository is added to 666 // a repo file that is stored at `/etc/zypp/repos.d/google_osconfig.repo`. 667 // 668 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 669 type ZypperRepository = src.ZypperRepository 670 671 // Zypper patching is performed by running `zypper patch`. See also 672 // https://en.opensuse.org/SDB:Zypper_manual. 673 // 674 // Deprecated: Please use types in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 675 type ZypperSettings = src.ZypperSettings 676 677 // Deprecated: Please use funcs in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 678 func NewOsConfigServiceClient(cc grpc.ClientConnInterface) OsConfigServiceClient { 679 return src.NewOsConfigServiceClient(cc) 680 } 681 682 // Deprecated: Please use funcs in: cloud.google.com/go/osconfig/apiv1beta/osconfigpb 683 func RegisterOsConfigServiceServer(s *grpc.Server, srv OsConfigServiceServer) { 684 src.RegisterOsConfigServiceServer(s, srv) 685 } 686