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-31 UTC."],[[["Version 3.6.0 is the latest available version, while the current documentation is for version 3.4.0 of `Google.Cloud.Compute.V1.InstancesSetSecurityPolicyRequest`."],["The `InstancesSetSecurityPolicyRequest` class, which inherits from `object` and implements several interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, is used for managing security policies on Compute instances."],["This class offers two constructors: a default constructor `InstancesSetSecurityPolicyRequest()` and another `InstancesSetSecurityPolicyRequest(InstancesSetSecurityPolicyRequest other)` that copies an existing instance."],["The `InstancesSetSecurityPolicyRequest` class has properties including `HasSecurityPolicy`, `NetworkInterfaces`, and `SecurityPolicy` which allow users to check if a security policy is set, get the list of network interfaces, and manipulate security policies respectively."],["There are multiple versions of the documentation for `Google.Cloud.Compute.V1.InstancesSetSecurityPolicyRequest` starting from version 1.0.0 all the way to the latest 3.6.0."]]],[]]