Interface ResourcesOrBuilder (2.52.0)

public interface ResourcesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCpu()

public abstract double getCpu()

Number of CPU cores needed.

double cpu = 1;

Returns
Type Description
double

The cpu.

getDiskGb()

public abstract double getDiskGb()

Disk size (GB) needed.

double disk_gb = 2;

Returns
Type Description
double

The diskGb.

getKmsKeyReference()

public abstract String getKmsKeyReference()

The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk

string kms_key_reference = 5;

Returns
Type Description
String

The kmsKeyReference.

getKmsKeyReferenceBytes()

public abstract ByteString getKmsKeyReferenceBytes()

The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk

string kms_key_reference = 5;

Returns
Type Description
ByteString

The bytes for kmsKeyReference.

getMemoryGb()

public abstract double getMemoryGb()

Memory (GB) needed.

double memory_gb = 3;

Returns
Type Description
double

The memoryGb.

getVolumes(int index)

public abstract Volume getVolumes(int index)

User specified volumes.

repeated .google.appengine.v1.Volume volumes = 4;

Parameter
Name Description
index int
Returns
Type Description
Volume

getVolumesCount()

public abstract int getVolumesCount()

User specified volumes.

repeated .google.appengine.v1.Volume volumes = 4;

Returns
Type Description
int

getVolumesList()

public abstract List<Volume> getVolumesList()

User specified volumes.

repeated .google.appengine.v1.Volume volumes = 4;

Returns
Type Description
List<Volume>

getVolumesOrBuilder(int index)

public abstract VolumeOrBuilder getVolumesOrBuilder(int index)

User specified volumes.

repeated .google.appengine.v1.Volume volumes = 4;

Parameter
Name Description
index int
Returns
Type Description
VolumeOrBuilder

getVolumesOrBuilderList()

public abstract List<? extends VolumeOrBuilder> getVolumesOrBuilderList()

User specified volumes.

repeated .google.appengine.v1.Volume volumes = 4;

Returns
Type Description
List<? extends com.google.appengine.v1.VolumeOrBuilder>