Network class
Represents a VPC Network resource.
Networks connect resources to each other and to the internet.
For more information, readVirtual Private Cloud (VPC) Network.
Constructors
-
Network({String? IPv4Range, bool? autoCreateSubnetworks, String? creationTimestamp, String? description, bool? enableUlaInternalIpv6, String? firewallPolicy, String? gatewayIPv4, String? id, String? internalIpv6Range, String? kind, int? mtu, String? name, String? networkFirewallPolicyEnforcementOrder, String? networkProfile, NetworkParams? params, List<
NetworkPeering> ? peerings, NetworkRoutingConfig? routingConfig, String? selfLink, String? selfLinkWithId, List<String> ? subnetworks}) - Network.fromJson(Map json_)
Properties
- autoCreateSubnetworks ↔ bool?
-
Must be set to create a VPC network.
getter/setter pair
- creationTimestamp ↔ String?
-
Creation timestamp inRFC3339
text format.
getter/setter pair
- description ↔ String?
-
An optional description of this resource.
getter/setter pair
- enableUlaInternalIpv6 ↔ bool?
-
Enable ULA internal ipv6 on this network.
getter/setter pair
- firewallPolicy ↔ String?
-
URL of the firewall policy the network is associated with.
getter/setter pair
- gatewayIPv4 ↔ String?
-
The gateway address for default routing out of the network,
selected by Google Cloud.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
The unique identifier for the resource.
getter/setter pair
- internalIpv6Range ↔ String?
-
When enabling ula internal ipv6, caller optionally can specify the /48
range they want from the google defined ULA prefix fd20::/20.
getter/setter pair
- IPv4Range ↔ String?
-
Deprecated in favor of subnet mode networks.
The range of internal addresses that are legal on this network.
getter/setter pair
- kind ↔ String?
-
Type of the resource.
getter/setter pair
- mtu ↔ int?
-
Maximum Transmission Unit in bytes.
The minimum value for this field is 1300 and the maximum value is 8896.
The suggested value is 1500, which is the default MTU used on the
Internet, or 8896 if you want to use Jumbo frames.
getter/setter pair
- name ↔ String?
-
Name of the resource.
getter/setter pair
- networkFirewallPolicyEnforcementOrder ↔ String?
-
The network firewall policy enforcement order.
getter/setter pair
- networkProfile ↔ String?
-
A full or partial URL of the network profile to apply to this network.
This field can be set only at resource creation time.
getter/setter pair
- params ↔ NetworkParams?
-
Input only.
getter/setter pair
-
peerings
↔ List<
NetworkPeering> ? -
A list of network peerings for the resource.
getter/setter pair
- routingConfig ↔ NetworkRoutingConfig?
-
The network-level routing configuration for this network.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selfLink ↔ String?
-
Server-defined URL for the resource.
getter/setter pair
- selfLinkWithId ↔ String?
-
Server-defined URL for this resource with the resource id.
getter/setter pair
-
subnetworks
↔ List<
String> ? -
Server-defined fully-qualified URLs for all subnetworks
in this VPC network.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited