Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource.
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::V1::OSPolicy::Resource::PackageResource::APT-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::APT) — A package managed by Apt.
Note: The following fields are mutually exclusive:
apt,deb,yum,zypper,rpm,googet,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
#apt=
def apt=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::APT-
value (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::APT) — A package managed by Apt.
Note: The following fields are mutually exclusive:
apt,deb,yum,zypper,rpm,googet,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::APT) — A package managed by Apt.
Note: The following fields are mutually exclusive:
apt,deb,yum,zypper,rpm,googet,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
#deb
def deb() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Deb-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Deb) — A deb package file.
Note: The following fields are mutually exclusive:
deb,apt,yum,zypper,rpm,googet,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
#deb=
def deb=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Deb-
value (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Deb) — A deb package file.
Note: The following fields are mutually exclusive:
deb,apt,yum,zypper,rpm,googet,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Deb) — A deb package file.
Note: The following fields are mutually exclusive:
deb,apt,yum,zypper,rpm,googet,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
#desired_state
def desired_state() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::DesiredState- (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::DesiredState) — Required. The desired state the agent should maintain for this package.
#desired_state=
def desired_state=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::DesiredState- value (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::DesiredState) — Required. The desired state the agent should maintain for this package.
- (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::DesiredState) — Required. The desired state the agent should maintain for this package.
#googet
def googet() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::GooGet-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::GooGet) — A package managed by GooGet.
Note: The following fields are mutually exclusive:
googet,apt,deb,yum,zypper,rpm,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
#googet=
def googet=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::GooGet-
value (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::GooGet) — A package managed by GooGet.
Note: The following fields are mutually exclusive:
googet,apt,deb,yum,zypper,rpm,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::GooGet) — A package managed by GooGet.
Note: The following fields are mutually exclusive:
googet,apt,deb,yum,zypper,rpm,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
#msi
def msi() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::MSI-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::MSI) — An MSI package.
Note: The following fields are mutually exclusive:
msi,apt,deb,yum,zypper,rpm,googet. If a field in that set is populated, all other fields in the set will automatically be cleared.
#msi=
def msi=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::MSI-
value (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::MSI) — An MSI package.
Note: The following fields are mutually exclusive:
msi,apt,deb,yum,zypper,rpm,googet. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::MSI) — An MSI package.
Note: The following fields are mutually exclusive:
msi,apt,deb,yum,zypper,rpm,googet. If a field in that set is populated, all other fields in the set will automatically be cleared.
#rpm
def rpm() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::RPM-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::RPM) — An rpm package file.
Note: The following fields are mutually exclusive:
rpm,apt,deb,yum,zypper,googet,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
#rpm=
def rpm=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::RPM-
value (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::RPM) — An rpm package file.
Note: The following fields are mutually exclusive:
rpm,apt,deb,yum,zypper,googet,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::RPM) — An rpm package file.
Note: The following fields are mutually exclusive:
rpm,apt,deb,yum,zypper,googet,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
#yum
def yum() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::YUM-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::YUM) — A package managed by YUM.
Note: The following fields are mutually exclusive:
yum,apt,deb,zypper,rpm,googet,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
#yum=
def yum=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::YUM-
value (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::YUM) — A package managed by YUM.
Note: The following fields are mutually exclusive:
yum,apt,deb,zypper,rpm,googet,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::YUM) — A package managed by YUM.
Note: The following fields are mutually exclusive:
yum,apt,deb,zypper,rpm,googet,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
#zypper
def zypper() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Zypper-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Zypper) — A package managed by Zypper.
Note: The following fields are mutually exclusive:
zypper,apt,deb,yum,rpm,googet,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
#zypper=
def zypper=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Zypper-
value (::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Zypper) — A package managed by Zypper.
Note: The following fields are mutually exclusive:
zypper,apt,deb,yum,rpm,googet,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Zypper) — A package managed by Zypper.
Note: The following fields are mutually exclusive:
zypper,apt,deb,yum,rpm,googet,msi. If a field in that set is populated, all other fields in the set will automatically be cleared.