Google Cloud Eventarc V1 Client - Class NetworkConfig (2.1.2)

Reference documentation and code samples for the Google Cloud Eventarc V1 Client class NetworkConfig.

Represents a network config to be used for destination resolution and connectivity.

Generated from protobuf message google.cloud.eventarc.v1.Pipeline.Destination.NetworkConfig

Namespace

Google \ Cloud \ Eventarc \ V1 \ Pipeline \ Destination

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ network_attachment string

Required. Name of the NetworkAttachment that allows access to the consumer VPC. Format: projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}

getNetworkAttachment

Required. Name of the NetworkAttachment that allows access to the consumer VPC. Format: projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}

Returns
Type Description
string

setNetworkAttachment

Required. Name of the NetworkAttachment that allows access to the consumer VPC. Format: projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}

Parameter
Name Description
var string
Returns
Type Description
$this