Constructor
new ContainerAnalysisV1Beta1(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new ContainerAnalysisV1Beta1 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
exportSBOM(request, callback) → {undefined}
Calls ExportSBOM.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.devtools.containeranalysis.v1beta1.IExportSBOMRequest |
ExportSBOMRequest message or plain object |
callback |
google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.ExportSBOMCallback |
Node-style callback called with the error, if any, and ExportSBOMResponse |
Returns:
Type | Description |
---|---|
undefined |
exportSBOM(request) → {Promise.<google.devtools.containeranalysis.v1beta1.ExportSBOMResponse>}
Calls ExportSBOM.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.devtools.containeranalysis.v1beta1.IExportSBOMRequest |
ExportSBOMRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.devtools.containeranalysis.v1beta1.ExportSBOMResponse> |
Promise |
generatePackagesSummary(request, callback) → {undefined}
Calls GeneratePackagesSummary.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest |
GeneratePackagesSummaryRequest message or plain object |
callback |
google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GeneratePackagesSummaryCallback |
Node-style callback called with the error, if any, and PackagesSummaryResponse |
Returns:
Type | Description |
---|---|
undefined |
generatePackagesSummary(request) → {Promise.<google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse>}
Calls GeneratePackagesSummary.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest |
GeneratePackagesSummaryRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse> |
Promise |
getIamPolicy(request, callback) → {undefined}
Calls GetIamPolicy.
Parameters:
Name | Type | 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 |
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 |
setIamPolicy(request, callback) → {undefined}
Calls SetIamPolicy.
Parameters:
Name | Type | 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 |
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.v1beta1.ContainerAnalysisV1Beta1.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) → {ContainerAnalysisV1Beta1}
Creates new ContainerAnalysisV1Beta1 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 |
---|---|
ContainerAnalysisV1Beta1 |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
ExportSBOMCallback(error, responseopt)
Callback as used by exportSBOM.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.devtools.containeranalysis.v1beta1.ExportSBOMResponse |
<optional> |
ExportSBOMResponse |
GeneratePackagesSummaryCallback(error, responseopt)
Callback as used by generatePackagesSummary.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse |
<optional> |
PackagesSummaryResponse |
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 |
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 |