1.2.0 (latest) 1.1.0 1.0.0

    [BindServiceMethod(typeof(LintingService), "BindService")]
    public abstract class LintingService.LintingServiceBase

Reference documentation and code samples for the API hub v1 API class LintingService.LintingServiceBase.

Base class for server-side implementations of LintingService

## Inheritance

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

## 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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

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

## Assembly

Google.Cloud.ApiHub.V1.dll

## Methods

### GetStyleGuide(GetStyleGuideRequest, ServerCallContext)

    public virtual Task<StyleGuide> GetStyleGuide(GetStyleGuideRequest request, ServerCallContext context)

Get the style guide being used for linting.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetStyleGuideRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskStyleGuide` | The response to send back to the client (wrapped by a task). |

### GetStyleGuideContents(GetStyleGuideContentsRequest, ServerCallContext)

    public virtual Task<StyleGuideContents> GetStyleGuideContents(GetStyleGuideContentsRequest request, ServerCallContext context)

Get the contents of the style guide.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetStyleGuideContentsRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskStyleGuideContents` | The response to send back to the client (wrapped by a task). |

### LintSpec(LintSpecRequest, ServerCallContext)

    public virtual Task<Empty> LintSpec(LintSpecRequest request, ServerCallContext context)

Lints the requested spec and updates the corresponding API Spec with the
lint response. This lint response will be available in all subsequent
Get and List Spec calls to Core service.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `LintSpecRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskEmpty` | The response to send back to the client (wrapped by a task). |

### UpdateStyleGuide(UpdateStyleGuideRequest, ServerCallContext)

    public virtual Task<StyleGuide> UpdateStyleGuide(UpdateStyleGuideRequest request, ServerCallContext context)

Update the styleGuide to be used for liniting in by API hub.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateStyleGuideRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskStyleGuide` | The response to send back to the client (wrapped by a task). |