Class: Google::Cloud::Compute::V1::AddRuleSecurityPolicyRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#project::String

Returns Project ID for this request.

Returns:

  • (::String)

    Project ID for this request.



630
631
632
633
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 630

class AddRuleSecurityPolicyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#security_policy::String

Returns Name of the security policy to update.

Returns:

  • (::String)

    Name of the security policy to update.



630
631
632
633
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 630

class AddRuleSecurityPolicyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#security_policy_rule_resource::Google::Cloud::Compute::V1::SecurityPolicyRule

Returns The body resource for this request.

Returns:



630
631
632
633
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 630

class AddRuleSecurityPolicyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#validate_only::Boolean

Returns If true, the request will not be committed.

Returns:

  • (::Boolean)

    If true, the request will not be committed.



630
631
632
633
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 630

class AddRuleSecurityPolicyRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end