Interface GuestPolicies.EffectiveGuestPolicyOrBuilder (2.56.0)

public static interface GuestPolicies.EffectiveGuestPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPackageRepositories(int index)

public abstract GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository getPackageRepositories(int index)

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Parameter
Name Description
index int
Returns
Type Description
GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository

getPackageRepositoriesCount()

public abstract int getPackageRepositoriesCount()

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Returns
Type Description
int

getPackageRepositoriesList()

public abstract List<GuestPolicies.EffectiveGuestPolicy.SourcedPackageRepository> getPackageRepositoriesList()

List of package repository configurations assigned to the VM instance.

repeated .google.cloud.osconfig.v1beta.EffectiveGuestPolicy.SourcedPackageRepository package_repositories = 2;

Returns
Type Description