Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#display_name
def display_name() -> ::String
Returns
- (::String) — [Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — [Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
Returns
- (::String) — [Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
#name
def name() -> ::String
Returns
- (::String) — [Output Only] The name of the firewall policy.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — [Output Only] The name of the firewall policy.
Returns
- (::String) — [Output Only] The name of the firewall policy.
#priority
def priority() -> ::Integer
Returns
- (::Integer) — [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
#priority=
def priority=(value) -> ::Integer
Parameter
- value (::Integer) — [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
Returns
- (::Integer) — [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
#rules
def rules() -> ::Array<::Google::Cloud::Compute::V1::FirewallPolicyRule>
Returns
- (::Array<::Google::Cloud::Compute::V1::FirewallPolicyRule>) — [Output Only] The rules that apply to the network.
#rules=
def rules=(value) -> ::Array<::Google::Cloud::Compute::V1::FirewallPolicyRule>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::FirewallPolicyRule>) — [Output Only] The rules that apply to the network.
Returns
- (::Array<::Google::Cloud::Compute::V1::FirewallPolicyRule>) — [Output Only] The rules that apply to the network.
#short_name
def short_name() -> ::String
Returns
- (::String) — [Output Only] The short name of the firewall policy.
#short_name=
def short_name=(value) -> ::String
Parameter
- value (::String) — [Output Only] The short name of the firewall policy.
Returns
- (::String) — [Output Only] The short name of the firewall policy.
#type
def type() -> ::String
Returns
- (::String) — [Output Only] The type of the firewall policy. Check the Type enum for the list of possible values.
#type=
def type=(value) -> ::String
Parameter
- value (::String) — [Output Only] The type of the firewall policy. Check the Type enum for the list of possible values.
Returns
- (::String) — [Output Only] The type of the firewall policy. Check the Type enum for the list of possible values.