Google Cloud Network Security V1 Client - Class GetServerTlsPolicyRequest (1.0.0)

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

Request used by the GetServerTlsPolicy method.

Generated from protobuf message google.cloud.networksecurity.v1.GetServerTlsPolicyRequest

Namespace

Google \ Cloud \ NetworkSecurity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. A name of the ServerTlsPolicy to get. Must be in the format projects/*/locations/{location}/serverTlsPolicies/*.

getName

Required. A name of the ServerTlsPolicy to get. Must be in the format projects/*/locations/{location}/serverTlsPolicies/*.

Returns
Type Description
string

setName

Required. A name of the ServerTlsPolicy to get. Must be in the format projects/*/locations/{location}/serverTlsPolicies/*.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. A name of the ServerTlsPolicy to get. Must be in the format projects/*/locations/{location}/serverTlsPolicies/*. Please see Google\Cloud\NetworkSecurity\V1\NetworkSecurityClient::serverTlsPolicyName() for help formatting this field.

Returns
Type Description
Google\Cloud\NetworkSecurity\V1\GetServerTlsPolicyRequest