Cloud Run V2 API - Class Google::Cloud::Run::V2::VpcAccess::NetworkInterface (v0.13.2)

Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::VpcAccess::NetworkInterface.

Direct VPC egress settings.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#network

def network() -> ::String
Returns
  • (::String) — 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.

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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

def subnetwork() -> ::String
Returns
  • (::String) — 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.

#subnetwork=

def subnetwork=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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

def tags() -> ::Array<::String>
Returns
  • (::Array<::String>) — Network tags applied to this Cloud Run resource.

#tags=

def tags=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Network tags applied to this Cloud Run resource.
Returns
  • (::Array<::String>) — Network tags applied to this Cloud Run resource.