Interface OSPolicy.Resource.PackageResourceOrBuilder (2.50.0)

public static interface OSPolicy.Resource.PackageResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApt()

public abstract OSPolicy.Resource.PackageResource.APT getApt()

A package managed by Apt.

.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2;

Returns
Type Description
OSPolicy.Resource.PackageResource.APT

The apt.

getAptOrBuilder()

public abstract OSPolicy.Resource.PackageResource.APTOrBuilder getAptOrBuilder()

A package managed by Apt.

.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT apt = 2;

Returns
Type Description
OSPolicy.Resource.PackageResource.APTOrBuilder

getDeb()

public abstract OSPolicy.Resource.PackageResource.Deb getDeb()

A deb package file.

.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3;

Returns
Type Description
OSPolicy.Resource.PackageResource.Deb

The deb.

getDebOrBuilder()

public abstract OSPolicy.Resource.PackageResource.DebOrBuilder getDebOrBuilder()

A deb package file.

.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb deb = 3;

Returns
Type Description
OSPolicy.Resource.PackageResource.DebOrBuilder

getDesiredState()

public abstract OSPolicy.Resource.PackageResource.DesiredState getDesiredState()

Required. The desired state the agent should maintain for this package.

.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OSPolicy.Resource.PackageResource.DesiredState

The desiredState.

getDesiredStateValue()

public abstract int getDesiredStateValue()

Required. The desired state the agent should maintain for this package.

.google.cloud.osconfig.v1.OSPolicy.