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-04-09 UTC."],[[["The `InstancesSetSecurityPolicyRequest` class, part of the `Google.Cloud.Compute.V1` namespace, is used for setting security policies for instances and is available in version 3.2.0 of the library."],["This class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits members from the base `object` class."],["The `InstancesSetSecurityPolicyRequest` class has two constructors: a default constructor and a constructor that accepts another `InstancesSetSecurityPolicyRequest` object as a parameter."],["Key properties of this class include `HasSecurityPolicy`, which indicates whether a security policy field is set, `NetworkInterfaces`, which contains a list of network interfaces the policy will apply to, and `SecurityPolicy`, which holds the URL to the security policy."],["The latest version of this documentation is version 3.6.0, and there are multiple previous versions available ranging from version 1.0.0 to 3.5.0."]]],[]]