Interface GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder (2.48.0)

public static interface GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPackageRepository()

public abstract GuestPolicies.PackageRepository getPackageRepository()

A software package repository to configure on the VM instance.

.google.cloud.osconfig.v1beta.PackageRepository package_repository = 2;

Returns
Type Description
GuestPolicies.PackageRepository

The packageRepository.

getPackageRepositoryOrBuilder()

public abstract GuestPolicies.PackageRepositoryOrBuilder getPackageRepositoryOrBuilder()

A software package repository to configure on the VM instance.

.google.cloud.osconfig.v1beta.PackageRepository package_repository = 2;

Returns
Type Description
GuestPolicies.PackageRepositoryOrBuilder

getSource()

public abstract String getSource()

Name of the guest policy providing this config.

string source = 1;

Returns
Type Description
String

The source.

getSourceBytes()

public abstract ByteString getSourceBytes()

Name of the guest policy providing this config.

string source = 1;

Returns
Type Description
ByteString

The bytes for source.

hasPackageRepository()

public abstract boolean hasPackageRepository()

A software package repository to configure on the VM instance.

.google.cloud.osconfig.v1beta.PackageRepository package_repository = 2;

Returns
Type Description
boolean

Whether the packageRepository field is set.