public sealed class CreateServiceLbPolicyRequest : IMessage<CreateServiceLbPolicyRequest>, IEquatable<CreateServiceLbPolicyRequest>, IDeepCloneable<CreateServiceLbPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class CreateServiceLbPolicyRequest.
Required. Short name of the ServiceLbPolicy resource to be created.
E.g. for resource name
projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}.
the id is value of {service_lb_policy_name}
[[["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-07 UTC."],[],[],null,["# Network Services v1 API - Class CreateServiceLbPolicyRequest (1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateServiceLbPolicyRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.2.0/Google.Cloud.NetworkServices.V1.CreateServiceLbPolicyRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.1.0/Google.Cloud.NetworkServices.V1.CreateServiceLbPolicyRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.0.0/Google.Cloud.NetworkServices.V1.CreateServiceLbPolicyRequest) \n\n public sealed class CreateServiceLbPolicyRequest : IMessage\u003cCreateServiceLbPolicyRequest\u003e, IEquatable\u003cCreateServiceLbPolicyRequest\u003e, IDeepCloneable\u003cCreateServiceLbPolicyRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Services v1 API class CreateServiceLbPolicyRequest.\n\nRequest used by the ServiceLbPolicy method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateServiceLbPolicyRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateServiceLbPolicyRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateServiceLbPolicyRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateServiceLbPolicyRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateServiceLbPolicyRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateServiceLbPolicyRequest](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateServiceLbPolicyRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.NetworkServices.V1](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.NetworkServices.V1.dll\n\nConstructors\n------------\n\n### CreateServiceLbPolicyRequest()\n\n public CreateServiceLbPolicyRequest()\n\n### CreateServiceLbPolicyRequest(CreateServiceLbPolicyRequest)\n\n public CreateServiceLbPolicyRequest(CreateServiceLbPolicyRequest other)\n\nProperties\n----------\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent resource of the ServiceLbPolicy. Must be in the\nformat `projects/{project}/locations/{location}`.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateServiceLbPolicyRequest#Google_Cloud_NetworkServices_V1_CreateServiceLbPolicyRequest_Parent) resource name property.\n\n### ServiceLbPolicy\n\n public ServiceLbPolicy ServiceLbPolicy { get; set; }\n\nRequired. ServiceLbPolicy resource to be created.\n\n### ServiceLbPolicyId\n\n public string ServiceLbPolicyId { get; set; }\n\nRequired. Short name of the ServiceLbPolicy resource to be created.\nE.g. for resource name\n`projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.\nthe id is value of {service_lb_policy_name}"]]