Google Cloud Eventarc V1 Client - Class NetworkConfig (2.1.2)

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

Network Configuration that can be inherited by other protos.

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

Namespace

Google \ Cloud \ Eventarc \ V1

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 customer's VPC. Format: projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}

getNetworkAttachment

Required. Name of the NetworkAttachment that allows access to the customer's 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 customer's VPC. Format: projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}

Parameter
Name Description
var string
Returns
Type Description
$this