Class: Google::Apis::DeploymentmanagerV2::FirewallPolicyRuleOperationMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FirewallPolicyRuleOperationMetadata

Returns a new instance of FirewallPolicyRuleOperationMetadata.



685
686
687
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 685

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

Instance Attribute Details

#allocated_priorityFixnum

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

Returns:

  • (Fixnum)


683
684
685
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 683

def allocated_priority
  @allocated_priority
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



690
691
692
# File 'lib/google/apis/deploymentmanager_v2/classes.rb', line 690

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