Represents a ContainerAnalysisV1Beta1
Inheritance
$protobuf.rpc.Service > protos.google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1Package
@google-cloud/containeranalysisConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new ContainerAnalysisV1Beta1 service.
| Parameters | |
|---|---|
| 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.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
| Returns | |
|---|---|
| Type | Description |
ContainerAnalysisV1Beta1 |
RPC service. Useful where requests and/or responses are streamed. |
exportSBOM(request, callback)
public exportSBOM(request: google.devtools.containeranalysis.v1beta1.IExportSBOMRequest, callback: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.ExportSBOMCallback): void;Calls ExportSBOM.
| Parameters | |
|---|---|
| Name | Description |
request |
IExportSBOMRequest
ExportSBOMRequest message or plain object |
callback |
ExportSBOMCallback
Node-style callback called with the error, if any, and ExportSBOMResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
exportSBOM(request)
public exportSBOM(request: google.devtools.containeranalysis.v1beta1.IExportSBOMRequest): Promise<google.devtools.containeranalysis.v1beta1.ExportSBOMResponse>;Calls ExportSBOM.
| Parameter | |
|---|---|
| Name | Description |
request |
IExportSBOMRequest
ExportSBOMRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.devtools.containeranalysis.v1beta1.ExportSBOMResponse> |
Promise |
generatePackagesSummary(request, callback)
public generatePackagesSummary(request: google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest, callback: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GeneratePackagesSummaryCallback): void;Calls GeneratePackagesSummary.
| Parameters | |
|---|---|
| Name | Description |
request |
IGeneratePackagesSummaryRequest
GeneratePackagesSummaryRequest message or plain object |
callback |
GeneratePackagesSummaryCallback
Node-style callback called with the error, if any, and PackagesSummaryResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
generatePackagesSummary(request)
public generatePackagesSummary(request: google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest): Promise<google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse>;Calls GeneratePackagesSummary.
| Parameter | |
|---|---|
| Name | Description |
request |
IGeneratePackagesSummaryRequest
GeneratePackagesSummaryRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse> |
Promise |
getIamPolicy(request, callback)
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetIamPolicyCallback): void;Calls GetIamPolicy.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetIamPolicyRequest
GetIamPolicyRequest message or plain object |
callback |
GetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
| Returns | |
|---|---|
| Type | Description |
void |
|
getIamPolicy(request)
public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise<google.iam.v1.Policy>;Calls GetIamPolicy.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetIamPolicyRequest
GetIamPolicyRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.iam.v1.Policy> |
Promise |
setIamPolicy(request, callback)
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.SetIamPolicyCallback): void;Calls SetIamPolicy.
| Parameters | |
|---|---|
| Name | Description |
request |
ISetIamPolicyRequest
SetIamPolicyRequest message or plain object |
callback |
SetIamPolicyCallback
Node-style callback called with the error, if any, and Policy |
| Returns | |
|---|---|
| Type | Description |
void |
|
setIamPolicy(request)
public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise<google.iam.v1.Policy>;Calls SetIamPolicy.
| Parameter | |
|---|---|
| Name | Description |
request |
ISetIamPolicyRequest
SetIamPolicyRequest message or plain object |
| Returns | |
|---|---|
| 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.
| Parameters | |
|---|---|
| Name | Description |
request |
ITestIamPermissionsRequest
TestIamPermissionsRequest message or plain object |
callback |
TestIamPermissionsCallback
Node-style callback called with the error, if any, and TestIamPermissionsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
testIamPermissions(request)
public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise<google.iam.v1.TestIamPermissionsResponse>;Calls TestIamPermissions.
| Parameter | |
|---|---|
| Name | Description |
request |
ITestIamPermissionsRequest
TestIamPermissionsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.iam.v1.TestIamPermissionsResponse> |
Promise |