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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version for \u003ccode\u003eInstancesSetSecurityPolicyRequest\u003c/code\u003e is 3.6.0, with several older versions available, ranging down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eInstancesSetSecurityPolicyRequest\u003c/code\u003e is a class in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, located within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly, that inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class has properties like \u003ccode\u003eHasSecurityPolicy\u003c/code\u003e, \u003ccode\u003eNetworkInterfaces\u003c/code\u003e, and \u003ccode\u003eSecurityPolicy\u003c/code\u003e, where \u003ccode\u003eSecurityPolicy\u003c/code\u003e allows adding or removing a security policy via full or partial URL, and \u003ccode\u003eNetworkInterfaces\u003c/code\u003e specifies the interfaces to which it applies.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eInstancesSetSecurityPolicyRequest\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstancesSetSecurityPolicyRequest\u003c/code\u003e class can be used to get its hashcode, its type, and return a string representation of itself, as it inherits these members from the \u003ccode\u003eobject\u003c/code\u003e type.\u003c/p\u003e\n"]]],[],null,[]]