# Enterprise Knowledge Graph v1 API - Class LookupPublicKgRequest (1.0.0-beta05)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-beta05 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EnterpriseKnowledgeGraph.V1/latest/Google.Cloud.EnterpriseKnowledgeGraph.V1.LookupPublicKgRequest)
- [1.0.0-beta04](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.EnterpriseKnowledgeGraph.V1/1.0.0-beta04/Google.Cloud.EnterpriseKnowledgeGraph.V1.LookupPublicKgRequest)

    public sealed class LookupPublicKgRequest : IMessage<LookupPublicKgRequest>, IEquatable<LookupPublicKgRequest>, IDeepCloneable<LookupPublicKgRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Enterprise Knowledge Graph v1 API class LookupPublicKgRequest.

Request message for
\[EnterpriseKnowledgeGraphService.LookupPublicKg\]\[google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.LookupPublicKg\].

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.EnterpriseKnowledgeGraph.V1.dll

## Constructors

### LookupPublicKgRequest()

    public LookupPublicKgRequest()

### LookupPublicKgRequest(LookupPublicKgRequest)

    public LookupPublicKgRequest(LookupPublicKgRequest other)

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

## Properties

### Ids

    public RepeatedField<string> Ids { get; }

Required. The list of entity ids to be used for lookup.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Languages

    public RepeatedField<string> Languages { get; }

The list of language codes (defined in ISO 693) to run the query with,
e.g. 'en'.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Parent

    public string Parent { get; set; }

Required. The name of the Entity's parent resource.
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.EnterpriseKnowledgeGraph.V1/latest/Google.Cloud.EnterpriseKnowledgeGraph.V1.LookupPublicKgRequest#Google_Cloud_EnterpriseKnowledgeGraph_V1_LookupPublicKgRequest_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` |   |