1.1.0 (latest) 1.0.0

    public abstract class ReferenceListServiceClient

Reference documentation and code samples for the Chronicle v1 API class ReferenceListServiceClient.

ReferenceListService client wrapper, for convenient use.

## Inheritance

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

## 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)

## Derived Types

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

## Namespace

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

## Assembly

Google.Cloud.Chronicle.V1.dll

## Remarks

ReferenceListService provides an interface for managing reference lists.

## Properties

### DefaultEndpoint

    public static string DefaultEndpoint { get; }

The default endpoint for the ReferenceListService service, which is a host of "chronicle.googleapis.com" and
a port of 443.

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

### DefaultScopes

    public static IReadOnlyList<string> DefaultScopes { get; }

The default ReferenceListService scopes.

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

**Remarks** The default ReferenceListService scopes are:

- <https://www.googleapis.com/auth/chronicle>
- <https://www.googleapis.com/auth/chronicle.readonly>
- <https://www.googleapis.com/auth/cloud-platform>

### GrpcClient

    public virtual ReferenceListService.ReferenceListServiceClient GrpcClient { get; }

The underlying gRPC ReferenceListService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListService.ReferenceListServiceClient` |   |

### ServiceMetadata

    public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

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

## Methods

### Create()

    public static ReferenceListServiceClient Create()

Synchronously creates a [ReferenceListServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListServiceClient) using the default credentials, endpoint and
settings. To specify custom credentials or other settings, use
[ReferenceListServiceClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListServiceClientBuilder).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListServiceClient` | The created [ReferenceListServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListServiceClient). |

### CreateAsync(CancellationToken)

    public static Task<ReferenceListServiceClient> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a [ReferenceListServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListServiceClient) using the default credentials, endpoint
and settings. To specify custom credentials or other settings, use
[ReferenceListServiceClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListServiceClientBuilder).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` The [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use while creating the client. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListServiceClient` | The task representing the created [ReferenceListServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListServiceClient). |

### CreateReferenceList(CreateReferenceListRequest, CallSettings)

    public virtual ReferenceList CreateReferenceList(CreateReferenceListRequest request, CallSettings callSettings = null)

Creates a new reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.CreateReferenceListRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | The RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = ReferenceListServiceClient.Create();
    // Initialize request argument(s)
    CreateReferenceListRequest request = new CreateReferenceListRequest
    {
        ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
        ReferenceList = new ReferenceList(),
        ReferenceListId = "",
    };
    // Make the request
    ReferenceList response = referenceListServiceClient.CreateReferenceList(request);

### CreateReferenceList(InstanceName, ReferenceList, string, CallSettings)

    public virtual ReferenceList CreateReferenceList(InstanceName parent, ReferenceList referenceList, string referenceListId, CallSettings callSettings = null)

