Cloud Build V1 API - Class Google::Cloud::Build::V1::PrivatePoolV1Config::NetworkConfig (v0.14.0)

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

#egress_option=

def egress_option=(value) -> ::Google::Cloud::Build::V1::PrivatePoolV1Config::NetworkConfig::EgressOption
Parameter
Returns

#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_id on the service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, 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_id on the service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, 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_id on the service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, and {network} is the name of a VPC network in the project. See Understanding network configuration options