Class: Google::Apis::ComputeAlpha::FirewallPolicyRuleOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Overview

Metadata for FirewallPolicyRule operations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FirewallPolicyRuleOperationMetadata

Returns a new instance of FirewallPolicyRuleOperationMetadata.



16064
16065
16066
# File 'lib/google/apis/compute_alpha/classes.rb', line 16064

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#allocated_priorityFixnum

Output only. [Output Only] The priority allocated for the firewall policy rule if query parameters specified minPriority/maxPriority. Corresponds to the JSON property allocatedPriority

Returns:

  • (Fixnum)


16062
16063
16064
# File 'lib/google/apis/compute_alpha/classes.rb', line 16062

def allocated_priority
  @allocated_priority
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16069
16070
16071
# File 'lib/google/apis/compute_alpha/classes.rb', line 16069

def update!(**args)
  @allocated_priority = args[:allocated_priority] if args.key?(:allocated_priority)
end