Google Cloud Network Security V1 Client - Class AssociationDetails (1.3.0)

Reference documentation and code samples for the Google Cloud Network Security V1 Client class AssociationDetails.

The endpoint group's view of a connected association.

Generated from protobuf message google.cloud.networksecurity.v1.InterceptEndpointGroup.AssociationDetails

Namespace

Google \ Cloud \ NetworkSecurity \ V1 \ InterceptEndpointGroup

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The connected association's resource name, for example: projects/123456789/locations/global/interceptEndpointGroupAssociations/my-ega. See https://google.aip.dev/124.

↳ network string

Output only. The associated network, for example: projects/123456789/global/networks/my-network. See https://google.aip.dev/124.

↳ state int

Output only. Most recent known state of the association.

getName

Output only. The connected association's resource name, for example: projects/123456789/locations/global/interceptEndpointGroupAssociations/my-ega.

See https://google.aip.dev/124.

Returns
Type Description
string

setName

Output only. The connected association's resource name, for example: projects/123456789/locations/global/interceptEndpointGroupAssociations/my-ega.

See https://google.aip.dev/124.

Parameter
Name Description
var string
Returns
Type Description
$this

getNetwork

Output only. The associated network, for example: projects/123456789/global/networks/my-network.

See https://google.aip.dev/124.

Returns
Type Description
string

setNetwork

Output only. The associated network, for example: projects/123456789/global/networks/my-network.

See https://google.aip.dev/124.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. Most recent known state of the association.

Returns
Type Description
int Enum of type State.

setState

Output only. Most recent known state of the association.

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this