Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource (v1.2.0)

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
Returns

#apt=

def apt=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::APT
Parameter
Returns

#deb

def deb() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Deb
Returns

#deb=

def deb=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Deb
Parameter
Returns

#desired_state

def desired_state() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::DesiredState
Returns

#desired_state=

def desired_state=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::DesiredState
Parameter
Returns

#googet

def googet() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::GooGet
Returns

#googet=

def googet=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::GooGet
Parameter
Returns

#msi

def msi() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::MSI
Returns

#msi=

def msi=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::MSI
Parameter
Returns

#rpm

def rpm() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::RPM
Returns

#rpm=

def rpm=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::RPM
Parameter
Returns

#yum

def yum() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::YUM
Returns

#yum=

def yum=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::YUM
Parameter
Returns

#zypper

def zypper() -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Zypper
Returns

#zypper=

def zypper=(value) -> ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::Zypper
Parameter
Returns