Class FirewallsConnection (2.33.0-rc)

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 DeleteFirewall(google::cloud::cpp::compute::firewalls::v1::DeleteFirewallRequest const &)

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

virtual DeleteFirewall(NoAwaitTag, google::cloud::cpp::compute::firewalls::v1::DeleteFirewallRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::cpp::compute::firewalls::v1::DeleteFirewallRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::Operation >

virtual DeleteFirewall(google::cloud::cpp::compute::v1::Operation const &)

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

virtual GetFirewall(google::cloud::cpp::compute::firewalls::v1::GetFirewallRequest const &)

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

virtual InsertFirewall(google::cloud::cpp::compute::firewalls::v1::InsertFirewallRequest const &)

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

virtual InsertFirewall(NoAwaitTag, google::cloud::cpp::compute::firewalls::v1::InsertFirewallRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::cpp::compute::firewalls::v1::InsertFirewallRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::Operation >

virtual InsertFirewall(google::cloud::cpp::compute::v1::Operation const &)

Parameter
Name Description
operation google::cloud::cpp::compute::v1::Operation 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 PatchFirewall(google::cloud::cpp::compute::firewalls::v1::PatchFirewallRequest const &)

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

virtual PatchFirewall(NoAwaitTag, google::cloud::cpp::compute::firewalls::v1::PatchFirewallRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::cpp::compute::firewalls::v1::PatchFirewallRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::Operation >

virtual PatchFirewall(google::cloud::cpp::compute::v1::Operation const &)

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

virtual UpdateFirewall(google::cloud::cpp::compute::firewalls::v1::UpdateFirewallRequest const &)

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

virtual UpdateFirewall(NoAwaitTag, google::cloud::cpp::compute::firewalls::v1::UpdateFirewallRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::cpp::compute::firewalls::v1::UpdateFirewallRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::Operation >

virtual UpdateFirewall(google::cloud::cpp::compute::v1::Operation const &)

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