Class FirewallsConnection (2.15.1)

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

To create a concrete instance, see MakeFirewallsConnection().

For mocking, see compute_firewalls_v1_mocks::MockFirewallsConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual DeleteFirewalls(google::cloud::cpp::compute::firewalls::v1::DeleteFirewallsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::firewalls::v1::DeleteFirewallsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual GetFirewalls(google::cloud::cpp::compute::firewalls::v1::GetFirewallsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::firewalls::v1::GetFirewallsRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::Firewall >

virtual InsertFirewalls(google::cloud::cpp::compute::firewalls::v1::InsertFirewallsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::firewalls::v1::InsertFirewallsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual ListFirewalls(google::cloud::cpp::compute::firewalls::v1::ListFirewallsRequest)

Parameter
Name Description
request google::cloud::cpp::compute::firewalls::v1::ListFirewallsRequest
Returns
Type Description
StreamRange< google::cloud::cpp::compute::v1::Firewall >

virtual PatchFirewalls(google::cloud::cpp::compute::firewalls::v1::PatchFirewallsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::firewalls::v1::PatchFirewallsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual UpdateFirewalls(google::cloud::cpp::compute::firewalls::v1::UpdateFirewallsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::firewalls::v1::UpdateFirewallsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >