Google Cloud Network Services V1 Client - Class GetEndpointPolicyRequest (0.1.1)

Reference documentation and code samples for the Google Cloud Network Services V1 Client class GetEndpointPolicyRequest.

Request used with the GetEndpointPolicy method.

Generated from protobuf message google.cloud.networkservices.v1.GetEndpointPolicyRequest

Namespace

Google \ Cloud \ NetworkServices \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. A name of the EndpointPolicy to get. Must be in the format projects/*/locations/global/endpointPolicies/*.

getName

Required. A name of the EndpointPolicy to get. Must be in the format projects/*/locations/global/endpointPolicies/*.

Returns
Type Description
string

setName

Required. A name of the EndpointPolicy to get. Must be in the format projects/*/locations/global/endpointPolicies/*.

Parameter
Name Description
var string
Returns
Type Description
$this