Interface DataDiskImageImportOrBuilder (1.82.0)

public interface DataDiskImageImportOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGuestOsFeatures(int index)

public abstract String getGuestOsFeatures(int index)

Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image.

This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features.

For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.

repeated string guest_os_features = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The guestOsFeatures at the given index.

getGuestOsFeaturesBytes(int index)

public abstract ByteString getGuestOsFeaturesBytes(int index)

Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image.

This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features.

For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.

repeated string guest_os_features = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the guestOsFeatures at the given index.

getGuestOsFeaturesCount()

public abstract int getGuestOsFeaturesCount()

Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image.

This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features.

For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.

repeated string guest_os_features = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of guestOsFeatures.

getGuestOsFeaturesList()

public abstract List<String> getGuestOsFeaturesList()

Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image.

This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features.

For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.

repeated string guest_os_features = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the guestOsFeatures.