Represents a ContainerAnalysis
Inheritance
$protobuf.rpc.Service > protos.google.devtools.containeranalysis.v1.ContainerAnalysisPackage
@google-cloud/containeranalysis!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ContainerAnalysis 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): ContainerAnalysis;
Creates new ContainerAnalysis 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 |
ContainerAnalysis | RPC service. Useful where requests and/or responses are streamed. |
getIamPolicy(request, callback)
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.devtools.containeranalysis.v1.ContainerAnalysis.GetIamPolicyCallback): void;
Calls GetIamPolicy.
Name | Description |
request |
google.iam.v1.IGetIamPolicyRequest
GetIamPolicyRequest message or plain object |
callback |
google.devtools.containeranalysis.v1.ContainerAnalysis.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 |
getVulnerabilityOccurrencesSummary(request, callback)
public getVulnerabilityOccurrencesSummary(request: google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest, callback: google.devtools.containeranalysis.v1.ContainerAnalysis.GetVulnerabilityOccurrencesSummaryCallback): void;
Calls GetVulnerabilityOccurrencesSummary.
Name | Description |
request |
IGetVulnerabilityOccurrencesSummaryRequest
GetVulnerabilityOccurrencesSummaryRequest message or plain object |
callback |
google.devtools.containeranalysis.v1.ContainerAnalysis.GetVulnerabilityOccurrencesSummaryCallback
Node-style callback called with the error, if any, and VulnerabilityOccurrencesSummary |
Type | Description |
void |
getVulnerabilityOccurrencesSummary(request)
public getVulnerabilityOccurrencesSummary(request: google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest): Promise<google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary>;
Calls GetVulnerabilityOccurrencesSummary.
Name | Description |
request |
IGetVulnerabilityOccurrencesSummaryRequest
GetVulnerabilityOccurrencesSummaryRequest message or plain object |
Type | Description |
Promise<google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary> | Promise |
setIamPolicy(request, callback)
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.devtools.containeranalysis.v1.ContainerAnalysis.SetIamPolicyCallback): void;
Calls SetIamPolicy.
Name | Description |
request |
google.iam.v1.ISetIamPolicyRequest
SetIamPolicyRequest message or plain object |
callback |
google.devtools.containeranalysis.v1.ContainerAnalysis.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.v1.ContainerAnalysis.TestIamPermissionsCallback): void;
Calls TestIamPermissions.
Name | Description |
request |
ITestIamPermissionsRequest
TestIamPermissionsRequest message or plain object |
callback |
google.devtools.containeranalysis.v1.ContainerAnalysis.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 |