Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::PrivatePoolV1Config::NetworkConfig.
Defines the network configuration for the pool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#egress_option
def egress_option() -> ::Google::Cloud::Build::V1::PrivatePoolV1Config::NetworkConfig::EgressOption Returns
- (::Google::Cloud::Build::V1::PrivatePoolV1Config::NetworkConfig::EgressOption) — Option to configure network egress for the workers.
#egress_option=
def egress_option=(value) -> ::Google::Cloud::Build::V1::PrivatePoolV1Config::NetworkConfig::EgressOption Parameter
- value (::Google::Cloud::Build::V1::PrivatePoolV1Config::NetworkConfig::EgressOption) — Option to configure network egress for the workers.
Returns
- (::Google::Cloud::Build::V1::PrivatePoolV1Config::NetworkConfig::EgressOption) — Option to configure network egress for the workers.
#peered_network
def peered_network() -> ::String Returns
- (::String) — Required. Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to
WorkerPool.project_idon the service producer network. Must be in the formatprojects/{project}/global/networks/{network}, where{project}is a project number, such as12345, and{network}is the name of a VPC network in the project. See Understanding network configuration options
#peered_network=
def peered_network=(value) -> ::String Parameter
- value (::String) — Required. Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to
WorkerPool.project_idon the service producer network. Must be in the formatprojects/{project}/global/networks/{network}, where{project}is a project number, such as12345, and{network}is the name of a VPC network in the project. See Understanding network configuration options
Returns
- (::String) — Required. Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to
WorkerPool.project_idon the service producer network. Must be in the formatprojects/{project}/global/networks/{network}, where{project}is a project number, such as12345, and{network}is the name of a VPC network in the project. See Understanding network configuration options