Package | Description |
---|---|
com.google.cloud.compute.deprecated |
A client for Google Compute Engine – High-performance, scalable virtual machines.
|
com.google.cloud.compute.deprecated.testing |
A testing helper for Google Compute Engine.
|
Modifier and Type | Method and Description |
---|---|
NetworkId |
NetworkInterface.getNetwork()
Returns the identity of the network this interface applies to.
|
NetworkId |
SubnetworkInfo.getNetwork()
Returns the identity of the network to which this subnetwork belongs.
|
NetworkId |
NetworkInfo.getNetworkId()
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 |
---|---|
Operation |
Compute.deleteNetwork(NetworkId network,
Compute.OperationOption... options)
Deletes the requested network.
|
static NetworkInterface.Builder |
NetworkInterface.newBuilder(NetworkId networkId)
Returns a builder for a
NetworkInterface object given the network's identity. |
static NetworkInfo.Builder |
NetworkInfo.newBuilder(NetworkId networkId,
NetworkConfiguration configuration)
Returns a builder for a
NetworkInfo object given the network identity and its
configuration. |
static SubnetworkInfo.Builder |
SubnetworkInfo.newBuilder(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. |
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. |
NetworkInterface.Builder |
NetworkInterface.Builder.setNetwork(NetworkId network)
Sets the identity of the network this interface applies to.
|
Subnetwork.Builder |
Subnetwork.Builder.setNetwork(NetworkId network) |
abstract SubnetworkInfo.Builder |
SubnetworkInfo.Builder.setNetwork(NetworkId network)
Sets the identity of the network to which this subnetwork belongs.
|
abstract NetworkInfo.Builder |
NetworkInfo.Builder.setNetworkId(NetworkId networkId)
Sets the identity of the network.
|
Network.Builder |
Network.Builder.setNetworkId(NetworkId networkId) |
Modifier and Type | Method and Description |
---|---|
void |
ResourceCleaner.add(NetworkId networkId) |
Copyright © 2019 Google LLC. All rights reserved.