A request message for SecurityPolicies.AddRule. See the method description for details.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#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
- (::Google::Cloud::Compute::V1::SecurityPolicyRule) — The body resource for this request
#security_policy_rule_resource=
def security_policy_rule_resource=(value) -> ::Google::Cloud::Compute::V1::SecurityPolicyRule
Parameter
- value (::Google::Cloud::Compute::V1::SecurityPolicyRule) — The body resource for this request
Returns
- (::Google::Cloud::Compute::V1::SecurityPolicyRule) — The body resource for this request