Managed Service for Apache Kafka V1 API - Class Google::Cloud::ManagedKafka::V1::NetworkConfig (v0.2.0)

Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::NetworkConfig.

The configuration of a Virtual Private Cloud (VPC) network that can access the Kafka cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#subnet

def subnet() -> ::String
Returns
  • (::String) — Required. Name of the VPC subnet in which to create Private Service Connect (PSC) endpoints for the Kafka brokers and bootstrap address. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id}

    The subnet must be located in the same region as the Kafka cluster. The project may differ. Multiple subnets from the same parent network must not be specified.

    The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918.

#subnet=

def subnet=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the VPC subnet in which to create Private Service Connect (PSC) endpoints for the Kafka brokers and bootstrap address. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id}

    The subnet must be located in the same region as the Kafka cluster. The project may differ. Multiple subnets from the same parent network must not be specified.

    The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918.

Returns
  • (::String) — Required. Name of the VPC subnet in which to create Private Service Connect (PSC) endpoints for the Kafka brokers and bootstrap address. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id}

    The subnet must be located in the same region as the Kafka cluster. The project may differ. Multiple subnets from the same parent network must not be specified.

    The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918.