Represents a ContainerAnalysisV1Beta1
Inheritance
$protobuf.rpc.Service > protos.google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Package
@google-cloud/containeranalysis!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new ContainerAnalysisV1Beta1 service.
| 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): ContainerAnalysisV1Beta1;Creates new ContainerAnalysisV1Beta1 service using the specified rpc implementation.
| Name | Description |
| rpcImpl |
$protobuf.RPCImpl
RPC implementation |
| requestDelimited |
boolean
Whether requests are length-delimited |
| responseDelimited |
boolean
Whether responses are length-delimited |
| Type | Description |
| ContainerAnalysisV1Beta1 | RPC service. Useful where requests and/or responses are streamed. |
getIamPolicy(request, callback)
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetIamPolicyCallback): void;Calls GetIamPolicy.
| Name | Description |
| request |
google.iam.v1.IGetIamPolicyRequest
GetIamPolicyRequest message or plain object |
| callback |
google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
| Type | Description |
| void |
getIamPolicy(request)
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise<google.iam.v1.Policy>;Calls GetIamPolicy.
| Name | Description |
| request |
google.iam.v1.IGetIamPolicyRequest
GetIamPolicyRequest message or plain object |
| Type | Description |
| Promise<google.iam.v1.Policy> | Promise |
getScanConfig(request, callback)
public getScanConfig(request: google.devtools.containeranalysis.v1beta1.IGetScanConfigRequest, callback: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetScanConfigCallback): void;Calls GetScanConfig.
| Name | Description |
| request |
google.devtools.containeranalysis.v1beta1.IGetScanConfigRequest
GetScanConfigRequest message or plain object |
| callback |
google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetScanConfigCallback
Node-style callback called with the error, if any, and ScanConfig |
| Type | Description |
| void |
getScanConfig(request)
public getScanConfig(request: google.devtools.containeranalysis.v1beta1.IGetScanConfigRequest): Promise<google.devtools.containeranalysis.v1beta1.ScanConfig>;Calls GetScanConfig.
| Name | Description |
| request |
google.devtools.containeranalysis.v1beta1.IGetScanConfigRequest
GetScanConfigRequest message or plain object |
| Type | Description |
| Promise<google.devtools.containeranalysis.v1beta1.ScanConfig> | Promise |
listScanConfigs(request, callback)
public listScanConfigs(request: google.devtools.containeranalysis.v1beta1.IListScanConfigsRequest, callback: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.ListScanConfigsCallback): void;Calls ListScanConfigs.
| Name | Description |
| request |
google.devtools.containeranalysis.v1beta1.IListScanConfigsRequest
ListScanConfigsRequest message or plain object |
| callback |
google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.ListScanConfigsCallback
Node-style callback called with the error, if any, and ListScanConfigsResponse |
| Type | Description |
| void |
listScanConfigs(request)
public listScanConfigs(request: google.devtools.containeranalysis.v1beta1.IListScanConfigsRequest): Promise<google.devtools.containeranalysis.v1beta1.ListScanConfigsResponse>;Calls ListScanConfigs.
| Name | Description |
| request |
google.devtools.containeranalysis.v1beta1.IListScanConfigsRequest
ListScanConfigsRequest message or plain object |
| Type | Description |
| Promise<google.devtools.containeranalysis.v1beta1.ListScanConfigsResponse> | Promise |
setIamPolicy(request, callback)
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.SetIamPolicyCallback): void;Calls SetIamPolicy.
| Name | Description |
| request |
google.iam.v1.ISetIamPolicyRequest
SetIamPolicyRequest message or plain object |
| callback |
google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.SetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
| Type | Description |
| void |
setIamPolicy(request)
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise<google.iam.v1.Policy>;Calls SetIamPolicy.
| Name | Description |
| request |
google.iam.v1.ISetIamPolicyRequest
SetIamPolicyRequest message or plain object |
| Type | Description |
| Promise<google.iam.v1.Policy> | Promise |
testIamPermissions(request, callback)
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.TestIamPermissionsCallback): void;Calls TestIamPermissions.
| Name | Description |
| request |
ITestIamPermissionsRequest
TestIamPermissionsRequest message or plain object |
| callback |
google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.TestIamPermissionsCallback
Node-style callback called with the error, if any, and TestIamPermissionsResponse |
| Type | Description |
| void |
testIamPermissions(request)
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise<google.iam.v1.TestIamPermissionsResponse>;Calls TestIamPermissions.
| Name | Description |
| request |
ITestIamPermissionsRequest
TestIamPermissionsRequest message or plain object |
| Type | Description |
| Promise<google.iam.v1.TestIamPermissionsResponse> | Promise |
updateScanConfig(request, callback)
public updateScanConfig(request: google.devtools.containeranalysis.v1beta1.IUpdateScanConfigRequest, callback: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.UpdateScanConfigCallback): void;Calls UpdateScanConfig.
| Name | Description |
| request |
IUpdateScanConfigRequest
UpdateScanConfigRequest message or plain object |
| callback |
google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.UpdateScanConfigCallback
Node-style callback called with the error, if any, and ScanConfig |
| Type | Description |
| void |
updateScanConfig(request)
public updateScanConfig(request: google.devtools.containeranalysis.v1beta1.IUpdateScanConfigRequest): Promise<google.devtools.containeranalysis.v1beta1.ScanConfig>;Calls UpdateScanConfig.
| Name | Description |
| request |
IUpdateScanConfigRequest
UpdateScanConfigRequest message or plain object |
| Type | Description |
| Promise<google.devtools.containeranalysis.v1beta1.ScanConfig> | Promise |