Creates a new reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.InstanceName` Required. The parent resource where this reference list will be created. Format: `projects/{project}/locations/{location}/instances/{instance}` |
| `referenceList` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` Required. The reference list to create. |
| `referenceListId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the reference list. This is also the display name for the reference list. It must satisfy the following requirements: - Starts with letter. - Contains only letters, numbers and underscore. - Has length less than 256. - Must be unique. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | The RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = ReferenceListServiceClient.Create();
    // Initialize request argument(s)
    InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    ReferenceList referenceList = new ReferenceList();
    string referenceListId = "";
    // Make the request
    ReferenceList response = referenceListServiceClient.CreateReferenceList(parent, referenceList, referenceListId);

### CreateReferenceList(string, ReferenceList, string, CallSettings)

    public virtual ReferenceList CreateReferenceList(string parent, ReferenceList referenceList, string referenceListId, CallSettings callSettings = null)

Creates a new reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent resource where this reference list will be created. Format: `projects/{project}/locations/{location}/instances/{instance}` |
| `referenceList` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` Required. The reference list to create. |
| `referenceListId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the reference list. This is also the display name for the reference list. It must satisfy the following requirements: - Starts with letter. - Contains only letters, numbers and underscore. - Has length less than 256. - Must be unique. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | The RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = ReferenceListServiceClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
    ReferenceList referenceList = new ReferenceList();
    string referenceListId = "";
    // Make the request
    ReferenceList response = referenceListServiceClient.CreateReferenceList(parent, referenceList, referenceListId);

### CreateReferenceListAsync(CreateReferenceListRequest, CallSettings)

    public virtual Task<ReferenceList> CreateReferenceListAsync(CreateReferenceListRequest request, CallSettings callSettings = null)

Creates a new reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.CreateReferenceListRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateReferenceListRequest request = new CreateReferenceListRequest
    {
        ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
        ReferenceList = new ReferenceList(),
        ReferenceListId = "",
    };
    // Make the request
    ReferenceList response = await referenceListServiceClient.CreateReferenceListAsync(request);

### CreateReferenceListAsync(CreateReferenceListRequest, CancellationToken)

    public virtual Task<ReferenceList> CreateReferenceListAsync(CreateReferenceListRequest request, CancellationToken cancellationToken)

Creates a new reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.CreateReferenceListRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateReferenceListRequest request = new CreateReferenceListRequest
    {
        ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
        ReferenceList = new ReferenceList(),
        ReferenceListId = "",
    };
    // Make the request
    ReferenceList response = await referenceListServiceClient.CreateReferenceListAsync(request);

### CreateReferenceListAsync(InstanceName, ReferenceList, string, CallSettings)

    public virtual Task<ReferenceList> CreateReferenceListAsync(InstanceName parent, ReferenceList referenceList, string referenceListId, CallSettings callSettings = null)

Creates a new reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.InstanceName` Required. The parent resource where this reference list will be created. Format: `projects/{project}/locations/{location}/instances/{instance}` |
| `referenceList` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` Required. The reference list to create. |
| `referenceListId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the reference list. This is also the display name for the reference list. It must satisfy the following requirements: - Starts with letter. - Contains only letters, numbers and underscore. - Has length less than 256. - Must be unique. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    ReferenceList referenceList = new ReferenceList();
    string referenceListId = "";
    // Make the request
    ReferenceList response = await referenceListServiceClient.CreateReferenceListAsync(parent, referenceList, referenceListId);

### CreateReferenceListAsync(InstanceName, ReferenceList, string, CancellationToken)

    public virtual Task<ReferenceList> CreateReferenceListAsync(InstanceName parent, ReferenceList referenceList, string referenceListId, CancellationToken cancellationToken)

Creates a new reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.InstanceName` Required. The parent resource where this reference list will be created. Format: `projects/{project}/locations/{location}/instances/{instance}` |
| `referenceList` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` Required. The reference list to create. |
| `referenceListId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the reference list. This is also the display name for the reference list. It must satisfy the following requirements: - Starts with letter. - Contains only letters, numbers and underscore. - Has length less than 256. - Must be unique. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    ReferenceList referenceList = new ReferenceList();
    string referenceListId = "";
    // Make the request
    ReferenceList response = await referenceListServiceClient.CreateReferenceListAsync(parent, referenceList, referenceListId);

### CreateReferenceListAsync(string, ReferenceList, string, CallSettings)

    public virtual Task<ReferenceList> CreateReferenceListAsync(string parent, ReferenceList referenceList, string referenceListId, CallSettings callSettings = null)

Creates a new reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent resource where this reference list will be created. Format: `projects/{project}/locations/{location}/instances/{instance}` |
| `referenceList` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` Required. The reference list to create. |
| `referenceListId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the reference list. This is also the display name for the reference list. It must satisfy the following requirements: - Starts with letter. - Contains only letters, numbers and underscore. - Has length less than 256. - Must be unique. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
    ReferenceList referenceList = new ReferenceList();
    string referenceListId = "";
    // Make the request
    ReferenceList response = await referenceListServiceClient.CreateReferenceListAsync(parent, referenceList, referenceListId);

### CreateReferenceListAsync(string, ReferenceList, string, CancellationToken)

    public virtual Task<ReferenceList> CreateReferenceListAsync(string parent, ReferenceList referenceList, string referenceListId, CancellationToken cancellationToken)

Creates a new reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent resource where this reference list will be created. Format: `projects/{project}/locations/{location}/instances/{instance}` |
| `referenceList` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` Required. The reference list to create. |
| `referenceListId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the reference list. This is also the display name for the reference list. It must satisfy the following requirements: - Starts with letter. - Contains only letters, numbers and underscore. - Has length less than 256. - Must be unique. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
    ReferenceList referenceList = new ReferenceList();
    string referenceListId = "";
    // Make the request
    ReferenceList response = await referenceListServiceClient.CreateReferenceListAsync(parent, referenceList, referenceListId);

### GetReferenceList(GetReferenceListRequest, CallSettings)

    public virtual ReferenceList GetReferenceList(GetReferenceListRequest request, CallSettings callSettings = null)

Gets a single reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.GetReferenceListRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | The RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = ReferenceListServiceClient.Create();
    // Initialize request argument(s)
    GetReferenceListRequest request = new GetReferenceListRequest
    {
        ReferenceListName = ReferenceListName.FromProjectLocationInstanceReferenceList("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[REFERENCE_LIST]"),
        View = ReferenceListView.Unspecified,
    };
    // Make the request
    ReferenceList response = referenceListServiceClient.GetReferenceList(request);

### GetReferenceList(ReferenceListName, CallSettings)

    public virtual ReferenceList GetReferenceList(ReferenceListName name, CallSettings callSettings = null)

Gets a single reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListName` Required. The resource name of the reference list to retrieve. Format: `projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}` |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | The RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = ReferenceListServiceClient.Create();
    // Initialize request argument(s)
    ReferenceListName name = ReferenceListName.FromProjectLocationInstanceReferenceList("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[REFERENCE_LIST]");
    // Make the request
    ReferenceList response = referenceListServiceClient.GetReferenceList(name);

