class Google::Apis::OsconfigV1beta::PackageRepository

A package repository.

Attributes

apt[RW]

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]

goo[RW]

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]

yum[RW]

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]

zypper[RW]

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

new(**args) click to toggle source
# File lib/google/apis/osconfig_v1beta/classes.rb, line 987
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 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