@Generated(value="by GAPIC") @BetaApi public final class InstanceGroup extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
InstanceGroup.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiMessage |
getApiMessageRequestBody() |
String |
getCreationTimestamp()
[Output Only] The creation timestamp for this instance group in RFC3339 text format.
|
static InstanceGroup |
getDefaultInstance() |
String |
getDescription()
An optional description of this resource.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getFingerprint()
[Output Only] The fingerprint of the named ports.
|
String |
getId()
[Output Only] A unique identifier for this instance group, generated by the server.
|
String |
getKind()
[Output Only] The resource type, which is always compute#instanceGroup for instance groups.
|
String |
getName()
The name of the instance group.
|
List<NamedPort> |
getNamedPortsList()
Assigns a name to a port number.
|
String |
getNetwork()
The URL of the network to which all instances in the instance group belong.
|
String |
getRegion()
[Output Only] The URL of the region where the instance group is located (for regional
resources).
|
String |
getSelfLink()
[Output Only] The URL for this instance group.
|
Integer |
getSize()
[Output Only] The total number of instances in the instance group.
|
String |
getSubnetwork()
[Output Only] The URL of the subnetwork to which all instances in the instance group belong.
|
String |
getZone()
[Output Only] The URL of the zone where the instance group is located (for zonal resources).
|
int |
hashCode() |
static InstanceGroup.Builder |
newBuilder() |
static InstanceGroup.Builder |
newBuilder(InstanceGroup prototype) |
InstanceGroup.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface ApiMessage
@Nullable public ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface ApiMessage
public String getCreationTimestamp()
public String getDescription()
public String getFingerprint()
public String getId()
public String getKind()
public String getName()
public List<NamedPort> getNamedPortsList()
This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}]
Named ports apply to all instances in this instance group.
public String getNetwork()
public String getRegion()
public String getSelfLink()
public Integer getSize()
public String getSubnetwork()
public String getZone()
public static InstanceGroup.Builder newBuilder()
public static InstanceGroup.Builder newBuilder(InstanceGroup prototype)
public InstanceGroup.Builder toBuilder()
public static InstanceGroup getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.