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-24 UTC."],[[["The content focuses on the `InstancesSetSecurityPolicyRequest` class within the `Google.Cloud.Compute.V1` namespace, specifically for .NET."],["This class has multiple versions, ranging from version 1.0.0 to the latest version 3.6.0, which are all linked to in this content."],["The `InstancesSetSecurityPolicyRequest` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["Key properties of the `InstancesSetSecurityPolicyRequest` class include `HasSecurityPolicy`, `NetworkInterfaces`, and `SecurityPolicy`, each serving specific functions related to security policy management."],["It is used to set a security policy for network interfaces, allowing users to add or remove security policies with the `SecurityPolicy` property, where an empty string will remove the associated security policy."]]],[]]