Binary Authorization v1beta1 API - Class SystemPolicyV1Beta1ClientImpl (2.0.0-beta07)

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 > SystemPolicyV1Beta1Client > SystemPolicyV1Beta1ClientImpl

Namespace

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
NameDescription
grpcClientSystemPolicyV1Beta1SystemPolicyV1Beta1Client

The underlying gRPC client.

settingsSystemPolicyV1Beta1Settings

The base SystemPolicyV1Beta1Settings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override SystemPolicyV1Beta1.SystemPolicyV1Beta1Client GrpcClient { get; }

The underlying gRPC SystemPolicyV1Beta1 client

Property Value
TypeDescription
SystemPolicyV1Beta1SystemPolicyV1Beta1Client
Overrides

Methods

GetSystemPolicy(GetSystemPolicyRequest, CallSettings)

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

Gets the current system policy in the specified location.

Parameters
NameDescription
requestGetSystemPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetSystemPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPolicy

A Task containing the RPC response.

Overrides