Class FirewallsConnection (2.26.0)

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

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

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

Parameters
Name Description
ExperimentalTag
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(ExperimentalTag, NoAwaitTag, google::cloud::cpp::compute::firewalls::v1::InsertFirewallRequest const &)

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

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

Parameters
Name Description
ExperimentalTag
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(ExperimentalTag, NoAwaitTag, google::cloud::cpp::compute::firewalls::v1::PatchFirewallRequest const &)

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

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

Parameters
Name Description
ExperimentalTag
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(ExperimentalTag, NoAwaitTag, google::cloud::cpp::compute::firewalls::v1::UpdateFirewallRequest const &)

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

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

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