Service
Source: src/cwsandbox/_types.py:323NetworkOptions ingress/egress mode model.
Attributes
name(str | None) : Optional service name.protocol(ServiceProtocol | str | None) : L4 protocol (defaults to TCP when unset). Must be unset or TCP whenendpointis set.visibility(ServiceVisibility | str | None) : Who may reach this port (PUBLIC/PRIVATE/CUSTOM). CUSTOM means the fleet assigns reachability;service_urlsstays empty unless the API reports a URL. The service still appears inexposed_ports. Must be PUBLIC whenendpointis set.endpoint(Endpoint | dict[str, Any] | None) : Optional product endpoint. HTTPS/OPEN (optionalrequest_timeout_seconds) or TLS_PASSTHROUGH (auth and timeout unset). Omit for a plain TCP/UDP port.
ServiceProtocol
Source: src/cwsandbox/_types.py:197UNSPECIFIED='unspecified'TCP='tcp'UDP='udp'SCTP='sctp'
ServiceVisibility
Source: src/cwsandbox/_types.py:188UNSPECIFIED='unspecified'PUBLIC='public'PRIVATE='private'CUSTOM='custom'