Represents a GrafeasV1Beta1
Inheritance
$protobuf.rpc.Service > protos.grafeas.v1beta1.GrafeasV1Beta1Package
@google-cloud/containeranalysisConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new GrafeasV1Beta1 service.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
batchCreateNotes(request, callback)
public batchCreateNotes(request: grafeas.v1beta1.IBatchCreateNotesRequest, callback: grafeas.v1beta1.GrafeasV1Beta1.BatchCreateNotesCallback): void;
Calls BatchCreateNotes.
Parameters | |
---|---|
Name | Description |
request |
IBatchCreateNotesRequest
BatchCreateNotesRequest message or plain object |
callback |
grafeas.v1beta1.GrafeasV1Beta1.BatchCreateNotesCallback
Node-style callback called with the error, if any, and BatchCreateNotesResponse |
Returns | |
---|---|
Type | Description |
void |
batchCreateNotes(request)
public batchCreateNotes(request: grafeas.v1beta1.IBatchCreateNotesRequest): Promise<grafeas.v1beta1.BatchCreateNotesResponse>;
Calls BatchCreateNotes.
Parameter | |
---|---|
Name | Description |
request |
IBatchCreateNotesRequest
BatchCreateNotesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<grafeas.v1beta1.BatchCreateNotesResponse> | Promise |
batchCreateOccurrences(request, callback)
public batchCreateOccurrences(request: grafeas.v1beta1.IBatchCreateOccurrencesRequest, callback: grafeas.v1beta1.GrafeasV1Beta1.BatchCreateOccurrencesCallback): void;
Calls BatchCreateOccurrences.
Parameters | |
---|---|
Name | Description |
request |
IBatchCreateOccurrencesRequest
BatchCreateOccurrencesRequest message or plain object |
callback |
grafeas.v1beta1.GrafeasV1Beta1.BatchCreateOccurrencesCallback
Node-style callback called with the error, if any, and BatchCreateOccurrencesResponse |
Returns | |
---|---|
Type | Description |
void |
batchCreateOccurrences(request)
public batchCreateOccurrences(request: grafeas.v1beta1.IBatchCreateOccurrencesRequest): Promise<grafeas.v1beta1.BatchCreateOccurrencesResponse>;
Calls BatchCreateOccurrences.
Parameter | |
---|---|
Name | Description |
request |
IBatchCreateOccurrencesRequest
BatchCreateOccurrencesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<grafeas.v1beta1.BatchCreateOccurrencesResponse> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GrafeasV1Beta1;
Creates new GrafeasV1Beta1 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 |
GrafeasV1Beta1 | RPC service. Useful where requests and/or responses are streamed. |
createNote(request, callback)
public createNote(request: grafeas.v1beta1.ICreateNoteRequest, callback: grafeas.v1beta1.GrafeasV1Beta1.CreateNoteCallback): void;
Calls CreateNote.
Parameters | |
---|---|
Name | Description |
request |
ICreateNoteRequest
CreateNoteRequest message or plain object |
callback |
grafeas.v1beta1.GrafeasV1Beta1.CreateNoteCallback
Node-style callback called with the error, if any, and Note |
Returns | |
---|---|
Type | Description |
void |
createNote(request)
public createNote(request: grafeas.v1beta1.ICreateNoteRequest): Promise<grafeas.v1beta1.Note>;
Calls CreateNote.
Parameter | |
---|---|
Name | Description |
request |
ICreateNoteRequest
CreateNoteRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<grafeas.v1beta1.Note> | Promise |
createOccurrence(request, callback)
public createOccurrence(request: grafeas.v1beta1.ICreateOccurrenceRequest, callback: grafeas.v1beta1.GrafeasV1Beta1.CreateOccurrenceCallback): void;
Calls CreateOccurrence.
Parameters | |
---|---|
Name | Description |
request |
ICreateOccurrenceRequest
CreateOccurrenceRequest message or plain object |
callback |
grafeas.v1beta1.GrafeasV1Beta1.CreateOccurrenceCallback
Node-style callback called with the error, if any, and Occurrence |
Returns | |
---|---|
Type | Description |
void |
createOccurrence(request)
public createOccurrence(request: grafeas.v1beta1.ICreateOccurrenceRequest): Promise<grafeas.v1beta1.Occurrence>;
Calls CreateOccurrence.
Parameter | |
---|---|
Name | Description |
request |
ICreateOccurrenceRequest
CreateOccurrenceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<grafeas.v1beta1.Occurrence> | Promise |
deleteNote(request, callback)
public deleteNote(request: grafeas.v1beta1.IDeleteNoteRequest, callback: grafeas.v1beta1.GrafeasV1Beta1.DeleteNoteCallback): void;
Calls DeleteNote.
Parameters | |
---|---|
Name | Description |
request |
IDeleteNoteRequest
DeleteNoteRequest message or plain object |
callback |
grafeas.v1beta1.GrafeasV1Beta1.DeleteNoteCallback
Node-style callback called with the error, if any, and Empty |
Returns | |
---|---|
Type | Description |
void |
deleteNote(request)
public deleteNote(request: grafeas.v1beta1.IDeleteNoteRequest): Promise<google.protobuf.Empty>;
Calls DeleteNote.
Parameter | |
---|---|
Name | Description |
request |
IDeleteNoteRequest
DeleteNoteRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.protobuf.Empty> | Promise |
deleteOccurrence(request, callback)
public deleteOccurrence(request: grafeas.v1beta1.IDeleteOccurrenceRequest, callback: grafeas.v1beta1.GrafeasV1Beta1.DeleteOccurrenceCallback): void;
Calls DeleteOccurrence.
Parameters | |
---|---|
Name | Description |
request |
IDeleteOccurrenceRequest
DeleteOccurrenceRequest message or plain object |
callback |
grafeas.v1beta1.GrafeasV1Beta1.DeleteOccurrenceCallback
Node-style callback called with the error, if any, and Empty |
Returns | |
---|---|
Type | Description |
void |
deleteOccurrence(request)
public deleteOccurrence(request: grafeas.v1beta1.IDeleteOccurrenceRequest): Promise<google.protobuf.Empty>;
Calls DeleteOccurrence.
Parameter | |
---|---|
Name | Description |
request |
IDeleteOccurrenceRequest
DeleteOccurrenceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getNote(request, callback)
public getNote(request: grafeas.v1beta1.IGetNoteRequest, callback: grafeas.v1beta1.GrafeasV1Beta1.GetNoteCallback): void;
Calls GetNote.
Parameters | |
---|---|
Name | Description |
request |
IGetNoteRequest
GetNoteRequest message or plain object |
callback |
grafeas.v1beta1.GrafeasV1Beta1.GetNoteCallback
Node-style callback called with the error, if any, and Note |
Returns | |
---|---|
Type | Description |
void |
getNote(request)
public getNote(request: grafeas.v1beta1.IGetNoteRequest): Promise<grafeas.v1beta1.Note>;
Calls GetNote.
Parameter | |
---|---|
Name | Description |
request |
IGetNoteRequest
GetNoteRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<grafeas.v1beta1.Note> | Promise |
getOccurrence(request, callback)
public getOccurrence(request: grafeas.v1beta1.IGetOccurrenceRequest, callback: grafeas.v1beta1.GrafeasV1Beta1.GetOccurrenceCallback): void;
Calls GetOccurrence.
Parameters | |
---|---|
Name | Description |
request |
grafeas.v1beta1.IGetOccurrenceRequest
GetOccurrenceRequest message or plain object |
callback |
grafeas.v1beta1.GrafeasV1Beta1.GetOccurrenceCallback
Node-style callback called with the error, if any, and Occurrence |
Returns | |
---|---|
Type | Description |
void |
getOccurrence(request)
public getOccurrence(request: grafeas.v1beta1.IGetOccurrenceRequest): Promise<grafeas.v1beta1.Occurrence>;
Calls GetOccurrence.
Parameter | |
---|---|
Name | Description |
request |
grafeas.v1beta1.IGetOccurrenceRequest
GetOccurrenceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<grafeas.v1beta1.Occurrence> | Promise |
getOccurrenceNote(request, callback)
public getOccurrenceNote(request: grafeas.v1beta1.IGetOccurrenceNoteRequest, callback: grafeas.v1beta1.GrafeasV1Beta1.GetOccurrenceNoteCallback): void;
Calls GetOccurrenceNote.
Parameters | |
---|---|
Name | Description |
request |
IGetOccurrenceNoteRequest
GetOccurrenceNoteRequest message or plain object |
callback |
grafeas.v1beta1.GrafeasV1Beta1.GetOccurrenceNoteCallback
Node-style callback called with the error, if any, and Note |
Returns | |
---|---|
Type | Description |
void |
getOccurrenceNote(request)
public getOccurrenceNote(request: grafeas.v1beta1.IGetOccurrenceNoteRequest): Promise<grafeas.v1beta1.Note>;
Calls GetOccurrenceNote.
Parameter | |
---|---|
Name | Description |
request |
IGetOccurrenceNoteRequest
GetOccurrenceNoteRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<grafeas.v1beta1.Note> | Promise |
getVulnerabilityOccurrencesSummary(request, callback)
public getVulnerabilityOccurrencesSummary(request: grafeas.v1beta1.IGetVulnerabilityOccurrencesSummaryRequest, callback: grafeas.v1beta1.GrafeasV1Beta1.GetVulnerabilityOccurrencesSummaryCallback): void;
Calls GetVulnerabilityOccurrencesSummary.
Parameters | |
---|---|
Name | Description |
request |
IGetVulnerabilityOccurrencesSummaryRequest
GetVulnerabilityOccurrencesSummaryRequest message or plain object |
callback |
grafeas.v1beta1.GrafeasV1Beta1.GetVulnerabilityOccurrencesSummaryCallback
Node-style callback called with the error, if any, and VulnerabilityOccurrencesSummary |
Returns | |
---|---|
Type | Description |
void |
getVulnerabilityOccurrencesSummary(request)
public getVulnerabilityOccurrencesSummary(request: grafeas.v1beta1.IGetVulnerabilityOccurrencesSummaryRequest): Promise<grafeas.v1beta1.VulnerabilityOccurrencesSummary>;
Calls GetVulnerabilityOccurrencesSummary.
Parameter | |
---|---|
Name | Description |
request |
IGetVulnerabilityOccurrencesSummaryRequest
GetVulnerabilityOccurrencesSummaryRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<grafeas.v1beta1.VulnerabilityOccurrencesSummary> | Promise |
listNoteOccurrences(request, callback)
public listNoteOccurrences(request: grafeas.v1beta1.IListNoteOccurrencesRequest, callback: grafeas.v1beta1.GrafeasV1Beta1.ListNoteOccurrencesCallback): void;
Calls ListNoteOccurrences.
Parameters | |
---|---|
Name | Description |
request |
grafeas.v1beta1.IListNoteOccurrencesRequest
ListNoteOccurrencesRequest message or plain object |
callback |
grafeas.v1beta1.GrafeasV1Beta1.ListNoteOccurrencesCallback
Node-style callback called with the error, if any, and ListNoteOccurrencesResponse |
Returns | |
---|---|
Type | Description |
void |
listNoteOccurrences(request)
public listNoteOccurrences(request: grafeas.v1beta1.IListNoteOccurrencesRequest): Promise<grafeas.v1beta1.ListNoteOccurrencesResponse>;
Calls ListNoteOccurrences.
Parameter | |
---|---|
Name | Description |
request |
grafeas.v1beta1.IListNoteOccurrencesRequest
ListNoteOccurrencesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<grafeas.v1beta1.ListNoteOccurrencesResponse> | Promise |
listNotes(request, callback)
public listNotes(request: grafeas.v1beta1.IListNotesRequest, callback: grafeas.v1beta1.GrafeasV1Beta1.ListNotesCallback): void;
Calls ListNotes.
Parameters | |
---|---|
Name | Description |
request |
IListNotesRequest
ListNotesRequest message or plain object |
callback |
grafeas.v1beta1.GrafeasV1Beta1.ListNotesCallback
Node-style callback called with the error, if any, and ListNotesResponse |
Returns | |
---|---|
Type | Description |
void |
listNotes(request)
public listNotes(request: grafeas.v1beta1.IListNotesRequest): Promise<grafeas.v1beta1.ListNotesResponse>;
Calls ListNotes.
Parameter | |
---|---|
Name | Description |
request |
IListNotesRequest
ListNotesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<grafeas.v1beta1.ListNotesResponse> | Promise |
listOccurrences(request, callback)
public listOccurrences(request: grafeas.v1beta1.IListOccurrencesRequest, callback: grafeas.v1beta1.GrafeasV1Beta1.ListOccurrencesCallback): void;
Calls ListOccurrences.
Parameters | |
---|---|
Name | Description |
request |
IListOccurrencesRequest
ListOccurrencesRequest message or plain object |
callback |
grafeas.v1beta1.GrafeasV1Beta1.ListOccurrencesCallback
Node-style callback called with the error, if any, and ListOccurrencesResponse |
Returns | |
---|---|
Type | Description |
void |
listOccurrences(request)
public listOccurrences(request: grafeas.v1beta1.IListOccurrencesRequest): Promise<grafeas.v1beta1.ListOccurrencesResponse>;
Calls ListOccurrences.
Parameter | |
---|---|
Name | Description |
request |
IListOccurrencesRequest
ListOccurrencesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<grafeas.v1beta1.ListOccurrencesResponse> | Promise |
updateNote(request, callback)
public updateNote(request: grafeas.v1beta1.IUpdateNoteRequest, callback: grafeas.v1beta1.GrafeasV1Beta1.UpdateNoteCallback): void;
Calls UpdateNote.
Parameters | |
---|---|
Name | Description |
request |
IUpdateNoteRequest
UpdateNoteRequest message or plain object |
callback |
grafeas.v1beta1.GrafeasV1Beta1.UpdateNoteCallback
Node-style callback called with the error, if any, and Note |
Returns | |
---|---|
Type | Description |
void |
updateNote(request)
public updateNote(request: grafeas.v1beta1.IUpdateNoteRequest): Promise<grafeas.v1beta1.Note>;
Calls UpdateNote.
Parameter | |
---|---|
Name | Description |
request |
IUpdateNoteRequest
UpdateNoteRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<grafeas.v1beta1.Note> | Promise |
updateOccurrence(request, callback)
public updateOccurrence(request: grafeas.v1beta1.IUpdateOccurrenceRequest, callback: grafeas.v1beta1.GrafeasV1Beta1.UpdateOccurrenceCallback): void;
Calls UpdateOccurrence.
Parameters | |
---|---|
Name | Description |
request |
IUpdateOccurrenceRequest
UpdateOccurrenceRequest message or plain object |
callback |
grafeas.v1beta1.GrafeasV1Beta1.UpdateOccurrenceCallback
Node-style callback called with the error, if any, and Occurrence |
Returns | |
---|---|
Type | Description |
void |
updateOccurrence(request)
public updateOccurrence(request: grafeas.v1beta1.IUpdateOccurrenceRequest): Promise<grafeas.v1beta1.Occurrence>;
Calls UpdateOccurrence.
Parameter | |
---|---|
Name | Description |
request |
IUpdateOccurrenceRequest
UpdateOccurrenceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<grafeas.v1beta1.Occurrence> | Promise |