ContainerAnalysis

google.devtools.containeranalysis.v1. ContainerAnalysis

Represents a ContainerAnalysis

Constructor

new ContainerAnalysis(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new ContainerAnalysis 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

getIamPolicy(request, callback) → {undefined}

Calls GetIamPolicy.

Parameters:
Name Type 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

Returns:
Type Description
undefined

getIamPolicy(request) → {Promise.<google.iam.v1.Policy>}

Calls GetIamPolicy.

Parameters:
Name Type Description
request google.iam.v1.IGetIamPolicyRequest

GetIamPolicyRequest message or plain object

Returns:
Type Description
Promise.<google.iam.v1.Policy>

Promise

getVulnerabilityOccurrencesSummary(request, callback) → {undefined}

Calls GetVulnerabilityOccurrencesSummary.

Parameters:
Name Type Description
request google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest

GetVulnerabilityOccurrencesSummaryRequest message or plain object

callback google.devtools.containeranalysis.v1.ContainerAnalysis.GetVulnerabilityOccurrencesSummaryCallback

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

Returns:
Type Description
undefined

getVulnerabilityOccurrencesSummary(request) → {Promise.<google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary>}

Calls GetVulnerabilityOccurrencesSummary.

Parameters:
Name Type Description
request google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest

GetVulnerabilityOccurrencesSummaryRequest message or plain object

Returns:
Type Description
Promise.<google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary>

Promise

setIamPolicy(request, callback) → {undefined}

Calls SetIamPolicy.

Parameters:
Name Type 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

Returns:
Type Description
undefined

setIamPolicy(request) → {Promise.<google.iam.v1.Policy>}

Calls SetIamPolicy.

Parameters:
Name Type Description
request google.iam.v1.ISetIamPolicyRequest

SetIamPolicyRequest message or plain object

Returns:
Type Description
Promise.<google.iam.v1.Policy>

Promise

testIamPermissions(request, callback) → {undefined}

Calls TestIamPermissions.

Parameters:
Name Type Description
request google.iam.v1.ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

callback google.devtools.containeranalysis.v1.ContainerAnalysis.TestIamPermissionsCallback

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

Returns:
Type Description
undefined

testIamPermissions(request) → {Promise.<google.iam.v1.TestIamPermissionsResponse>}

Calls TestIamPermissions.

Parameters:
Name Type Description
request google.iam.v1.ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

Returns:
Type Description
Promise.<google.iam.v1.TestIamPermissionsResponse>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {ContainerAnalysis}

Creates new ContainerAnalysis 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
ContainerAnalysis

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

Type Definitions

GetIamPolicyCallback(error, responseopt)

Callback as used by getIamPolicy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.iam.v1.Policy <optional>

Policy

GetVulnerabilityOccurrencesSummaryCallback(error, responseopt)

Callback as used by getVulnerabilityOccurrencesSummary.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary <optional>

VulnerabilityOccurrencesSummary

SetIamPolicyCallback(error, responseopt)

Callback as used by setIamPolicy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.iam.v1.Policy <optional>

Policy

TestIamPermissionsCallback(error, responseopt)

Callback as used by testIamPermissions.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.iam.v1.TestIamPermissionsResponse <optional>

TestIamPermissionsResponse