class ProjectsLocationsTlsInspectionPolicies extends Resource (View source)

The "tlsInspectionPolicies" collection of methods.

Typical usage is:

 $networksecurityService = new Google\Service\NetworkSecurity(...);
 $tlsInspectionPolicies = $networksecurityService->projects_locations_tlsInspectionPolicies;

Methods

create(string $parent, TlsInspectionPolicy $postBody, array $optParams = [])

Creates a new TlsInspectionPolicy in a given project and location.

delete(string $name, array $optParams = [])

Deletes a single TlsInspectionPolicy. (tlsInspectionPolicies.delete)

get(string $name, array $optParams = [])

Gets details of a single TlsInspectionPolicy. (tlsInspectionPolicies.get)

listProjectsLocationsTlsInspectionPolicies(string $parent, array $optParams = [])

Lists TlsInspectionPolicies in a given project and location.

patch(string $name, TlsInspectionPolicy $postBody, array $optParams = [])

Updates the parameters of a single TlsInspectionPolicy.

Details

Operation create(string $parent, TlsInspectionPolicy $postBody, array $optParams = [])

Creates a new TlsInspectionPolicy in a given project and location.

(tlsInspectionPolicies.create)

Parameters

string $parent

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

TlsInspectionPolicy $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Deletes a single TlsInspectionPolicy. (tlsInspectionPolicies.delete)

Parameters

string $name

Required. A name of the TlsInspectionPolicy to delete. Must be in the format projects/{project}/locations/{location}/tlsInspectionP olicies/{tls_inspection_policy}.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

TlsInspectionPolicy get(string $name, array $optParams = [])

Gets details of a single TlsInspectionPolicy. (tlsInspectionPolicies.get)

Parameters

string $name

Required. A name of the TlsInspectionPolicy to get. Must be in the format projects/{project}/locations/{location}/tlsInspectionPolici es/{tls_inspection_policy}.

array $optParams

Optional parameters.

Return Value

TlsInspectionPolicy

Exceptions

Exception

ListTlsInspectionPoliciesResponse listProjectsLocationsTlsInspectionPolicies(string $parent, array $optParams = [])

Lists TlsInspectionPolicies in a given project and location.

(tlsInspectionPolicies.listProjectsLocationsTlsInspectionPolicies)

Parameters

string $parent

Required. The project and location from which the TlsInspectionPolicies should be listed, specified in the format projects/{project}/locations/{location}.

array $optParams

Optional parameters.

Return Value

ListTlsInspectionPoliciesResponse

Exceptions

Exception

Operation patch(string $name, TlsInspectionPolicy $postBody, array $optParams = [])

Updates the parameters of a single TlsInspectionPolicy.

(tlsInspectionPolicies.patch)

Parameters

string $name

Required. Name of the resource. Name is of the form proje cts/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_poli cy} tls_inspection_policy should match the pattern:(^a-z?$).

TlsInspectionPolicy $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception