Reference documentation and code samples for the Google Cloud Network Security V1 Client class AssociationReference.
This is a subset of the FirewallEndpointAssociation message, containing fields to be used by the consumer.
Generated from protobuf message google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference
Namespace
Google \ Cloud \ NetworkSecurity \ V1 \ FirewallEndpointMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. The resource name of the FirewallEndpointAssociation. Format: projects/{project}/locations/{location}/firewallEndpointAssociations/{id} |
↳ network |
string
Output only. The VPC network associated. Format: projects/{project}/global/networks/{name}. |
getName
Output only. The resource name of the FirewallEndpointAssociation.
Format: projects/{project}/locations/{location}/firewallEndpointAssociations/{id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Output only. The resource name of the FirewallEndpointAssociation.
Format: projects/{project}/locations/{location}/firewallEndpointAssociations/{id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNetwork
Output only. The VPC network associated. Format: projects/{project}/global/networks/{name}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNetwork
Output only. The VPC network associated. Format: projects/{project}/global/networks/{name}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|