Class: Google::Cloud::NetworkManagement::V1::FirewallInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networkmanagement/v1/trace.rb

Overview

For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a hierarchical firewall policy rule.

Defined Under Namespace

Modules: FirewallRuleType

Instance Attribute Summary collapse

Instance Attribute Details

#action::String

Returns Possible values: ALLOW, DENY.

Returns:

  • (::String)

    Possible values: ALLOW, DENY



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 324

class FirewallInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The firewall rule's type.
  module FirewallRuleType
    # Unspecified type.
    FIREWALL_RULE_TYPE_UNSPECIFIED = 0

    # Hierarchical firewall policy rule. For details, see
    # [Hierarchical firewall policies
    # overview](https://cloud.google.com/vpc/docs/firewall-policies).
    HIERARCHICAL_FIREWALL_POLICY_RULE = 1

    # VPC firewall rule. For details, see
    # [VPC firewall rules
    # overview](https://cloud.google.com/vpc/docs/firewalls).
    VPC_FIREWALL_RULE = 2

    # Implied VPC firewall rule. For details, see
    # [Implied
    # rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
    IMPLIED_VPC_FIREWALL_RULE = 3

    # Implicit firewall rules that are managed by serverless VPC access to
    # allow ingress access. They are not visible in the Google Cloud console.
    # For details, see [VPC connector's implicit
    # rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
    SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4

    # Global network firewall policy rule.
    # For details, see [Network firewall
    # policies](https://cloud.google.com/vpc/docs/network-firewall-policies).
    NETWORK_FIREWALL_POLICY_RULE = 5

    # Regional network firewall policy rule.
    # For details, see [Regional network firewall
    # policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).
    NETWORK_REGIONAL_FIREWALL_POLICY_RULE = 6
  end
end

#direction::String

Returns Possible values: INGRESS, EGRESS.

Returns:

  • (::String)

    Possible values: INGRESS, EGRESS



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 324

class FirewallInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The firewall rule's type.
  module FirewallRuleType
    # Unspecified type.
    FIREWALL_RULE_TYPE_UNSPECIFIED = 0

    # Hierarchical firewall policy rule. For details, see
    # [Hierarchical firewall policies
    # overview](https://cloud.google.com/vpc/docs/firewall-policies).
    HIERARCHICAL_FIREWALL_POLICY_RULE = 1

    # VPC firewall rule. For details, see
    # [VPC firewall rules
    # overview](https://cloud.google.com/vpc/docs/firewalls).
    VPC_FIREWALL_RULE = 2

    # Implied VPC firewall rule. For details, see
    # [Implied
    # rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
    IMPLIED_VPC_FIREWALL_RULE = 3

    # Implicit firewall rules that are managed by serverless VPC access to
    # allow ingress access. They are not visible in the Google Cloud console.
    # For details, see [VPC connector's implicit
    # rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
    SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4

    # Global network firewall policy rule.
    # For details, see [Network firewall
    # policies](https://cloud.google.com/vpc/docs/network-firewall-policies).
    NETWORK_FIREWALL_POLICY_RULE = 5

    # Regional network firewall policy rule.
    # For details, see [Regional network firewall
    # policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).
    NETWORK_REGIONAL_FIREWALL_POLICY_RULE = 6
  end
end

#display_name::String

Returns The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.

Returns:

  • (::String)

    The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 324

class FirewallInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The firewall rule's type.
  module FirewallRuleType
    # Unspecified type.
    FIREWALL_RULE_TYPE_UNSPECIFIED = 0

    # Hierarchical firewall policy rule. For details, see
    # [Hierarchical firewall policies
    # overview](https://cloud.google.com/vpc/docs/firewall-policies).
    HIERARCHICAL_FIREWALL_POLICY_RULE = 1

    # VPC firewall rule. For details, see
    # [VPC firewall rules
    # overview](https://cloud.google.com/vpc/docs/firewalls).
    VPC_FIREWALL_RULE = 2

    # Implied VPC firewall rule. For details, see
    # [Implied
    # rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
    IMPLIED_VPC_FIREWALL_RULE = 3

    # Implicit firewall rules that are managed by serverless VPC access to
    # allow ingress access. They are not visible in the Google Cloud console.
    # For details, see [VPC connector's implicit
    # rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
    SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4

    # Global network firewall policy rule.
    # For details, see [Network firewall
    # policies](https://cloud.google.com/vpc/docs/network-firewall-policies).
    NETWORK_FIREWALL_POLICY_RULE = 5

    # Regional network firewall policy rule.
    # For details, see [Regional network firewall
    # policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).
    NETWORK_REGIONAL_FIREWALL_POLICY_RULE = 6
  end
end

#firewall_rule_type::Google::Cloud::NetworkManagement::V1::FirewallInfo::FirewallRuleType

Returns The firewall rule's type.



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 324

class FirewallInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The firewall rule's type.
  module FirewallRuleType
    # Unspecified type.
    FIREWALL_RULE_TYPE_UNSPECIFIED = 0

    # Hierarchical firewall policy rule. For details, see
    # [Hierarchical firewall policies
    # overview](https://cloud.google.com/vpc/docs/firewall-policies).
    HIERARCHICAL_FIREWALL_POLICY_RULE = 1

    # VPC firewall rule. For details, see
    # [VPC firewall rules
    # overview](https://cloud.google.com/vpc/docs/firewalls).
    VPC_FIREWALL_RULE = 2

    # Implied VPC firewall rule. For details, see
    # [Implied
    # rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
    IMPLIED_VPC_FIREWALL_RULE = 3

    # Implicit firewall rules that are managed by serverless VPC access to
    # allow ingress access. They are not visible in the Google Cloud console.
    # For details, see [VPC connector's implicit
    # rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
    SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4

    # Global network firewall policy rule.
    # For details, see [Network firewall
    # policies](https://cloud.google.com/vpc/docs/network-firewall-policies).
    NETWORK_FIREWALL_POLICY_RULE = 5

    # Regional network firewall policy rule.
    # For details, see [Regional network firewall
    # policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).
    NETWORK_REGIONAL_FIREWALL_POLICY_RULE = 6
  end
end

#network_uri::String

Returns The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.

Returns:

  • (::String)

    The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 324

class FirewallInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The firewall rule's type.
  module FirewallRuleType
    # Unspecified type.
    FIREWALL_RULE_TYPE_UNSPECIFIED = 0

    # Hierarchical firewall policy rule. For details, see
    # [Hierarchical firewall policies
    # overview](https://cloud.google.com/vpc/docs/firewall-policies).
    HIERARCHICAL_FIREWALL_POLICY_RULE = 1

    # VPC firewall rule. For details, see
    # [VPC firewall rules
    # overview](https://cloud.google.com/vpc/docs/firewalls).
    VPC_FIREWALL_RULE = 2

    # Implied VPC firewall rule. For details, see
    # [Implied
    # rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
    IMPLIED_VPC_FIREWALL_RULE = 3

    # Implicit firewall rules that are managed by serverless VPC access to
    # allow ingress access. They are not visible in the Google Cloud console.
    # For details, see [VPC connector's implicit
    # rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
    SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4

    # Global network firewall policy rule.
    # For details, see [Network firewall
    # policies](https://cloud.google.com/vpc/docs/network-firewall-policies).
    NETWORK_FIREWALL_POLICY_RULE = 5

    # Regional network firewall policy rule.
    # For details, see [Regional network firewall
    # policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).
    NETWORK_REGIONAL_FIREWALL_POLICY_RULE = 6
  end
end

#policy::String

Returns The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.

Returns:

  • (::String)

    The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 324

class FirewallInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The firewall rule's type.
  module FirewallRuleType
    # Unspecified type.
    FIREWALL_RULE_TYPE_UNSPECIFIED = 0

    # Hierarchical firewall policy rule. For details, see
    # [Hierarchical firewall policies
    # overview](https://cloud.google.com/vpc/docs/firewall-policies).
    HIERARCHICAL_FIREWALL_POLICY_RULE = 1

    # VPC firewall rule. For details, see
    # [VPC firewall rules
    # overview](https://cloud.google.com/vpc/docs/firewalls).
    VPC_FIREWALL_RULE = 2

    # Implied VPC firewall rule. For details, see
    # [Implied
    # rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
    IMPLIED_VPC_FIREWALL_RULE = 3

    # Implicit firewall rules that are managed by serverless VPC access to
    # allow ingress access. They are not visible in the Google Cloud console.
    # For details, see [VPC connector's implicit
    # rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
    SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4

    # Global network firewall policy rule.
    # For details, see [Network firewall
    # policies](https://cloud.google.com/vpc/docs/network-firewall-policies).
    NETWORK_FIREWALL_POLICY_RULE = 5

    # Regional network firewall policy rule.
    # For details, see [Regional network firewall
    # policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).
    NETWORK_REGIONAL_FIREWALL_POLICY_RULE = 6
  end
end

#priority::Integer

Returns The priority of the firewall rule.

Returns:

  • (::Integer)

    The priority of the firewall rule.



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 324

class FirewallInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The firewall rule's type.
  module FirewallRuleType
    # Unspecified type.
    FIREWALL_RULE_TYPE_UNSPECIFIED = 0

    # Hierarchical firewall policy rule. For details, see
    # [Hierarchical firewall policies
    # overview](https://cloud.google.com/vpc/docs/firewall-policies).
    HIERARCHICAL_FIREWALL_POLICY_RULE = 1

    # VPC firewall rule. For details, see
    # [VPC firewall rules
    # overview](https://cloud.google.com/vpc/docs/firewalls).
    VPC_FIREWALL_RULE = 2

    # Implied VPC firewall rule. For details, see
    # [Implied
    # rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
    IMPLIED_VPC_FIREWALL_RULE = 3

    # Implicit firewall rules that are managed by serverless VPC access to
    # allow ingress access. They are not visible in the Google Cloud console.
    # For details, see [VPC connector's implicit
    # rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
    SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4

    # Global network firewall policy rule.
    # For details, see [Network firewall
    # policies](https://cloud.google.com/vpc/docs/network-firewall-policies).
    NETWORK_FIREWALL_POLICY_RULE = 5

    # Regional network firewall policy rule.
    # For details, see [Regional network firewall
    # policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).
    NETWORK_REGIONAL_FIREWALL_POLICY_RULE = 6
  end
