Class: Google::Apis::OsconfigV1beta::EffectiveGuestPolicy
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1beta::EffectiveGuestPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/osconfig_v1beta/classes.rb,
generated/google/apis/osconfig_v1beta/representations.rb,
generated/google/apis/osconfig_v1beta/representations.rb
Overview
The effective guest policy that applies to a VM instance.
Instance Attribute Summary collapse
-
#package_repositories ⇒ Array<Google::Apis::OsconfigV1beta::EffectiveGuestPolicySourcedPackageRepository>
List of package repository configurations assigned to the VM instance.
-
#packages ⇒ Array<Google::Apis::OsconfigV1beta::EffectiveGuestPolicySourcedPackage>
List of package configurations assigned to the VM instance.
-
#software_recipes ⇒ Array<Google::Apis::OsconfigV1beta::EffectiveGuestPolicySourcedSoftwareRecipe>
List of recipes assigned to the VM instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EffectiveGuestPolicy
constructor
A new instance of EffectiveGuestPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EffectiveGuestPolicy
Returns a new instance of EffectiveGuestPolicy.
260 261 262 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 260 def initialize(**args) update!(**args) end |
Instance Attribute Details
#package_repositories ⇒ Array<Google::Apis::OsconfigV1beta::EffectiveGuestPolicySourcedPackageRepository>
List of package repository configurations assigned to the VM instance.
Corresponds to the JSON property packageRepositories
248 249 250 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 248 def package_repositories @package_repositories end |
#packages ⇒ Array<Google::Apis::OsconfigV1beta::EffectiveGuestPolicySourcedPackage>
List of package configurations assigned to the VM instance.
Corresponds to the JSON property packages
253 254 255 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 253 def packages @packages end |
#software_recipes ⇒ Array<Google::Apis::OsconfigV1beta::EffectiveGuestPolicySourcedSoftwareRecipe>
List of recipes assigned to the VM instance.
Corresponds to the JSON property softwareRecipes
258 259 260 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 258 def software_recipes @software_recipes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
265 266 267 268 269 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 265 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 |