Class: Google::Cloud::Compute::V1::InstancesSetSecurityPolicyRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::InstancesSetSecurityPolicyRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Instance Attribute Summary collapse
-
#network_interfaces ⇒ ::Array<::String>
The network interfaces that the security policy will be applied to.
-
#security_policy ⇒ ::String
A full or partial URL to a security policy to add to this instance.
Instance Attribute Details
#network_interfaces ⇒ ::Array<::String>
Returns The network interfaces that the security policy will be applied to. Network interfaces use the nicN naming format. You can only set a security policy for network interfaces with an access config.
15197 15198 15199 15200 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15197 class InstancesSetSecurityPolicyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#security_policy ⇒ ::String
Returns A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
15197 15198 15199 15200 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 15197 class InstancesSetSecurityPolicyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |