Class protos.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1

Represents a BinauthzManagementServiceV1Beta1

Inheritance

$protobuf.rpc.Service > protos.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1

Package

@google-cloud/binary-authorization!

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new BinauthzManagementServiceV1Beta1 service.

Parameters
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): BinauthzManagementServiceV1Beta1;

Creates new BinauthzManagementServiceV1Beta1 service using the specified rpc implementation.

Parameters
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

Whether responses are length-delimited

Returns
TypeDescription
BinauthzManagementServiceV1Beta1

RPC service. Useful where requests and/or responses are streamed.

createAttestor(request, callback)

public createAttestor(request: google.cloud.binaryauthorization.v1beta1.ICreateAttestorRequest, callback: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.CreateAttestorCallback): void;

Calls CreateAttestor.

Parameters
TypeNameDescription
ICreateAttestorRequestrequest

CreateAttestorRequest message or plain object

google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.CreateAttestorCallbackcallback

Node-style callback called with the error, if any, and Attestor

Returns
TypeDescription
void

createAttestor(request)

public createAttestor(request: google.cloud.binaryauthorization.v1beta1.ICreateAttestorRequest): Promise<google.cloud.binaryauthorization.v1beta1.Attestor>;

Calls CreateAttestor.

Parameter
TypeNameDescription
ICreateAttestorRequestrequest

CreateAttestorRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.binaryauthorization.v1beta1.Attestor>

Promise

deleteAttestor(request, callback)

public deleteAttestor(request: google.cloud.binaryauthorization.v1beta1.IDeleteAttestorRequest, callback: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.DeleteAttestorCallback): void;

Calls DeleteAttestor.

Parameters
TypeNameDescription
google.cloud.binaryauthorization.v1beta1.IDeleteAttestorRequestrequest

DeleteAttestorRequest message or plain object

google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.DeleteAttestorCallbackcallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

deleteAttestor(request)

public deleteAttestor(request: google.cloud.binaryauthorization.v1beta1.IDeleteAttestorRequest): Promise<google.protobuf.Empty>;

Calls DeleteAttestor.

Parameter
TypeNameDescription
google.cloud.binaryauthorization.v1beta1.IDeleteAttestorRequestrequest

DeleteAttestorRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getAttestor(request, callback)

public getAttestor(request: google.cloud.binaryauthorization.v1beta1.IGetAttestorRequest, callback: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetAttestorCallback): void;

Calls GetAttestor.

Parameters
TypeNameDescription
google.cloud.binaryauthorization.v1beta1.IGetAttestorRequestrequest

GetAttestorRequest message or plain object

google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetAttestorCallbackcallback

Node-style callback called with the error, if any, and Attestor

Returns
TypeDescription
void

getAttestor(request)

public getAttestor(request: google.cloud.binaryauthorization.v1beta1.IGetAttestorRequest): Promise<google.cloud.binaryauthorization.v1beta1.Attestor>;

Calls GetAttestor.

Parameter
TypeNameDescription
google.cloud.binaryauthorization.v1beta1.IGetAttestorRequestrequest

GetAttestorRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.binaryauthorization.v1beta1.Attestor>

Promise

getPolicy(request, callback)

public getPolicy(request: google.cloud.binaryauthorization.v1beta1.IGetPolicyRequest, callback: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetPolicyCallback): void;

Calls GetPolicy.

Parameters
TypeNameDescription
google.cloud.binaryauthorization.v1beta1.IGetPolicyRequestrequest

GetPolicyRequest message or plain object

google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetPolicyCallbackcallback

Node-style callback called with the error, if any, and Policy

Returns
TypeDescription
void

getPolicy(request)

public getPolicy(request: google.cloud.binaryauthorization.v1beta1.IGetPolicyRequest): Promise<google.cloud.binaryauthorization.v1beta1.Policy>;

Calls GetPolicy.

Parameter
TypeNameDescription
google.cloud.binaryauthorization.v1beta1.IGetPolicyRequestrequest

GetPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.binaryauthorization.v1beta1.Policy>

Promise

listAttestors(request, callback)

public listAttestors(request: google.cloud.binaryauthorization.v1beta1.IListAttestorsRequest, callback: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.ListAttestorsCallback): void;

Calls ListAttestors.

Parameters
TypeNameDescription
google.cloud.binaryauthorization.v1beta1.IListAttestorsRequestrequest

ListAttestorsRequest message or plain object

google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.ListAttestorsCallbackcallback

Node-style callback called with the error, if any, and ListAttestorsResponse

Returns
TypeDescription
void

listAttestors(request)

public listAttestors(request: google.cloud.binaryauthorization.v1beta1.IListAttestorsRequest): Promise<google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse>;

Calls ListAttestors.

Parameter
TypeNameDescription
google.cloud.binaryauthorization.v1beta1.IListAttestorsRequestrequest

ListAttestorsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse>

Promise

updateAttestor(request, callback)

public updateAttestor(request: google.cloud.binaryauthorization.v1beta1.IUpdateAttestorRequest, callback: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdateAttestorCallback): void;

Calls UpdateAttestor.

Parameters
TypeNameDescription
google.cloud.binaryauthorization.v1beta1.IUpdateAttestorRequestrequest

UpdateAttestorRequest message or plain object

google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdateAttestorCallbackcallback

Node-style callback called with the error, if any, and Attestor

Returns
TypeDescription
void

updateAttestor(request)

public updateAttestor(request: google.cloud.binaryauthorization.v1beta1.IUpdateAttestorRequest): Promise<google.cloud.binaryauthorization.v1beta1.Attestor>;

Calls UpdateAttestor.

Parameter
TypeNameDescription
google.cloud.binaryauthorization.v1beta1.IUpdateAttestorRequestrequest

UpdateAttestorRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.binaryauthorization.v1beta1.Attestor>

Promise

updatePolicy(request, callback)

public updatePolicy(request: google.cloud.binaryauthorization.v1beta1.IUpdatePolicyRequest, callback: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdatePolicyCallback): void;

Calls UpdatePolicy.

Parameters
TypeNameDescription
google.cloud.binaryauthorization.v1beta1.IUpdatePolicyRequestrequest

UpdatePolicyRequest message or plain object

google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdatePolicyCallbackcallback

Node-style callback called with the error, if any, and Policy

Returns
TypeDescription
void

updatePolicy(request)

public updatePolicy(request: google.cloud.binaryauthorization.v1beta1.IUpdatePolicyRequest): Promise<google.cloud.binaryauthorization.v1beta1.Policy>;

Calls UpdatePolicy.

Parameter
TypeNameDescription
google.cloud.binaryauthorization.v1beta1.IUpdatePolicyRequestrequest

UpdatePolicyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.binaryauthorization.v1beta1.Policy>

Promise