1.7.0 (latest) 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    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.

Request used by the ServiceLbPolicy method.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CreateServiceLbPolicyRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateServiceLbPolicyRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateServiceLbPolicyRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateServiceLbPolicyRequest](https://docs.cloud.google.com/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](https://docs.cloud.google.com/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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.NetworkServices.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1)

## Assembly

Google.Cloud.NetworkServices.V1.dll

## Constructors

### CreateServiceLbPolicyRequest()

    public CreateServiceLbPolicyRequest()

### CreateServiceLbPolicyRequest(CreateServiceLbPolicyRequest)

    public CreateServiceLbPolicyRequest(CreateServiceLbPolicyRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateServiceLbPolicyRequest` |

## Properties

### Parent

    public string Parent { get; set; }

Required. The parent resource of the ServiceLbPolicy. Must be in the
format `projects/{project}/locations/{location}`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.CreateServiceLbPolicyRequest#Google_Cloud_NetworkServices_V1_CreateServiceLbPolicyRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` |   |

### ServiceLbPolicy

    public ServiceLbPolicy ServiceLbPolicy { get; set; }

Required. ServiceLbPolicy resource to be created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.ServiceLbPolicy` |   |

### ServiceLbPolicyId

    public string ServiceLbPolicyId { get; set; }

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}

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |