NetworksResource class

Constructors

NetworksResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
getEffectiveFirewalls(String project, String network, {String? $fields}) Future<NetworksGetEffectiveFirewallsResponse>
Returns the effective firewalls on a given network.
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, bool? returnPartialSuccess, 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, bool? returnPartialSuccess, String? $fields}) Future<ExchangedPeeringRoutesList>
Lists the peering routes exchanged over peering connection.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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.
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
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.

Operators

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