Google Cloud Vmware Engine V1 Client - Class GetNetworkPolicyRequest (0.5.4)

Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class GetNetworkPolicyRequest.

Request message for VmwareEngine.GetNetworkPolicy

Generated from protobuf message google.cloud.vmwareengine.v1.GetNetworkPolicyRequest

Namespace

Google \ Cloud \ VmwareEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the network policy to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

getName

Required. The resource name of the network policy to retrieve.

Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

Returns
Type Description
string

setName

Required. The resource name of the network policy to retrieve.

Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name of the network policy to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/networkPolicies/my-network-policy Please see Google\Cloud\VmwareEngine\V1\VmwareEngineClient::networkPolicyName() for help formatting this field.

Returns
Type Description
Google\Cloud\VmwareEngine\V1\GetNetworkPolicyRequest