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."],[[["This webpage provides documentation for the `InstancesSetSecurityPolicyRequest` class within the Google.Cloud.Compute.V1 namespace, detailing its use in managing security policies for instances."],["The latest version documented is 3.6.0, with a comprehensive list of previous versions from 3.5.0 down to 1.0.0 also available for reference."],["`InstancesSetSecurityPolicyRequest` implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, for advanced usage."],["The class provides methods to interact with instances security policies through the properties `HasSecurityPolicy`, `NetworkInterfaces` and `SecurityPolicy`, which are all documented in detail."],["The provided documentation is part of the .NET reference and is located in the assembly `Google.Cloud.Compute.V1.dll` and is used to implement changes in instances' security policies."]]],[]]