Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::PatchRuleSecurityPolicyRequest (v2.13.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::PatchRuleSecurityPolicyRequest.

A request message for SecurityPolicies.PatchRule. 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 patch.

#priority=

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

#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 update.

#security_policy=

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

#security_policy_rule_resource

def security_policy_rule_resource() -> ::Google::Cloud::Compute::V1::SecurityPolicyRule
Returns

#security_policy_rule_resource=

def security_policy_rule_resource=(value) -> ::Google::Cloud::Compute::V1::SecurityPolicyRule
Parameter
Returns

#update_mask

def update_mask() -> ::String
Returns
  • (::String) — Indicates fields to be cleared as part of this request.

#update_mask=

def update_mask=(value) -> ::String
Parameter
  • value (::String) — Indicates fields to be cleared as part of this request.
Returns
  • (::String) — Indicates fields to be cleared as part of this request.

#validate_only

def validate_only() -> ::Boolean
Returns
  • (::Boolean) — If true, the request will not be committed.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, the request will not be committed.
Returns
  • (::Boolean) — If true, the request will not be committed.