Class: Google::Cloud::Build::V1::PrivatePoolV1Config::PrivateServiceConnect
- Inherits:
-
Object
- Object
- Google::Cloud::Build::V1::PrivatePoolV1Config::PrivateServiceConnect
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb
Overview
Defines the Private Service Connect network configuration for the pool.
Instance Attribute Summary collapse
-
#network_attachment ⇒ ::String
Required.
-
#public_ip_address_disabled ⇒ ::Boolean
Required.
-
#route_all_traffic ⇒ ::Boolean
Immutable.
Instance Attribute Details
#network_attachment ⇒ ::String
Returns Required. Immutable. The network attachment that the worker network
interface is peered to. Must be in the format
projects/{project}/regions/{region}/networkAttachments/{networkAttachment}
.
The region of network attachment must be the same as the worker pool.
See Network
Attachments.
2500 2501 2502 2503 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 2500 class PrivateServiceConnect include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#public_ip_address_disabled ⇒ ::Boolean
Returns Required. Immutable. Disable public IP on the primary network interface.
If true, workers are created without any public address, which prevents
network egress to public IPs unless a network proxy is configured.
If false, workers are created with a public address which allows for
public internet egress. The public address only applies to traffic
through the primary network interface.
If route_all_traffic
is set to true, all traffic will go through the
non-primary network interface, this boolean has no effect.
2500 2501 2502 2503 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 2500 class PrivateServiceConnect include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#route_all_traffic ⇒ ::Boolean
Returns Immutable. Route all traffic through PSC interface. Enable this if you want full control of traffic in the private pool. Configure Cloud NAT for the subnet of network attachment if you need to access public Internet.
If false, Only route RFC 1918 (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16) and RFC 6598 (100.64.0.0/10) through PSC interface.
2500 2501 2502 2503 |
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 2500 class PrivateServiceConnect include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |