# GrpcActionV1 Properties

- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Type: [GrpcActionV1](/reference/api/csharp/aspire.hosting.kubernetes/grpcactionv1.md)
- Kind: `Properties`
- Members: `2`

GRPCActionV1 represents a GRPC-based action within a Kubernetes resource.

## Port

- Name: `Port`
- Modifiers: `get; set`
- Returns: `int`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/GRPCActionV1.cs)

Gets or sets the port number used for the gRPC service communication.

```csharp
public int Port { get; set; }
```

## Service

- Name: `Service`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/GRPCActionV1.cs)

Gets or sets the name of the GRPC service to be targeted.

```csharp
public string Service { get; set; }
```
