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 |
---|---|
SubnetworkId |
NetworkInterface.getSubnetwork()
Returns the identity of the subnetwork this interface applies to.
|
SubnetworkId |
SubnetworkInfo.getSubnetworkId()
Returns the subnetwork identity.
|
static SubnetworkId |
SubnetworkId.of(RegionId regionId,
String subnetwork)
Returns a subnetwork identity given the region identity and the subnetwork name.
|
static SubnetworkId |
SubnetworkId.of(String region,
String subnetwork)
Returns a subnetwork identity given the region and subnetwork names.
|
static SubnetworkId |
SubnetworkId.of(String project,
String region,
String subnetwork)
Returns a subnetwork identity given project, region and subnetwork names.
|
Modifier and Type | Method and Description |
---|---|
List<SubnetworkId> |
SubnetNetworkConfiguration.getSubnetworks()
Returns the identities of all networks in this network.
|
Modifier and Type | Method and Description |
---|---|
Operation |
Network.createSubnetwork(SubnetworkId subnetworkId,
String ipRange,
Compute.OperationOption... options)
Creates a subnetwork for this network given its identity and the range of IPv4 addresses in
CIDR format.
|
Operation |
Compute.deleteSubnetwork(SubnetworkId subnetwork,
Compute.OperationOption... options)
Deletes the requested subnetwork.
|
Subnetwork |
Compute.getSubnetwork(SubnetworkId subnetworkId,
Compute.SubnetworkOption... options)
Returns the requested subnetwork or
null if not found. |
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 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.setSubnetwork(SubnetworkId subnetwork)
Sets the identity of the subnetwork this interface applies to.
|
abstract SubnetworkInfo.Builder |
SubnetworkInfo.Builder.setSubnetworkId(SubnetworkId subnetworkId)
Sets the identity of the subnework.
|
Subnetwork.Builder |
Subnetwork.Builder.setSubnetworkId(SubnetworkId subnetworkId) |
Modifier and Type | Method and Description |
---|---|
void |
ResourceCleaner.add(SubnetworkId subnetworkId) |
Copyright © 2019 Google LLC. All rights reserved.