Class: Google::Apis::OsconfigV1beta::EffectiveGuestPolicySourcedPackageRepository
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1beta::EffectiveGuestPolicySourcedPackageRepository
- 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
A guest policy package repository including its source.
Instance Attribute Summary collapse
-
#package_repository ⇒ Google::Apis::OsconfigV1beta::PackageRepository
A package repository.
-
#source ⇒ String
Name of the guest policy providing this config.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EffectiveGuestPolicySourcedPackageRepository
constructor
A new instance of EffectiveGuestPolicySourcedPackageRepository.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EffectiveGuestPolicySourcedPackageRepository
Returns a new instance of EffectiveGuestPolicySourcedPackageRepository.
312 313 314 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 312 def initialize(**args) update!(**args) end |
Instance Attribute Details
#package_repository ⇒ Google::Apis::OsconfigV1beta::PackageRepository
A package repository.
Corresponds to the JSON property packageRepository
305 306 307 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 305 def package_repository @package_repository end |
#source ⇒ String
Name of the guest policy providing this config.
Corresponds to the JSON property source
310 311 312 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 310 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
317 318 319 320 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 317 def update!(**args) @package_repository = args[:package_repository] if args.key?(:package_repository) @source = args[:source] if args.key?(:source) end |