Interface OSPolicy.Resource.PackageResource.DebOrBuilder (2.10.0)

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

Implements

MessageOrBuilder

Methods

getPullDeps()

public abstract boolean getPullDeps()

Whether dependencies should also be installed.

  • install when false: dpkg -i package
  • install when true: apt-get update && apt-get -y install package.deb

bool pull_deps = 2;

Returns
TypeDescription
boolean

The pullDeps.

getSource()

public abstract OSPolicy.Resource.File getSource()

Required. A deb package.

.google.cloud.osconfig.v1.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. A deb package.

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

Returns
TypeDescription
OSPolicy.Resource.FileOrBuilder

hasSource()

public abstract boolean hasSource()

Required. A deb package.

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

Returns
TypeDescription
boolean

Whether the source field is set.