### GetReferenceList(string, CallSettings)

    public virtual ReferenceList GetReferenceList(string name, CallSettings callSettings = null)

Gets a single reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the reference list to retrieve. Format: `projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}` |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | The RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = ReferenceListServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/referenceLists/[REFERENCE_LIST]";
    // Make the request
    ReferenceList response = referenceListServiceClient.GetReferenceList(name);

### GetReferenceListAsync(GetReferenceListRequest, CallSettings)

    public virtual Task<ReferenceList> GetReferenceListAsync(GetReferenceListRequest request, CallSettings callSettings = null)

Gets a single reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.GetReferenceListRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetReferenceListRequest request = new GetReferenceListRequest
    {
        ReferenceListName = ReferenceListName.FromProjectLocationInstanceReferenceList("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[REFERENCE_LIST]"),
        View = ReferenceListView.Unspecified,
    };
    // Make the request
    ReferenceList response = await referenceListServiceClient.GetReferenceListAsync(request);

### GetReferenceListAsync(GetReferenceListRequest, CancellationToken)

    public virtual Task<ReferenceList> GetReferenceListAsync(GetReferenceListRequest request, CancellationToken cancellationToken)

Gets a single reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.GetReferenceListRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetReferenceListRequest request = new GetReferenceListRequest
    {
        ReferenceListName = ReferenceListName.FromProjectLocationInstanceReferenceList("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[REFERENCE_LIST]"),
        View = ReferenceListView.Unspecified,
    };
    // Make the request
    ReferenceList response = await referenceListServiceClient.GetReferenceListAsync(request);

### GetReferenceListAsync(ReferenceListName, CallSettings)

    public virtual Task<ReferenceList> GetReferenceListAsync(ReferenceListName name, CallSettings callSettings = null)

Gets a single reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListName` Required. The resource name of the reference list to retrieve. Format: `projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}` |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    ReferenceListName name = ReferenceListName.FromProjectLocationInstanceReferenceList("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[REFERENCE_LIST]");
    // Make the request
    ReferenceList response = await referenceListServiceClient.GetReferenceListAsync(name);

### GetReferenceListAsync(ReferenceListName, CancellationToken)

    public virtual Task<ReferenceList> GetReferenceListAsync(ReferenceListName name, CancellationToken cancellationToken)

Gets a single reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListName` Required. The resource name of the reference list to retrieve. Format: `projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}` |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    ReferenceListName name = ReferenceListName.FromProjectLocationInstanceReferenceList("[PROJECT]", "[LOCATION]", "[INSTANCE]", "[REFERENCE_LIST]");
    // Make the request
    ReferenceList response = await referenceListServiceClient.GetReferenceListAsync(name);