end

#target_service_accounts::Array<::String>

Returns The target service accounts specified by the firewall rule.

Returns:

  • (::Array<::String>)

    The target service accounts specified by the firewall rule.



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 324

class FirewallInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The firewall rule's type.
  module FirewallRuleType
    # Unspecified type.
    FIREWALL_RULE_TYPE_UNSPECIFIED = 0

    # Hierarchical firewall policy rule. For details, see
    # [Hierarchical firewall policies
    # overview](https://cloud.google.com/vpc/docs/firewall-policies).
    HIERARCHICAL_FIREWALL_POLICY_RULE = 1

    # VPC firewall rule. For details, see
    # [VPC firewall rules
    # overview](https://cloud.google.com/vpc/docs/firewalls).
    VPC_FIREWALL_RULE = 2

    # Implied VPC firewall rule. For details, see
    # [Implied
    # rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
    IMPLIED_VPC_FIREWALL_RULE = 3

    # Implicit firewall rules that are managed by serverless VPC access to
    # allow ingress access. They are not visible in the Google Cloud console.
    # For details, see [VPC connector's implicit
    # rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
    SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4

    # Global network firewall policy rule.
    # For details, see [Network firewall
    # policies](https://cloud.google.com/vpc/docs/network-firewall-policies).
    NETWORK_FIREWALL_POLICY_RULE = 5

    # Regional network firewall policy rule.
    # For details, see [Regional network firewall
    # policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).
    NETWORK_REGIONAL_FIREWALL_POLICY_RULE = 6
  end
end

#target_tags::Array<::String>

Returns The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.

Returns:

  • (::Array<::String>)

    The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 324

class FirewallInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The firewall rule's type.
  module FirewallRuleType
    # Unspecified type.
    FIREWALL_RULE_TYPE_UNSPECIFIED = 0

    # Hierarchical firewall policy rule. For details, see
    # [Hierarchical firewall policies
    # overview](https://cloud.google.com/vpc/docs/firewall-policies).
    HIERARCHICAL_FIREWALL_POLICY_RULE = 1

    # VPC firewall rule. For details, see
    # [VPC firewall rules
    # overview](https://cloud.google.com/vpc/docs/firewalls).
    VPC_FIREWALL_RULE = 2

    # Implied VPC firewall rule. For details, see
    # [Implied
    # rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
    IMPLIED_VPC_FIREWALL_RULE = 3

    # Implicit firewall rules that are managed by serverless VPC access to
    # allow ingress access. They are not visible in the Google Cloud console.
    # For details, see [VPC connector's implicit
    # rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
    SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4

    # Global network firewall policy rule.
    # For details, see [Network firewall
    # policies](https://cloud.google.com/vpc/docs/network-firewall-policies).
    NETWORK_FIREWALL_POLICY_RULE = 5

    # Regional network firewall policy rule.
    # For details, see [Regional network firewall
    # policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).
    NETWORK_REGIONAL_FIREWALL_POLICY_RULE = 6
  end
end

#uri::String

Returns The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.

Returns:

  • (::String)

    The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.



324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
# File 'proto_docs/google/cloud/networkmanagement/v1/trace.rb', line 324

class FirewallInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The firewall rule's type.
  module FirewallRuleType
    # Unspecified type.
    FIREWALL_RULE_TYPE_UNSPECIFIED = 0

    # Hierarchical firewall policy rule. For details, see
    # [Hierarchical firewall policies
    # overview](https://cloud.google.com/vpc/docs/firewall-policies).
    HIERARCHICAL_FIREWALL_POLICY_RULE = 1

    # VPC firewall rule. For details, see
    # [VPC firewall rules
    # overview](https://cloud.google.com/vpc/docs/firewalls).
    VPC_FIREWALL_RULE = 2

    # Implied VPC firewall rule. For details, see
    # [Implied
    # rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).
    IMPLIED_VPC_FIREWALL_RULE = 3

    # Implicit firewall rules that are managed by serverless VPC access to
    # allow ingress access. They are not visible in the Google Cloud console.
    # For details, see [VPC connector's implicit
    # rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).
    SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4

    # Global network firewall policy rule.
    # For details, see [Network firewall
    # policies](https://cloud.google.com/vpc/docs/network-firewall-policies).
    NETWORK_FIREWALL_POLICY_RULE = 5

    # Regional network firewall policy rule.
    # For details, see [Regional network firewall
    # policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).
    NETWORK_REGIONAL_FIREWALL_POLICY_RULE = 6
  end
end