Class Google::Cloud::Compute::V1::GetRuleSecurityPolicyRequest (v1.1.0)

A request message for SecurityPolicies.GetRule. See the method description for details.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#priority

def priority() -> ::Integer
Returns
  • (::Integer) — The priority of the rule to get from the security policy.

#priority=

def priority=(value) -> ::Integer
Parameter
  • value (::Integer) — The priority of the rule to get from the security policy.
Returns
  • (::Integer) — The priority of the rule to get from the security policy.

#project

def project() -> ::String
Returns
  • (::String) — Project ID for this request.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — Project ID for this request.
Returns
  • (::String) — Project ID for this request.

#security_policy

def security_policy() -> ::String
Returns
  • (::String) — Name of the security policy to which the queried rule belongs.

#security_policy=

def security_policy=(value) -> ::String
Parameter
  • value (::String) — Name of the security policy to which the queried rule belongs.
Returns
  • (::String) — Name of the security policy to which the queried rule belongs.