Class RepositoryResource (1.15.3)

RepositoryResource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A resource that manages a package repository.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
apt google.cloud.osconfig_v1.types.OSPolicy.Resource.RepositoryResource.AptRepository
An Apt Repository. This field is a member of oneof_ repository.
yum google.cloud.osconfig_v1.types.OSPolicy.Resource.RepositoryResource.YumRepository
A Yum Repository. This field is a member of oneof_ repository.
zypper google.cloud.osconfig_v1.types.OSPolicy.Resource.RepositoryResource.ZypperRepository
A Zypper Repository. This field is a member of oneof_ repository.
goo google.cloud.osconfig_v1.types.OSPolicy.Resource.RepositoryResource.GooRepository
A Goo Repository. This field is a member of oneof_ repository.

Classes

AptRepository

AptRepository(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a single apt package repository. These will be added to a repo file that will be managed at /etc/apt/sources.list.d/google_osconfig.list.

GooRepository

GooRepository(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a Goo package repository. These are added to a repo file that is managed at C:/ProgramData/GooGet/repos/google_osconfig.repo.

YumRepository

YumRepository(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a single yum package repository. These are added to a repo file that is managed at /etc/yum.repos.d/google_osconfig.repo.

ZypperRepository

ZypperRepository(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a single zypper package repository. These are added to a repo file that is managed at /etc/zypp/repos.d/google_osconfig.repo.