Google Cloud Network Security V1 Client - Class CreateTlsInspectionPolicyRequest (1.3.0)

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

Request used by the CreateTlsInspectionPolicy method.

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

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 TlsInspectionPolicy. Must be in the format projects/{project}/locations/{location}.

↳ tls_inspection_policy_id string

Required. Short name of the TlsInspectionPolicy 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. "tls_inspection_policy1".

↳ tls_inspection_policy TlsInspectionPolicy

Required. TlsInspectionPolicy resource to be created.

getParent

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

Returns
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getTlsInspectionPolicyId

Required. Short name of the TlsInspectionPolicy 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. "tls_inspection_policy1".

Returns
Type Description
string

setTlsInspectionPolicyId

Required. Short name of the TlsInspectionPolicy 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. "tls_inspection_policy1".

Parameter
Name Description
var string
Returns
Type Description
$this

getTlsInspectionPolicy

Required. TlsInspectionPolicy resource to be created.

Returns
Type Description
TlsInspectionPolicy|null

hasTlsInspectionPolicy

clearTlsInspectionPolicy

setTlsInspectionPolicy

Required. TlsInspectionPolicy resource to be created.

Parameter
Name Description
var TlsInspectionPolicy
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource of the TlsInspectionPolicy. Must be in the format projects/{project}/locations/{location}. Please see NetworkSecurityClient::locationName() for help formatting this field.

tlsInspectionPolicy TlsInspectionPolicy

Required. TlsInspectionPolicy resource to be created.

tlsInspectionPolicyId string

Required. Short name of the TlsInspectionPolicy 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. "tls_inspection_policy1".

Returns
Type Description
CreateTlsInspectionPolicyRequest