public sealed class ForwardingRuleServiceDirectoryRegistration : IMessage<ForwardingRuleServiceDirectoryRegistration>, IEquatable<ForwardingRuleServiceDirectoryRegistration>, IDeepCloneable<ForwardingRuleServiceDirectoryRegistration>, IBufferMessage, IMessage
Describes the auto-registration of the Forwarding Rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this Forwarding Rule.
public string ServiceDirectoryRegion { get; set; }
[Optional] Service Directory region to register this global forwarding rule under. Default to "us-central1". Only used for PSC for Google APIs. All PSC for Google APIs Forwarding Rules on the same network should use the same Service Directory region.
[[["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 \u003ccode\u003eForwardingRuleServiceDirectoryRegistration\u003c/code\u003e class describes the auto-registration of a Forwarding Rule to a Service Directory, ensuring the region and project of the generated Service Directory resource match those of the Forwarding Rule.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace within the Google.Cloud.Compute.V1.dll assembly and is available across multiple versions, with 3.6.0 being the latest version, while 1.0.0 being the oldest listed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eForwardingRuleServiceDirectoryRegistration\u003c/code\u003e class implements several 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\u003eThe class includes properties for managing the Service Directory registration, such as \u003ccode\u003eNamespace\u003c/code\u003e, \u003ccode\u003eService\u003c/code\u003e, and \u003ccode\u003eServiceDirectoryRegion\u003c/code\u003e, along with boolean properties like \u003ccode\u003eHasNamespace\u003c/code\u003e, \u003ccode\u003eHasService\u003c/code\u003e, and \u003ccode\u003eHasServiceDirectoryRegion\u003c/code\u003e to check if each field is set.\u003c/p\u003e\n"],["\u003cp\u003eYou can create an instance of the \u003ccode\u003eForwardingRuleServiceDirectoryRegistration\u003c/code\u003e class either by using the default constructor or by providing an existing \u003ccode\u003eForwardingRuleServiceDirectoryRegistration\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]