Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::Deb.
A deb package file. dpkg packages only support INSTALLED state.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#pull_deps
def pull_deps() -> ::Boolean
    Returns
    
  - 
        (::Boolean) — 
Whether dependencies should also be installed.
- install when false: 
dpkg -i package - install when true: 
apt-get update && apt-get -y install package.deb 
 - install when false: 
 
#pull_deps=
def pull_deps=(value) -> ::Boolean
    Parameter
    
  - 
        value (::Boolean) — 
Whether dependencies should also be installed.
- install when false: 
dpkg -i package - install when true: 
apt-get update && apt-get -y install package.deb 
 - install when false: 
 
    Returns
    
  - 
        (::Boolean) — 
Whether dependencies should also be installed.
- install when false: 
dpkg -i package - install when true: 
apt-get update && apt-get -y install package.deb 
 - install when false: 
 
#source
def source() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File
    Returns
    
  - (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File) — Required. A deb package.
 
#source=
def source=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File
    Parameter
    
  - value (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File) — Required. A deb package.
 
    Returns
    
- (::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File) — Required. A deb package.