| Package | Description |
|---|---|
| com.google.cloud.compute |
A client to Google Cloud Compute.
|
| Modifier and Type | Method and Description |
|---|---|
NetworkId |
SubnetworkInfo.network()
Returns the identity of the network to which this subnetwork belongs.
|
NetworkId |
NetworkInterface.network()
Returns the identity of the network this interface applies to.
|
NetworkId |
NetworkInfo.networkId()
Returns the network identity.
|
static NetworkId |
NetworkId.of(String network)
Returns a new network identity given network name.
|
static NetworkId |
NetworkId.of(String project,
String network)
Returns a new network identity given project and network names.
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkInterface.Builder |
NetworkInterface.builder(NetworkId networkId)
Returns a builder for a
NetworkInterface object given the network's identity. |
static NetworkInfo.Builder |
NetworkInfo.builder(NetworkId networkId,
NetworkConfiguration configuration)
Returns a builder for a
NetworkInfo object given the network identity and its
configuration. |
static SubnetworkInfo.Builder |
SubnetworkInfo.builder(SubnetworkId subnetworkId,
NetworkId network,
String ipRange)
Returns a builder for a
SubnetworkInfo object given the identity of the subnetwork, the
identity of the network this subnetwork belongs to and the range of IPv4 addresses owned by
this subnetwork. |
Operation |
Compute.deleteNetwork(NetworkId network,
Compute.OperationOption... options)
Deletes the requested network.
|
abstract SubnetworkInfo.Builder |
SubnetworkInfo.Builder.network(NetworkId network)
Sets the identity of the network to which this subnetwork belongs.
|
Subnetwork.Builder |
Subnetwork.Builder.network(NetworkId network) |
NetworkInterface.Builder |
NetworkInterface.Builder.network(NetworkId network)
Sets the identity of the network this interface applies to.
|
abstract NetworkInfo.Builder |
NetworkInfo.Builder.networkId(NetworkId networkId)
Sets the identity of the network.
|
Network.Builder |
Network.Builder.networkId(NetworkId networkId) |
static NetworkInterface |
NetworkInterface.of(NetworkId networkId)
Returns a
NetworkInterface object given the network's identity. |
static NetworkInfo |
NetworkInfo.of(NetworkId networkId,
NetworkConfiguration configuration)
Returns a
NetworkInfo object given the network identity. |
static SubnetworkInfo |
SubnetworkInfo.of(SubnetworkId subnetworkId,
NetworkId network,
String ipRange)
Returns a
SubnetworkInfo object given the identity of the subnetwork, the identity of
the network this subnetwork belongs to and the range of IPv4 addresses owned by this
subnetwork. |
Copyright © 2016 Google. All rights reserved.