Google Cloud Network Security V1 Client - Class CreateClientTlsPolicyRequest (0.6.5)

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

Request used by the CreateClientTlsPolicy method.

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

Namespace

Google \ Cloud \ NetworkSecurity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource of the ClientTlsPolicy. Must be in the format projects/*/locations/{location}.

↳ client_tls_policy_id string

Required. Short name of the ClientTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "client_mtls_policy".

↳ client_tls_policy Google\Cloud\NetworkSecurity\V1\ClientTlsPolicy

Required. ClientTlsPolicy resource to be created.

getParent

Required. The parent resource of the ClientTlsPolicy. Must be in the format projects/*/locations/{location}.

Returns
Type Description
string

setParent

Required. The parent resource of the ClientTlsPolicy. Must be in the format projects/*/locations/{location}.

Parameter
Name Description
var string
Returns
Type Description
$this

getClientTlsPolicyId

Required. Short name of the ClientTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "client_mtls_policy".

Returns
Type Description
string

setClientTlsPolicyId

Required. Short name of the ClientTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "client_mtls_policy".

Parameter
Name Description
var string
Returns
Type Description
$this

getClientTlsPolicy

Required. ClientTlsPolicy resource to be created.

Returns
Type Description
Google\Cloud\NetworkSecurity\V1\ClientTlsPolicy|null

hasClientTlsPolicy

clearClientTlsPolicy

setClientTlsPolicy

Required. ClientTlsPolicy resource to be created.

Parameter
Name Description
var Google\Cloud\NetworkSecurity\V1\ClientTlsPolicy
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource of the ClientTlsPolicy. Must be in the format projects/*/locations/{location}. Please see Google\Cloud\NetworkSecurity\V1\NetworkSecurityClient::locationName() for help formatting this field.

clientTlsPolicy Google\Cloud\NetworkSecurity\V1\ClientTlsPolicy

Required. ClientTlsPolicy resource to be created.

clientTlsPolicyId string

Required. Short name of the ClientTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "client_mtls_policy".

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