Interface GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepositoryOrBuilder (2.5.2)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
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
TypeDescription
GuestPolicies.PackageRepositoryOrBuilder

getSource()

public abstract String getSource()

Name of the guest policy providing this config.

string source = 1;

Returns
TypeDescription
String

The source.

getSourceBytes()

public abstract ByteString getSourceBytes()

Name of the guest policy providing this config.

string source = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the packageRepository field is set.