GetGuestPolicyResult

data class GetGuestPolicyResult(val assignment: AssignmentResponse, val createTime: String, val description: String, val etag: String, val name: String, val packageRepositories: List<PackageRepositoryResponse>, val packages: List<PackageResponse>, val recipes: List<SoftwareRecipeResponse>, val updateTime: String)

Constructors

Link copied to clipboard
constructor(assignment: AssignmentResponse, createTime: String, description: String, etag: String, name: String, packageRepositories: List<PackageRepositoryResponse>, packages: List<PackageResponse>, recipes: List<SoftwareRecipeResponse>, updateTime: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specifies the VM instances that are assigned to this policy. This allows you to target sets or groups of VM instances by different parameters such as labels, names, OS, or zones. If left empty, all VM instances underneath this policy are targeted. At the same level in the resource hierarchy (that is within a project), the service prevents the creation of multiple policies that conflict with each other. For more information, see how the service /compute/docs/os-config-management/create-guest-policy#handle-conflicts.

Link copied to clipboard

Time this guest policy was created.

Link copied to clipboard

Description of the guest policy. Length of the description is limited to 1024 characters.

Link copied to clipboard

The etag for this guest policy. If this is provided on update, it must match the server's etag.

Link copied to clipboard

Unique name of the resource in this project using one of the following forms: projects/{project_number}/guestPolicies/{guest_policy_id}.

Link copied to clipboard

A list of package repositories to configure on the VM instance. This is done before any other configs are applied so they can use these repos. Package repositories are only configured if the corresponding package manager(s) are available.

Link copied to clipboard

The software packages to be managed by this policy.

Link copied to clipboard

A list of Recipes to install on the VM instance.

Link copied to clipboard

Last time this guest policy was updated.