Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy (v2.13.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.

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 instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.

#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 instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
Returns
  • (::Array<::Google::Cloud::Compute::V1::FirewallPolicyRule>) — [Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.

#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. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. 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. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.
Returns
  • (::String) — [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.