Interface OSPolicy.Resource.PackageResource.RPMOrBuilder (2.4.3)

public static interface OSPolicy.Resource.PackageResource.RPMOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPullDeps()

public abstract boolean getPullDeps()

Whether dependencies should also be installed.

  • install when false: rpm --upgrade --replacepkgs package.rpm
  • install when true: yum -y install package.rpm or zypper -y install package.rpm

bool pull_deps = 2;

Returns
TypeDescription
boolean

The pullDeps.

getSource()

public abstract OSPolicy.Resource.File getSource()

Required. An rpm package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
OSPolicy.Resource.File

The source.

getSourceOrBuilder()

public abstract OSPolicy.Resource.FileOrBuilder getSourceOrBuilder()

Required. An rpm package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
OSPolicy.Resource.FileOrBuilder

hasSource()

public abstract boolean hasSource()

Required. An rpm package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the source field is set.