public sealed class InstancesSetSecurityPolicyRequest : IMessage<InstancesSetSecurityPolicyRequest>, IEquatable<InstancesSetSecurityPolicyRequest>, IDeepCloneable<InstancesSetSecurityPolicyRequest>, IBufferMessage, IMessage
public RepeatedField<string> NetworkInterfaces { get; }
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version available for `InstancesSetSecurityPolicyRequest` is 3.6.0, as seen in the provided list of versioned links."],["`InstancesSetSecurityPolicyRequest` is a class used for managing security policies for compute instances within the Google Cloud environment, inheriting from `object` and implementing several interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["This class offers methods for setting and managing security policies, including adding a security policy to an instance via a full or partial URL, or removing it by setting the string to empty."],["It contains properties such as `HasSecurityPolicy`, `NetworkInterfaces`, and `SecurityPolicy` which allow checking if a security policy is set, selecting the specific network interface to apply it to, and then setting the security policy respectively."],["The current page's version is 2.13.0, which also has a corresponding link to the documentation."]]],[]]