public static interface WorkstationConfig.Host.GceInstanceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBootDiskSizeGb()
public abstract int getBootDiskSizeGb()
Size of the boot disk in GB. Defaults to 50.
int32 boot_disk_size_gb = 9;
Returns | |
---|---|
Type | Description |
int | The bootDiskSizeGb. |
getConfidentialInstanceConfig()
public abstract WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig getConfidentialInstanceConfig()
A set of Compute Engine Confidential VM instance options.
.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig confidential_instance_config = 10;
Returns | |
---|---|
Type | Description |
WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig | The confidentialInstanceConfig. |
getConfidentialInstanceConfigOrBuilder()
public abstract WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfigOrBuilder getConfidentialInstanceConfigOrBuilder()
A set of Compute Engine Confidential VM instance options.
.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig confidential_instance_config = 10;
Returns | |
---|---|
Type | Description |
WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfigOrBuilder |
getDisablePublicIpAddresses()
public abstract boolean getDisablePublicIpAddresses()
Whether instances have no public IP address.
bool disable_public_ip_addresses = 6;
Returns | |
---|---|
Type | Description |
boolean | The disablePublicIpAddresses. |
getEnableNestedVirtualization()
public abstract boolean getEnableNestedVirtualization()
Whether to enable nested virtualization on instances.
bool enable_nested_virtualization = 7;
Returns | |
---|---|
Type | Description |
boolean | The enableNestedVirtualization. |
getMachineType()
public abstract String getMachineType()
The name of a Compute Engine machine type.
string machine_type = 1;
Returns | |
---|---|
Type | Description |
String | The machineType. |
getMachineTypeBytes()
public abstract ByteString getMachineTypeBytes()
The name of a Compute Engine machine type.
string machine_type = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for machineType. |
getPoolSize()
public abstract int getPoolSize()
Number of instances to pool for faster workstation starup.
int32 pool_size = 5;
Returns | |
---|---|
Type | Description |
int | The poolSize. |
getServiceAccount()
public abstract String getServiceAccount()
Email address of the service account that will be used on VM instances used to support this config. If not set, VMs will run with a Google-managed service account. This service account must have permission to pull the specified container image, otherwise the image must be publicly accessible.
string service_account = 2;
Returns | |
---|---|
Type | Description |
String | The serviceAccount. |
getServiceAccountBytes()
public abstract ByteString getServiceAccountBytes()
Email address of the service account that will be used on VM instances used to support this config. If not set, VMs will run with a Google-managed service account. This service account must have permission to pull the specified container image, otherwise the image must be publicly accessible.
string service_account = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for serviceAccount. |
getShieldedInstanceConfig()
public abstract WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig getShieldedInstanceConfig()
A set of Compute Engine Shielded instance options.
.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig shielded_instance_config = 8;
Returns | |
---|---|
Type | Description |
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig | The shieldedInstanceConfig. |
getShieldedInstanceConfigOrBuilder()
public abstract WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
A set of Compute Engine Shielded instance options.
.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig shielded_instance_config = 8;
Returns | |
---|---|
Type | Description |
WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfigOrBuilder |
getTags(int index)
public abstract String getTags(int index)
Network tags to add to the Compute Engine machines backing the Workstations.
repeated string tags = 4;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The tags at the given index. |
getTagsBytes(int index)
public abstract ByteString getTagsBytes(int index)
Network tags to add to the Compute Engine machines backing the Workstations.
repeated string tags = 4;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the tags at the given index. |
getTagsCount()
public abstract int getTagsCount()
Network tags to add to the Compute Engine machines backing the Workstations.
repeated string tags = 4;
Returns | |
---|---|
Type | Description |
int | The count of tags. |
getTagsList()
public abstract List<String> getTagsList()
Network tags to add to the Compute Engine machines backing the Workstations.
repeated string tags = 4;
Returns | |
---|---|
Type | Description |
List<String> | A list containing the tags. |
hasConfidentialInstanceConfig()
public abstract boolean hasConfidentialInstanceConfig()
A set of Compute Engine Confidential VM instance options.
.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfig confidential_instance_config = 10;
Returns | |
---|---|
Type | Description |
boolean | Whether the confidentialInstanceConfig field is set. |
hasShieldedInstanceConfig()
public abstract boolean hasShieldedInstanceConfig()
A set of Compute Engine Shielded instance options.
.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfig shielded_instance_config = 8;
Returns | |
---|---|
Type | Description |
boolean | Whether the shieldedInstanceConfig field is set. |