Class: Google::Apis::OsconfigV1beta::EffectiveGuestPolicy
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1beta::EffectiveGuestPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/osconfig_v1beta/classes.rb,
lib/google/apis/osconfig_v1beta/representations.rb,
lib/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.
Constructor Details
#initialize(**args) ⇒ EffectiveGuestPolicy
Returns a new instance of EffectiveGuestPolicy.
252 253 254 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 252 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
240 241 242 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 240 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
245 246 247 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 245 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
250 251 252 |
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 250 def software_recipes @software_recipes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
257 258 259 260 261 |
# 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 |