Interface OSPolicy.Resource.PackageResource.DebOrBuilder (2.48.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
Type Description
boolean

The pullDeps.

getSource()

public abstract OSPolicy.Resource.File getSource()

Required. A deb package.

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

Returns
Type Description
OSPolicy.Resource.File

The source.

getSourceOrBuilder()

public abstract OSPolicy.Resource.FileOrBuilder getSourceOrBuilder()

Required. A deb package.

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

Returns
Type Description
OSPolicy.Resource.FileOrBuilder

hasSource()

public abstract boolean hasSource()

Required. A deb package.

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

Returns
Type Description
boolean

Whether the source field is set.