# Binary Authorization v1beta1 API - Class SystemPolicyV1Beta1ClientImpl (2.0.0-beta09)

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

- [2.0.0-beta09 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1ClientImpl)
- [2.0.0-beta08](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/2.0.0-beta08/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1ClientImpl)
- [1.0.0-beta05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/1.0.0-beta05/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1ClientImpl)

    public sealed class SystemPolicyV1Beta1ClientImpl : SystemPolicyV1Beta1Client

Reference documentation and code samples for the Binary Authorization v1beta1 API class SystemPolicyV1Beta1ClientImpl.

SystemPolicyV1Beta1 client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [SystemPolicyV1Beta1Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client) \> SystemPolicyV1Beta1ClientImpl

## Inherited Members

[SystemPolicyV1Beta1Client.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_DefaultEndpoint) [SystemPolicyV1Beta1Client.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_DefaultScopes) [SystemPolicyV1Beta1Client.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_ServiceMetadata) [SystemPolicyV1Beta1Client.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_CreateAsync_System_Threading_CancellationToken_) [SystemPolicyV1Beta1Client.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_Create) [SystemPolicyV1Beta1Client.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_ShutdownDefaultChannelsAsync) [SystemPolicyV1Beta1Client.GetSystemPolicyAsync(GetSystemPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_GetSystemPolicyAsync_Google_Cloud_BinaryAuthorization_V1Beta1_GetSystemPolicyRequest_System_Threading_CancellationToken_) [SystemPolicyV1Beta1Client.GetSystemPolicy(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_GetSystemPolicy_System_String_Google_Api_Gax_Grpc_CallSettings_) [SystemPolicyV1Beta1Client.GetSystemPolicyAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_GetSystemPolicyAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [SystemPolicyV1Beta1Client.GetSystemPolicyAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_GetSystemPolicyAsync_System_String_System_Threading_CancellationToken_) [SystemPolicyV1Beta1Client.GetSystemPolicy(PolicyName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_GetSystemPolicy_Google_Cloud_BinaryAuthorization_V1Beta1_PolicyName_Google_Api_Gax_Grpc_CallSettings_) [SystemPolicyV1Beta1Client.GetSystemPolicyAsync(PolicyName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_GetSystemPolicyAsync_Google_Cloud_BinaryAuthorization_V1Beta1_PolicyName_Google_Api_Gax_Grpc_CallSettings_) [SystemPolicyV1Beta1Client.GetSystemPolicyAsync(PolicyName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_GetSystemPolicyAsync_Google_Cloud_BinaryAuthorization_V1Beta1_PolicyName_System_Threading_CancellationToken_) [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.BinaryAuthorization.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1)

## Assembly

Google.Cloud.BinaryAuthorization.V1Beta1.dll

## Remarks

API for working with the system policy.

## Constructors

### SystemPolicyV1Beta1ClientImpl(SystemPolicyV1Beta1Client, SystemPolicyV1Beta1Settings, ILogger)

    public SystemPolicyV1Beta1ClientImpl(SystemPolicyV1Beta1.SystemPolicyV1Beta1Client grpcClient, SystemPolicyV1Beta1Settings settings, ILogger logger)

Constructs a client wrapper for the SystemPolicyV1Beta1 service, with the specified gRPC client and
settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1.SystemPolicyV1Beta1Client` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Settings` The base [SystemPolicyV1Beta1Settings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Settings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override SystemPolicyV1Beta1.SystemPolicyV1Beta1Client GrpcClient { get; }

The underlying gRPC SystemPolicyV1Beta1 client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1.SystemPolicyV1Beta1Client` |   |

**Overrides** [SystemPolicyV1Beta1Client.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_GrpcClient)

## Methods

### GetSystemPolicy(GetSystemPolicyRequest, CallSettings)

    public override Policy GetSystemPolicy(GetSystemPolicyRequest request, CallSettings callSettings = null)

Gets the current system policy in the specified location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.GetSystemPolicyRequest` 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.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.Policy` | The RPC response. |

**Overrides** [SystemPolicyV1Beta1Client.GetSystemPolicy(GetSystemPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_GetSystemPolicy_Google_Cloud_BinaryAuthorization_V1Beta1_GetSystemPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetSystemPolicyAsync(GetSystemPolicyRequest, CallSettings)

    public override Task<Policy> GetSystemPolicyAsync(GetSystemPolicyRequest request, CallSettings callSettings = null)

Gets the current system policy in the specified location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.GetSystemPolicyRequest` 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.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.Policy` | A Task containing the RPC response. |

**Overrides** [SystemPolicyV1Beta1Client.GetSystemPolicyAsync(GetSystemPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BinaryAuthorization.V1Beta1/latest/Google.Cloud.BinaryAuthorization.V1Beta1.SystemPolicyV1Beta1Client#Google_Cloud_BinaryAuthorization_V1Beta1_SystemPolicyV1Beta1Client_GetSystemPolicyAsync_Google_Cloud_BinaryAuthorization_V1Beta1_GetSystemPolicyRequest_Google_Api_Gax_Grpc_CallSettings_)