@Generated(value="by GAPIC") @BetaApi public final class Network extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Network.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiMessage |
getApiMessageRequestBody() |
Boolean |
getAutoCreateSubnetworks()
When set to true, the VPC network is created in "auto" mode.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
static Network |
getDefaultInstance() |
String |
getDescription()
An optional description of this resource.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getGatewayIPv4()
[Output Only] The gateway address for default routing out of the network.
|
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getIPv4Range()
Deprecated in favor of subnet mode networks.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource.
|
List<NetworkPeering> |
getPeeringsList()
[Output Only] A list of network peerings for the resource.
|
NetworkRoutingConfig |
getRoutingConfig()
The network-level routing configuration for this network.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
List<String> |
getSubnetworksList()
[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.
|
int |
hashCode() |
static Network.Builder |
newBuilder() |
static Network.Builder |
newBuilder(Network prototype) |
Network.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 Boolean getAutoCreateSubnetworks()
An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges.
public String getCreationTimestamp()
public String getDescription()
public String getGatewayIPv4()
public String getIPv4Range()
public String getId()
public String getKind()
public String getName()
public List<NetworkPeering> getPeeringsList()
public NetworkRoutingConfig getRoutingConfig()
public String getSelfLink()
public List<String> getSubnetworksList()
public static Network.Builder newBuilder()
public static Network.Builder newBuilder(Network prototype)
public Network.Builder toBuilder()
public static Network getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.