Network class

Represents a VPC Network resource.

Networks connect resources to each other and to the internet. For more information, read Virtual Private Cloud (VPC) Network. (== resource_for v1.networks ==) (== resource_for beta.networks ==)

Constructors

Network()
Network.fromJson(Map _json)

Properties

autoCreateSubnetworks ↔ bool
When set to true, the VPC network is created in "auto" mode. When set to false, the VPC network is created in "custom" mode. [...]
read / write
creationTimestamp ↔ String
Output Only Creation timestamp in RFC3339 text format.
read / write
description ↔ String
An optional description of this resource. Provide this field when you create the resource.
read / write
gatewayIPv4 ↔ String
Output Only The gateway address for default routing out of the network, selected by GCP.
read / write
id ↔ String
Output Only The unique identifier for the resource. This identifier is defined by the server.
read / write
IPv4Range ↔ String
Deprecated in favor of subnet mode networks. The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created.
read / write
kind ↔ String
Output Only Type of the resource. Always compute#network for networks.
read / write
name ↔ String
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.
read / write
peerings ↔ List<NetworkPeering>
Output Only A list of network peerings for the resource.
read / write
routingConfig NetworkRoutingConfig
The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce.
read / write
Output Only Server-defined URL for the resource.
read / write
subnetworks ↔ List<String>
Output Only Server-defined fully-qualified URLs for all subnetworks in this VPC network.
read / write
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

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited