public sealed class SystemPolicyV1Beta1ClientImpl : SystemPolicyV1Beta1ClientSystemPolicyV1Beta1 client wrapper implementation, for convenient use.
Namespace
Google.Cloud.BinaryAuthorization.V1Beta1Assembly
Google.Cloud.BinaryAuthorization.V1Beta1.dll
Remarks
API for working with the system policy.
Constructors
SystemPolicyV1Beta1ClientImpl(SystemPolicyV1Beta1.SystemPolicyV1Beta1Client, SystemPolicyV1Beta1Settings)
public SystemPolicyV1Beta1ClientImpl(SystemPolicyV1Beta1.SystemPolicyV1Beta1Client grpcClient, SystemPolicyV1Beta1Settings settings)Constructs a client wrapper for the SystemPolicyV1Beta1 service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description | 
grpcClient | 
        SystemPolicyV1Beta1.SystemPolicyV1Beta1ClientThe underlying gRPC client.  | 
      
settings | 
        SystemPolicyV1Beta1SettingsThe base SystemPolicyV1Beta1Settings used within this client.  | 
      
Properties
GrpcClient
public override SystemPolicyV1Beta1.SystemPolicyV1Beta1Client GrpcClient { get; }The underlying gRPC SystemPolicyV1Beta1 client
| Property Value | |
|---|---|
| Type | Description | 
SystemPolicyV1Beta1.SystemPolicyV1Beta1Client | 
        |
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 | 
        GetSystemPolicyRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Policy | 
        The RPC response.  | 
      
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 | 
        GetSystemPolicyRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Task<Policy> | 
        A Task containing the RPC response.  |