class Google::Apis::NetworkmanagementV1::FirewallInfo
For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a hierarchical firewall policy rule.
Attributes
Possible values: ALLOW, DENY Corresponds to the JSON property `action` @return [String]
Possible values: INGRESS, EGRESS Corresponds to the JSON property `direction` @return [String]
The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules. Corresponds to the JSON property `displayName` @return [String]
The firewall rule's type. Corresponds to the JSON property `firewallRuleType` @return [String]
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules. Corresponds to the JSON property `networkUri` @return [String]
The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules. Corresponds to the JSON property `policy` @return [String]
The priority of the firewall rule. Corresponds to the JSON property `priority` @return [Fixnum]
The target service accounts specified by the firewall rule. Corresponds to the JSON property `targetServiceAccounts` @return [Array<String>]
The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules. Corresponds to the JSON property `uri` @return [String]
Public Class Methods
# File lib/google/apis/networkmanagement_v1/classes.rb, line 647 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/networkmanagement_v1/classes.rb, line 652 def update!(**args) @action = args[:action] if args.key?(:action) @direction = args[:direction] if args.key?(:direction) @display_name = args[:display_name] if args.key?(:display_name) @firewall_rule_type = args[:firewall_rule_type] if args.key?(:firewall_rule_type) @network_uri = args[:network_uri] if args.key?(:network_uri) @policy = args[:policy] if args.key?(:policy) @priority = args[:priority] if args.key?(:priority) @target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts) @target_tags = args[:target_tags] if args.key?(:target_tags) @uri = args[:uri] if args.key?(:uri) end