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 for `InstancesSetSecurityPolicyRequest` is 3.6.0, with several older versions available, ranging down to 1.0.0."],["`InstancesSetSecurityPolicyRequest` is a class in the `Google.Cloud.Compute.V1` namespace, located within the `Google.Cloud.Compute.V1.dll` assembly, that inherits from `object` and implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["This class has properties like `HasSecurityPolicy`, `NetworkInterfaces`, and `SecurityPolicy`, where `SecurityPolicy` allows adding or removing a security policy via full or partial URL, and `NetworkInterfaces` specifies the interfaces to which it applies."],["The class `InstancesSetSecurityPolicyRequest` has 2 constructors, one is a default constructor, and the second is used to initialize a new instance of the class based on an existing instance of itself."],["The `InstancesSetSecurityPolicyRequest` class can be used to get its hashcode, its type, and return a string representation of itself, as it inherits these members from the `object` type."]]],[]]