Constructor
new BinauthzManagementServiceV1(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new BinauthzManagementServiceV1 service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
createAttestor(request, callback) → {undefined}
Calls CreateAttestor.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.ICreateAttestorRequest |
CreateAttestorRequest message or plain object |
callback |
google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.CreateAttestorCallback |
Node-style callback called with the error, if any, and Attestor |
Returns:
Type | Description |
---|---|
undefined |
createAttestor(request) → {Promise.<google.cloud.binaryauthorization.v1.Attestor>}
Calls CreateAttestor.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.ICreateAttestorRequest |
CreateAttestorRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.binaryauthorization.v1.Attestor> |
Promise |
deleteAttestor(request, callback) → {undefined}
Calls DeleteAttestor.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.IDeleteAttestorRequest |
DeleteAttestorRequest message or plain object |
callback |
google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.DeleteAttestorCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteAttestor(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteAttestor.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.IDeleteAttestorRequest |
DeleteAttestorRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
getAttestor(request, callback) → {undefined}
Calls GetAttestor.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.IGetAttestorRequest |
GetAttestorRequest message or plain object |
callback |
google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.GetAttestorCallback |
Node-style callback called with the error, if any, and Attestor |
Returns:
Type | Description |
---|---|
undefined |
getAttestor(request) → {Promise.<google.cloud.binaryauthorization.v1.Attestor>}
Calls GetAttestor.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.IGetAttestorRequest |
GetAttestorRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.binaryauthorization.v1.Attestor> |
Promise |
getPolicy(request, callback) → {undefined}
Calls GetPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.IGetPolicyRequest |
GetPolicyRequest message or plain object |
callback |
google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.GetPolicyCallback |
Node-style callback called with the error, if any, and Policy |
Returns:
Type | Description |
---|---|
undefined |
getPolicy(request) → {Promise.<google.cloud.binaryauthorization.v1.Policy>}
Calls GetPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.IGetPolicyRequest |
GetPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.binaryauthorization.v1.Policy> |
Promise |
listAttestors(request, callback) → {undefined}
Calls ListAttestors.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.IListAttestorsRequest |
ListAttestorsRequest message or plain object |
callback |
google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.ListAttestorsCallback |
Node-style callback called with the error, if any, and ListAttestorsResponse |
Returns:
Type | Description |
---|---|
undefined |
listAttestors(request) → {Promise.<google.cloud.binaryauthorization.v1.ListAttestorsResponse>}
Calls ListAttestors.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.IListAttestorsRequest |
ListAttestorsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.binaryauthorization.v1.ListAttestorsResponse> |
Promise |
updateAttestor(request, callback) → {undefined}
Calls UpdateAttestor.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.IUpdateAttestorRequest |
UpdateAttestorRequest message or plain object |
callback |
google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.UpdateAttestorCallback |
Node-style callback called with the error, if any, and Attestor |
Returns:
Type | Description |
---|---|
undefined |
updateAttestor(request) → {Promise.<google.cloud.binaryauthorization.v1.Attestor>}
Calls UpdateAttestor.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.IUpdateAttestorRequest |
UpdateAttestorRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.binaryauthorization.v1.Attestor> |
Promise |
updatePolicy(request, callback) → {undefined}
Calls UpdatePolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.IUpdatePolicyRequest |
UpdatePolicyRequest message or plain object |
callback |
google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.UpdatePolicyCallback |
Node-style callback called with the error, if any, and Policy |
Returns:
Type | Description |
---|---|
undefined |
updatePolicy(request) → {Promise.<google.cloud.binaryauthorization.v1.Policy>}
Calls UpdatePolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.binaryauthorization.v1.IUpdatePolicyRequest |
UpdatePolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.binaryauthorization.v1.Policy> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {BinauthzManagementServiceV1}
Creates new BinauthzManagementServiceV1 service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
BinauthzManagementServiceV1 |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
CreateAttestorCallback(error, responseopt)
Callback as used by createAttestor.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.binaryauthorization.v1.Attestor |
<optional> |
Attestor |
DeleteAttestorCallback(error, responseopt)
Callback as used by deleteAttestor.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
GetAttestorCallback(error, responseopt)
Callback as used by getAttestor.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.binaryauthorization.v1.Attestor |
<optional> |
Attestor |
GetPolicyCallback(error, responseopt)
Callback as used by getPolicy.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.binaryauthorization.v1.Policy |
<optional> |
Policy |
ListAttestorsCallback(error, responseopt)
Callback as used by listAttestors.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.binaryauthorization.v1.ListAttestorsResponse |
<optional> |
ListAttestorsResponse |
UpdateAttestorCallback(error, responseopt)
Callback as used by updateAttestor.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.binaryauthorization.v1.Attestor |
<optional> |
Attestor |
UpdatePolicyCallback(error, responseopt)
Callback as used by updatePolicy.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.binaryauthorization.v1.Policy |
<optional> |
Policy |