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 \ V1Methods
__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: |
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 |