Class NetworkSecurityConnection (2.15.1)

This interface defines virtual methods for each of the user-facing overload sets in NetworkSecurityClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type NetworkSecurityClient.

To create a concrete instance, see MakeNetworkSecurityConnection().

For mocking, see networksecurity_v1_mocks::MockNetworkSecurityConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListAuthorizationPolicies(google::cloud::networksecurity::v1::ListAuthorizationPoliciesRequest)

Parameter
Name Description
request google::cloud::networksecurity::v1::ListAuthorizationPoliciesRequest
Returns
Type Description
StreamRange< google::cloud::networksecurity::v1::AuthorizationPolicy >

virtual GetAuthorizationPolicy(google::cloud::networksecurity::v1::GetAuthorizationPolicyRequest const &)

Parameter
Name Description
request google::cloud::networksecurity::v1::GetAuthorizationPolicyRequest const &
Returns
Type Description
StatusOr< google::cloud::networksecurity::v1::AuthorizationPolicy >

virtual CreateAuthorizationPolicy(google::cloud::networksecurity::v1::CreateAuthorizationPolicyRequest const &)

Parameter
Name Description
request google::cloud::networksecurity::v1::CreateAuthorizationPolicyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networksecurity::v1::AuthorizationPolicy > >

virtual UpdateAuthorizationPolicy(google::cloud::networksecurity::v1::UpdateAuthorizationPolicyRequest const &)

Parameter
Name Description
request google::cloud::networksecurity::v1::UpdateAuthorizationPolicyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networksecurity::v1::AuthorizationPolicy > >

virtual DeleteAuthorizationPolicy(google::cloud::networksecurity::v1::DeleteAuthorizationPolicyRequest const &)

Parameter
Name Description
request google::cloud::networksecurity::v1::DeleteAuthorizationPolicyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networksecurity::v1::OperationMetadata > >

virtual ListServerTlsPolicies(google::cloud::networksecurity::v1::ListServerTlsPoliciesRequest)

Parameter
Name Description
request google::cloud::networksecurity::v1::ListServerTlsPoliciesRequest
Returns
Type Description
StreamRange< google::cloud::networksecurity::v1::ServerTlsPolicy >

virtual GetServerTlsPolicy(google::cloud::networksecurity::v1::GetServerTlsPolicyRequest const &)

Parameter
Name Description
request google::cloud::networksecurity::v1::GetServerTlsPolicyRequest const &
Returns
Type Description
StatusOr< google::cloud::networksecurity::v1::ServerTlsPolicy >

virtual CreateServerTlsPolicy(google::cloud::networksecurity::v1::CreateServerTlsPolicyRequest const &)

Parameter
Name Description
request google::cloud::networksecurity::v1::CreateServerTlsPolicyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networksecurity::v1::ServerTlsPolicy > >

virtual UpdateServerTlsPolicy(google::cloud::networksecurity::v1::UpdateServerTlsPolicyRequest const &)

Parameter
Name Description
request google::cloud::networksecurity::v1::UpdateServerTlsPolicyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networksecurity::v1::ServerTlsPolicy > >

virtual DeleteServerTlsPolicy(google::cloud::networksecurity::v1::DeleteServerTlsPolicyRequest const &)

Parameter
Name Description
request google::cloud::networksecurity::v1::DeleteServerTlsPolicyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networksecurity::v1::OperationMetadata > >

virtual ListClientTlsPolicies(google::cloud::networksecurity::v1::ListClientTlsPoliciesRequest)

Parameter
Name Description
request google::cloud::networksecurity::v1::ListClientTlsPoliciesRequest
Returns
Type Description
StreamRange< google::cloud::networksecurity::v1::ClientTlsPolicy >

virtual GetClientTlsPolicy(google::cloud::networksecurity::v1::GetClientTlsPolicyRequest const &)

Parameter
Name Description
request google::cloud::networksecurity::v1::GetClientTlsPolicyRequest const &
Returns
Type Description
StatusOr< google::cloud::networksecurity::v1::ClientTlsPolicy >

virtual CreateClientTlsPolicy(google::cloud::networksecurity::v1::CreateClientTlsPolicyRequest const &)

Parameter
Name Description
request google::cloud::networksecurity::v1::CreateClientTlsPolicyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networksecurity::v1::ClientTlsPolicy > >

virtual UpdateClientTlsPolicy(google::cloud::networksecurity::v1::UpdateClientTlsPolicyRequest const &)

Parameter
Name Description
request google::cloud::networksecurity::v1::UpdateClientTlsPolicyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networksecurity::v1::ClientTlsPolicy > >

virtual DeleteClientTlsPolicy(google::cloud::networksecurity::v1::DeleteClientTlsPolicyRequest const &)

Parameter
Name Description
request google::cloud::networksecurity::v1::DeleteClientTlsPolicyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networksecurity::v1::OperationMetadata > >