#include <firewall.h>
◆ FirewallDenied() [1/2]
google_compute_api::Firewall::FirewallDenied::FirewallDenied |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ FirewallDenied() [2/2]
google_compute_api::Firewall::FirewallDenied::FirewallDenied |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~FirewallDenied()
google_compute_api::Firewall::FirewallDenied::~FirewallDenied |
( |
| ) |
|
|
virtual |
◆ clear_ipp_rotocol()
void google_compute_api::Firewall::FirewallDenied::clear_ipp_rotocol |
( |
| ) |
|
|
inline |
Clears the 'IPProtocol
' attribute.
◆ clear_ports()
void google_compute_api::Firewall::FirewallDenied::clear_ports |
( |
| ) |
|
|
inline |
Clears the 'ports
' attribute.
◆ get_ipp_rotocol()
const StringPiece google_compute_api::Firewall::FirewallDenied::get_ipp_rotocol |
( |
| ) |
const |
|
inline |
Get the value of the 'IPProtocol
' attribute.
◆ get_ports()
const client::JsonCppArray<string > google_compute_api::Firewall::FirewallDenied::get_ports |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'ports
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::Firewall::FirewallDenied::GetTypeName |
( |
| ) |
const |
|
inline |
Returns a string denoting the type of this data object.
- Returns
google_compute_api::FirewallDenied
◆ has_ipp_rotocol()
bool google_compute_api::Firewall::FirewallDenied::has_ipp_rotocol |
( |
| ) |
const |
|
inline |
Determine if the 'IPProtocol
' attribute was set.
- Returns
- true if the '
IPProtocol
' attribute was set.
◆ has_ports()
bool google_compute_api::Firewall::FirewallDenied::has_ports |
( |
| ) |
const |
|
inline |
Determine if the 'ports
' attribute was set.
- Returns
- true if the '
ports
' attribute was set.
◆ mutable_ports()
client::JsonCppArray<string > google_compute_api::Firewall::FirewallDenied::mutable_ports |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'ports
' property.
An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port.
Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_ipp_rotocol()
void google_compute_api::Firewall::FirewallDenied::set_ipp_rotocol |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'IPProtocol
' attribute.
The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
- Parameters
-
The documentation for this class was generated from the following files:
- google/compute_api/firewall.h
- google/compute_api/firewall.cc