A resource that manages a system package.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#apt
def apt() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::APT
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::APT) — A package managed by Apt.
#apt=
def apt=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::APT
Parameter
- value (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::APT) — A package managed by Apt.
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::APT) — A package managed by Apt.
#deb
def deb() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::Deb
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::Deb) — A deb package file.
#deb=
def deb=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::Deb
Parameter
- value (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::Deb) — A deb package file.
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::Deb) — A deb package file.
#desired_state
def desired_state() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::DesiredState
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::DesiredState) — Required. The desired state the agent should maintain for this package.
#desired_state=
def desired_state=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::DesiredState
Parameter
- value (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::DesiredState) — Required. The desired state the agent should maintain for this package.
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::DesiredState) — Required. The desired state the agent should maintain for this package.
#googet
def googet() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::GooGet
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::GooGet) — A package managed by GooGet.
#googet=
def googet=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::GooGet
Parameter
- value (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::GooGet) — A package managed by GooGet.
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::GooGet) — A package managed by GooGet.
#msi
def msi() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::MSI
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::MSI) — An MSI package.
#msi=
def msi=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::MSI
Parameter
- value (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::MSI) — An MSI package.
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::MSI) — An MSI package.
#rpm
def rpm() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::RPM
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::RPM) — An rpm package file.
#rpm=
def rpm=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::RPM
Parameter
- value (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::RPM) — An rpm package file.
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::RPM) — An rpm package file.
#yum
def yum() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::YUM
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::YUM) — A package managed by YUM.
#yum=
def yum=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::YUM
Parameter
- value (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::YUM) — A package managed by YUM.
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::YUM) — A package managed by YUM.
#zypper
def zypper() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::Zypper
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::Zypper) — A package managed by Zypper.
#zypper=
def zypper=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::Zypper
Parameter
- value (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::Zypper) — A package managed by Zypper.
Returns
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::Zypper) — A package managed by Zypper.