Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy (v1.4.0)

Stay organized with collections Save and categorize content based on your preferences.

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.

#rules

def rules() -> ::Array<::Google::Cloud::Compute::V1::FirewallPolicyRule>
Returns

#rules=

def rules=(value) -> ::Array<::Google::Cloud::Compute::V1::FirewallPolicyRule>
Parameter
Returns

#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. 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. 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. Check the Type enum for the list of possible values.