Represents a BinauthzManagementServiceV1
Inheritance
$protobuf.rpc.Service > protos.google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1Package
@google-cloud/binary-authorizationConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new BinauthzManagementServiceV1 service.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): BinauthzManagementServiceV1;Creates new BinauthzManagementServiceV1 service using the specified rpc implementation.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
| Returns | |
|---|---|
| Type | Description |
BinauthzManagementServiceV1 |
RPC service. Useful where requests and/or responses are streamed. |
createAttestor(request, callback)
public createAttestor(request: google.cloud.binaryauthorization.v1.ICreateAttestorRequest, callback: google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.CreateAttestorCallback): void;Calls CreateAttestor.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateAttestorRequest
CreateAttestorRequest message or plain object |
callback |
CreateAttestorCallback
Node-style callback called with the error, if any, and Attestor |
| Returns | |
|---|---|
| Type | Description |
void |
|
createAttestor(request)
public createAttestor(request: google.cloud.binaryauthorization.v1.ICreateAttestorRequest): Promise<google.cloud.binaryauthorization.v1.Attestor>;Calls CreateAttestor.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreateAttestorRequest
CreateAttestorRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.binaryauthorization.v1.Attestor> |
Promise |
deleteAttestor(request, callback)
public deleteAttestor(request: google.cloud.binaryauthorization.v1.IDeleteAttestorRequest, callback: google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.DeleteAttestorCallback): void;Calls DeleteAttestor.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteAttestorRequest
DeleteAttestorRequest message or plain object |
callback |
DeleteAttestorCallback
Node-style callback called with the error, if any, and Empty |
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteAttestor(request)
public deleteAttestor(request: google.cloud.binaryauthorization.v1.IDeleteAttestorRequest): Promise<google.protobuf.Empty>;Calls DeleteAttestor.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteAttestorRequest
DeleteAttestorRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.protobuf.Empty> |
Promise |
getAttestor(request, callback)
public getAttestor(request: google.cloud.binaryauthorization.v1.IGetAttestorRequest, callback: google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.GetAttestorCallback): void;Calls GetAttestor.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetAttestorRequest
GetAttestorRequest message or plain object |
callback |
GetAttestorCallback
Node-style callback called with the error, if any, and Attestor |
| Returns | |
|---|---|
| Type | Description |
void |
|
getAttestor(request)
public getAttestor(request: google.cloud.binaryauthorization.v1.IGetAttestorRequest): Promise<google.cloud.binaryauthorization.v1.Attestor>;Calls GetAttestor.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetAttestorRequest
GetAttestorRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.binaryauthorization.v1.Attestor> |
Promise |
getPolicy(request, callback)
public getPolicy(request: google.cloud.binaryauthorization.v1.IGetPolicyRequest, callback: google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.GetPolicyCallback): void;Calls GetPolicy.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetPolicyRequest
GetPolicyRequest message or plain object |
callback |
GetPolicyCallback
Node-style callback called with the error, if any, and Policy |
| Returns | |
|---|---|
| Type | Description |
void |
|
getPolicy(request)
public getPolicy(request: google.cloud.binaryauthorization.v1.IGetPolicyRequest): Promise<google.cloud.binaryauthorization.v1.Policy>;Calls GetPolicy.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetPolicyRequest
GetPolicyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.binaryauthorization.v1.Policy> |
Promise |
listAttestors(request, callback)
public listAttestors(request: google.cloud.binaryauthorization.v1.IListAttestorsRequest, callback: google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.ListAttestorsCallback): void;Calls ListAttestors.
| Parameters | |
|---|---|
| Name | Description |
request |
IListAttestorsRequest
ListAttestorsRequest message or plain object |
callback |
ListAttestorsCallback
Node-style callback called with the error, if any, and ListAttestorsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listAttestors(request)
public listAttestors(request: google.cloud.binaryauthorization.v1.IListAttestorsRequest): Promise<google.cloud.binaryauthorization.v1.ListAttestorsResponse>;Calls ListAttestors.
| Parameter | |
|---|---|
| Name | Description |
request |
IListAttestorsRequest
ListAttestorsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.binaryauthorization.v1.ListAttestorsResponse> |
Promise |
updateAttestor(request, callback)
public updateAttestor(request: google.cloud.binaryauthorization.v1.IUpdateAttestorRequest, callback: google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.UpdateAttestorCallback): void;Calls UpdateAttestor.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateAttestorRequest
UpdateAttestorRequest message or plain object |
callback |
UpdateAttestorCallback
Node-style callback called with the error, if any, and Attestor |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateAttestor(request)
public updateAttestor(request: google.cloud.binaryauthorization.v1.IUpdateAttestorRequest): Promise<google.cloud.binaryauthorization.v1.Attestor>;Calls UpdateAttestor.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateAttestorRequest
UpdateAttestorRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.binaryauthorization.v1.Attestor> |
Promise |
updatePolicy(request, callback)
public updatePolicy(request: google.cloud.binaryauthorization.v1.IUpdatePolicyRequest, callback: google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.UpdatePolicyCallback): void;Calls UpdatePolicy.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdatePolicyRequest
UpdatePolicyRequest message or plain object |
callback |
UpdatePolicyCallback
Node-style callback called with the error, if any, and Policy |
| Returns | |
|---|---|
| Type | Description |
void |
|
updatePolicy(request)
public updatePolicy(request: google.cloud.binaryauthorization.v1.IUpdatePolicyRequest): Promise<google.cloud.binaryauthorization.v1.Policy>;Calls UpdatePolicy.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdatePolicyRequest
UpdatePolicyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.binaryauthorization.v1.Policy> |
Promise |