### GetReferenceListAsync(string, CallSettings)

    public virtual Task<ReferenceList> GetReferenceListAsync(string name, CallSettings callSettings = null)

Gets a single reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the reference list to retrieve. Format: `projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}` |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/referenceLists/[REFERENCE_LIST]";
    // Make the request
    ReferenceList response = await referenceListServiceClient.GetReferenceListAsync(name);

### GetReferenceListAsync(string, CancellationToken)

    public virtual Task<ReferenceList> GetReferenceListAsync(string name, CancellationToken cancellationToken)

Gets a single reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the reference list to retrieve. Format: `projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}` |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]/referenceLists/[REFERENCE_LIST]";
    // Make the request
    ReferenceList response = await referenceListServiceClient.GetReferenceListAsync(name);

### ListReferenceLists(InstanceName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListReferenceListsResponse, ReferenceList> ListReferenceLists(InstanceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists a collection of reference lists.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.InstanceName` Required. The parent, which owns this collection of reference lists. Format: `projects/{project}/locations/{location}/instances/{instance}` |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ListReferenceListsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A pageable sequence of [ReferenceList](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList) resources. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = ReferenceListServiceClient.Create();
    // Initialize request argument(s)
    InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    // Make the request
    PagedEnumerable<ListReferenceListsResponse, ReferenceList> response = referenceListServiceClient.ListReferenceLists(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ReferenceList item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListReferenceListsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ReferenceList item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ReferenceList> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ReferenceList item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListReferenceLists(ListReferenceListsRequest, CallSettings)

    public virtual PagedEnumerable<ListReferenceListsResponse, ReferenceList> ListReferenceLists(ListReferenceListsRequest request, CallSettings callSettings = null)

Lists a collection of reference lists.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ListReferenceListsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ListReferenceListsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A pageable sequence of [ReferenceList](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList) resources. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = ReferenceListServiceClient.Create();
    // Initialize request argument(s)
    ListReferenceListsRequest request = new ListReferenceListsRequest
    {
        ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
        View = ReferenceListView.Unspecified,
    };
    // Make the request
    PagedEnumerable<ListReferenceListsResponse, ReferenceList> response = referenceListServiceClient.ListReferenceLists(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ReferenceList item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListReferenceListsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ReferenceList item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ReferenceList> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ReferenceList item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListReferenceLists(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListReferenceListsResponse, ReferenceList> ListReferenceLists(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists a collection of reference lists.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of reference lists. Format: `projects/{project}/locations/{location}/instances/{instance}` |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ListReferenceListsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A pageable sequence of [ReferenceList](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList) resources. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = ReferenceListServiceClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
    // Make the request
    PagedEnumerable<ListReferenceListsResponse, ReferenceList> response = referenceListServiceClient.ListReferenceLists(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (ReferenceList item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListReferenceListsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ReferenceList item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ReferenceList> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ReferenceList item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListReferenceListsAsync(InstanceName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListReferenceListsResponse, ReferenceList> ListReferenceListsAsync(InstanceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists a collection of reference lists.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.InstanceName` Required. The parent, which owns this collection of reference lists. Format: `projects/{project}/locations/{location}/instances/{instance}` |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ListReferenceListsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A pageable asynchronous sequence of [ReferenceList](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList) resources. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    InstanceName parent = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]");
    // Make the request
    PagedAsyncEnumerable<ListReferenceListsResponse, ReferenceList> response = referenceListServiceClient.ListReferenceListsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (ReferenceList item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListReferenceListsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ReferenceList item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ReferenceList> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ReferenceList item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListReferenceListsAsync(ListReferenceListsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListReferenceListsResponse, ReferenceList> ListReferenceListsAsync(ListReferenceListsRequest request, CallSettings callSettings = null)

Lists a collection of reference lists.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ListReferenceListsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ListReferenceListsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A pageable asynchronous sequence of [ReferenceList](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList) resources. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    ListReferenceListsRequest request = new ListReferenceListsRequest
    {
        ParentAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
        View = ReferenceListView.Unspecified,
    };
    // Make the request
    PagedAsyncEnumerable<ListReferenceListsResponse, ReferenceList> response = referenceListServiceClient.ListReferenceListsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (ReferenceList item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListReferenceListsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ReferenceList item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ReferenceList> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ReferenceList item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListReferenceListsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListReferenceListsResponse, ReferenceList> ListReferenceListsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists a collection of reference lists.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent, which owns this collection of reference lists. Format: `projects/{project}/locations/{location}/instances/{instance}` |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ListReferenceListsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A pageable asynchronous sequence of [ReferenceList](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList) resources. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/instances/[INSTANCE]";
    // Make the request
    PagedAsyncEnumerable<ListReferenceListsResponse, ReferenceList> response = referenceListServiceClient.ListReferenceListsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (ReferenceList item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListReferenceListsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (ReferenceList item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<ReferenceList> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (ReferenceList item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ShutdownDefaultChannelsAsync()

    public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListServiceClient#Google_Cloud_Chronicle_V1_ReferenceListServiceClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListServiceClient#Google_Cloud_Chronicle_V1_ReferenceListServiceClient_CreateAsync_System_Threading_CancellationToken_). Channels which weren't automatically created are not
affected.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A task representing the asynchronous shutdown operation. |

**Remarks** After calling this method, further calls to [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListServiceClient#Google_Cloud_Chronicle_V1_ReferenceListServiceClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceListServiceClient#Google_Cloud_Chronicle_V1_ReferenceListServiceClient_CreateAsync_System_Threading_CancellationToken_) will create new channels, which could in turn be shut down
by another call to this method.

### UpdateReferenceList(ReferenceList, FieldMask, CallSettings)

    public virtual ReferenceList UpdateReferenceList(ReferenceList referenceList, FieldMask updateMask, CallSettings callSettings = null)

Updates an existing reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `referenceList` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` Required. The reference list to update. The reference list's `name` field is used to identify the reference list to update. Format: `projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}` |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` The list of fields to update. When no field mask is supplied, all non-empty fields will be updated. A field mask of "\*" will update all fields, whether empty or not. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | The RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = ReferenceListServiceClient.Create();
    // Initialize request argument(s)
    ReferenceList referenceList = new ReferenceList();
    FieldMask updateMask = new FieldMask();
    // Make the request
    ReferenceList response = referenceListServiceClient.UpdateReferenceList(referenceList, updateMask);

### UpdateReferenceList(UpdateReferenceListRequest, CallSettings)

    public virtual ReferenceList UpdateReferenceList(UpdateReferenceListRequest request, CallSettings callSettings = null)

Updates an existing reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.UpdateReferenceListRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | The RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = ReferenceListServiceClient.Create();
    // Initialize request argument(s)
    UpdateReferenceListRequest request = new UpdateReferenceListRequest
    {
        ReferenceList = new ReferenceList(),
        UpdateMask = new FieldMask(),
    };
    // Make the request
    ReferenceList response = referenceListServiceClient.UpdateReferenceList(request);

### UpdateReferenceListAsync(ReferenceList, FieldMask, CallSettings)

    public virtual Task<ReferenceList> UpdateReferenceListAsync(ReferenceList referenceList, FieldMask updateMask, CallSettings callSettings = null)

Updates an existing reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `referenceList` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` Required. The reference list to update. The reference list's `name` field is used to identify the reference list to update. Format: `projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}` |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` The list of fields to update. When no field mask is supplied, all non-empty fields will be updated. A field mask of "\*" will update all fields, whether empty or not. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    ReferenceList referenceList = new ReferenceList();
    FieldMask updateMask = new FieldMask();
    // Make the request
    ReferenceList response = await referenceListServiceClient.UpdateReferenceListAsync(referenceList, updateMask);

### UpdateReferenceListAsync(ReferenceList, FieldMask, CancellationToken)

    public virtual Task<ReferenceList> UpdateReferenceListAsync(ReferenceList referenceList, FieldMask updateMask, CancellationToken cancellationToken)

Updates an existing reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `referenceList` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` Required. The reference list to update. The reference list's `name` field is used to identify the reference list to update. Format: `projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}` |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` The list of fields to update. When no field mask is supplied, all non-empty fields will be updated. A field mask of "\*" will update all fields, whether empty or not. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    ReferenceList referenceList = new ReferenceList();
    FieldMask updateMask = new FieldMask();
    // Make the request
    ReferenceList response = await referenceListServiceClient.UpdateReferenceListAsync(referenceList, updateMask);

### UpdateReferenceListAsync(UpdateReferenceListRequest, CallSettings)

    public virtual Task<ReferenceList> UpdateReferenceListAsync(UpdateReferenceListRequest request, CallSettings callSettings = null)

Updates an existing reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.UpdateReferenceListRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    UpdateReferenceListRequest request = new UpdateReferenceListRequest
    {
        ReferenceList = new ReferenceList(),
        UpdateMask = new FieldMask(),
    };
    // Make the request
    ReferenceList response = await referenceListServiceClient.UpdateReferenceListAsync(request);

### UpdateReferenceListAsync(UpdateReferenceListRequest, CancellationToken)

    public virtual Task<ReferenceList> UpdateReferenceListAsync(UpdateReferenceListRequest request, CancellationToken cancellationToken)

Updates an existing reference list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.UpdateReferenceListRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.ReferenceList` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    UpdateReferenceListRequest request = new UpdateReferenceListRequest
    {
        ReferenceList = new ReferenceList(),
        UpdateMask = new FieldMask(),
    };
    // Make the request
    ReferenceList response = await referenceListServiceClient.UpdateReferenceListAsync(request);

### VerifyReferenceList(VerifyReferenceListRequest, CallSettings)

    public virtual VerifyReferenceListResponse VerifyReferenceList(VerifyReferenceListRequest request, CallSettings callSettings = null)

VerifyReferenceList validates list content and returns line errors, if any.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.VerifyReferenceListRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.VerifyReferenceListResponse` | The RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = ReferenceListServiceClient.Create();
    // Initialize request argument(s)
    VerifyReferenceListRequest request = new VerifyReferenceListRequest
    {
        InstanceAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
        SyntaxType = ReferenceListSyntaxType.Unspecified,
        Entries =
        {
            new ReferenceListEntry(),
        },
    };
    // Make the request
    VerifyReferenceListResponse response = referenceListServiceClient.VerifyReferenceList(request);

### VerifyReferenceListAsync(VerifyReferenceListRequest, CallSettings)

    public virtual Task<VerifyReferenceListResponse> VerifyReferenceListAsync(VerifyReferenceListRequest request, CallSettings callSettings = null)

VerifyReferenceList validates list content and returns line errors, if any.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.VerifyReferenceListRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.VerifyReferenceListResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    VerifyReferenceListRequest request = new VerifyReferenceListRequest
    {
        InstanceAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
        SyntaxType = ReferenceListSyntaxType.Unspecified,
        Entries =
        {
            new ReferenceListEntry(),
        },
    };
    // Make the request
    VerifyReferenceListResponse response = await referenceListServiceClient.VerifyReferenceListAsync(request);

### VerifyReferenceListAsync(VerifyReferenceListRequest, CancellationToken)

    public virtual Task<VerifyReferenceListResponse> VerifyReferenceListAsync(VerifyReferenceListRequest request, CancellationToken cancellationToken)

VerifyReferenceList validates list content and returns line errors, if any.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.VerifyReferenceListRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.VerifyReferenceListResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    ReferenceListServiceClient referenceListServiceClient = await ReferenceListServiceClient.CreateAsync();
    // Initialize request argument(s)
    VerifyReferenceListRequest request = new VerifyReferenceListRequest
    {
        InstanceAsInstanceName = InstanceName.FromProjectLocationInstance("[PROJECT]", "[LOCATION]", "[INSTANCE]"),
        SyntaxType = ReferenceListSyntaxType.Unspecified,
        Entries =
        {
            new ReferenceListEntry(),
        },
    };
    // Make the request
    VerifyReferenceListResponse response = await referenceListServiceClient.VerifyReferenceListAsync(request);