Network class
Network describes the GCP network used to create workers in.
Constructors
-
Network({Input<
String> ? network, Input<String> ? project, Input<String> ? subnetwork}) -
Creates a new Network.
networkNetwork on which the workers are created. "default" network is used if empty.projectProject id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.subnetworkSubnetwork on which the workers are created. "default" subnetwork is used if empty.const -
Network.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
network
→ Input<
String> ? -
Network on which the workers are created. "default" network is used if empty.
final
-
project
→ Input<
String> ? -
Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subnetwork
→ Input<
String> ? -
Subnetwork on which the workers are created. "default" subnetwork is used if empty.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited