Interface ComputeInstanceTargetEnvironmentOrBuilder (0.35.0)

publicinterface ComputeInstanceTargetEnvironmentOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getProject()

publicabstractStringgetProject()

Required. Target project for the Compute Engine instance.

string project = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

publicabstractByteStringgetProjectBytes()

Required. Target project for the Compute Engine instance.

string project = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

getZone()

publicabstractStringgetZone()

Required. The zone of the Compute Engine instance.

string zone = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The zone.

getZoneBytes()

publicabstractByteStringgetZoneBytes()

Required. The zone of the Compute Engine instance.

string zone = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for zone.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.