class Google::Apis::OsconfigV1beta::EffectiveGuestPolicy

The effective guest policy that applies to a VM instance.

Attributes

package_repositories[RW]

List of package repository configurations assigned to the VM instance. Corresponds to the JSON property `packageRepositories` @return [Array<Google::Apis::OsconfigV1beta::EffectiveGuestPolicySourcedPackageRepository>]

packages[RW]

List of package configurations assigned to the VM instance. Corresponds to the JSON property `packages` @return [Array<Google::Apis::OsconfigV1beta::EffectiveGuestPolicySourcedPackage>]

software_recipes[RW]

List of recipes assigned to the VM instance. Corresponds to the JSON property `softwareRecipes` @return [Array<Google::Apis::OsconfigV1beta::EffectiveGuestPolicySourcedSoftwareRecipe>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/osconfig_v1beta/classes.rb, line 252
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/osconfig_v1beta/classes.rb, line 257
def update!(**args)
  @package_repositories = args[:package_repositories] if args.key?(:package_repositories)
  @packages = args[:packages] if args.key?(:packages)
  @software_recipes = args[:software_recipes] if args.key?(:software_recipes)
end