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

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
NameDescription
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
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\NetworkSecurity\V1\GetServerTlsPolicyRequest