Reference documentation and code samples for the Google Cloud Run V2 Client class NetworkInterface.
Direct VPC egress settings.
Generated from protobuf message google.cloud.run.v2.VpcAccess.NetworkInterface
Namespace
Google \ Cloud \ Run \ V2 \ VpcAccessMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ network
string
Optional. The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
↳ subnetwork
string
Optional. The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
↳ tags
array
Optional. Network tags applied to this Cloud Run resource.
getNetwork
Optional. The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified.
If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
string
setNetwork
Optional. The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified.
If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.
var
string
$this
getSubnetwork
Optional. The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
string
setSubnetwork
Optional. The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.
var
string
$this
getTags
Optional. Network tags applied to this Cloud Run resource.
setTags
Optional. Network tags applied to this Cloud Run resource.
var
string[]
$this