Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::VpcAccess.
VPC Access settings. For more information on sending traffic to a VPC network, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#connector
def connector() -> ::String
Returns
- (::String) — VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
#connector=
def connector=(value) -> ::String
Parameter
- value (::String) — VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
Returns
- (::String) — VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
#egress
def egress() -> ::Google::Cloud::Run::V2::VpcAccess::VpcEgress
Returns
- (::Google::Cloud::Run::V2::VpcAccess::VpcEgress) — Optional. Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
#egress=
def egress=(value) -> ::Google::Cloud::Run::V2::VpcAccess::VpcEgress
Parameter
- value (::Google::Cloud::Run::V2::VpcAccess::VpcEgress) — Optional. Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
Returns
- (::Google::Cloud::Run::V2::VpcAccess::VpcEgress) — Optional. Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.
#network_interfaces
def network_interfaces() -> ::Array<::Google::Cloud::Run::V2::VpcAccess::NetworkInterface>
Returns
- (::Array<::Google::Cloud::Run::V2::VpcAccess::NetworkInterface>) — Optional. Direct VPC egress settings. Currently only single network interface is supported.
#network_interfaces=
def network_interfaces=(value) -> ::Array<::Google::Cloud::Run::V2::VpcAccess::NetworkInterface>
Parameter
- value (::Array<::Google::Cloud::Run::V2::VpcAccess::NetworkInterface>) — Optional. Direct VPC egress settings. Currently only single network interface is supported.
Returns
- (::Array<::Google::Cloud::Run::V2::VpcAccess::NetworkInterface>) — Optional. Direct VPC egress settings. Currently only single network interface is supported.