Binary Authorization v1 API - Class SystemPolicyV1ClientImpl (2.4.0)

public sealed class SystemPolicyV1ClientImpl : SystemPolicyV1Client

Reference documentation and code samples for the Binary Authorization v1 API class SystemPolicyV1ClientImpl.

SystemPolicyV1 client wrapper implementation, for convenient use.

Inheritance

object > SystemPolicyV1Client > SystemPolicyV1ClientImpl

Namespace

Google.Cloud.BinaryAuthorization.V1

Assembly

Google.Cloud.BinaryAuthorization.V1.dll

Remarks

API for working with the system policy.

Constructors

SystemPolicyV1ClientImpl(SystemPolicyV1Client, SystemPolicyV1Settings, ILogger)

public SystemPolicyV1ClientImpl(SystemPolicyV1.SystemPolicyV1Client grpcClient, SystemPolicyV1Settings settings, ILogger logger)

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

Parameters
Name Description
grpcClient SystemPolicyV1SystemPolicyV1Client

The underlying gRPC client.

settings SystemPolicyV1Settings

The base SystemPolicyV1Settings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override SystemPolicyV1.SystemPolicyV1Client GrpcClient { get; }

The underlying gRPC SystemPolicyV1 client

Property Value
Type Description
SystemPolicyV1SystemPolicyV1Client
Overrides

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 GetSystemPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Policy

The RPC response.

Overrides

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 GetSystemPolicyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPolicy

A Task containing the RPC response.

Overrides