NetworksResourceApi class

Constructors

NetworksResourceApi(ApiRequester client)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addPeering(NetworksAddPeeringRequest request, String project, String network, {String requestId, String $fields}) Future<Operation>
Adds a peering to the specified network. [...]
delete(String project, String network, {String requestId, String $fields}) Future<Operation>
Deletes the specified network. [...]
get(String project, String network, {String $fields}) Future<Network>
Returns the specified network. Gets a list of available networks by making a list() request. [...]
insert(Network request, String project, {String requestId, String $fields}) Future<Operation>
Creates a network in the specified project using the data included in the request. [...]
list(String project, {String filter, int maxResults, String orderBy, String pageToken, String $fields}) Future<NetworkList>
Retrieves the list of networks available to the specified project. [...]
listPeeringRoutes(String project, String network, {String direction, String filter, int maxResults, String orderBy, String pageToken, String peeringName, String region, String $fields}) Future<ExchangedPeeringRoutesList>
Lists the peering routes exchanged over peering connection. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
patch(Network request, String project, String network, {String requestId, String $fields}) Future<Operation>
Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode. [...]
removePeering(NetworksRemovePeeringRequest request, String project, String network, {String requestId, String $fields}) Future<Operation>
Removes a peering from the specified network. [...]
switchToCustomMode(String project, String network, {String requestId, String $fields}) Future<Operation>
Switches the network mode from auto subnet mode to custom subnet mode. [...]
toString() String
Returns a string representation of this object.
inherited
updatePeering(NetworksUpdatePeeringRequest request, String project, String network, {String requestId, String $fields}) Future<Operation>
Updates the specified network peering with the data included in the request Only the following fields can be modified: NetworkPeering.export_custom_routes, and NetworkPeering.import_custom_routes [...]

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited