class Google::Apis::OsconfigV1beta::PackageRepository
A package repository.
Attributes
Represents a single Apt package repository. This repository is added to a repo file that is stored at `/etc/apt/sources.list.d/google_osconfig.list`. Corresponds to the JSON property `apt` @return [Google::Apis::OsconfigV1beta::AptRepository]
Represents a Goo package repository. These is added to a repo file that is stored at C:/ProgramData/GooGet/repos/google_osconfig.repo. Corresponds to the JSON property `goo` @return [Google::Apis::OsconfigV1beta::GooRepository]
Represents a single Yum package repository. This repository is added to a repo file that is stored at `/etc/yum.repos.d/google_osconfig.repo`. Corresponds to the JSON property `yum` @return [Google::Apis::OsconfigV1beta::YumRepository]
Represents a single Zypper package repository. This repository is added to a repo file that is stored at `/etc/zypp/repos.d/google_osconfig.repo`. Corresponds to the JSON property `zypper` @return [Google::Apis::OsconfigV1beta::ZypperRepository]
Public Class Methods
# File lib/google/apis/osconfig_v1beta/classes.rb, line 987 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/osconfig_v1beta/classes.rb, line 992 def update!(**args) @apt = args[:apt] if args.key?(:apt) @goo = args[:goo] if args.key?(:goo) @yum = args[:yum] if args.key?(:yum) @zypper = args[:zypper] if args.key?(:zypper) end