@google-cloud/containeranalysis 5.5.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,249 @@
1
+ {
2
+ "schema": "1.0",
3
+ "comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
4
+ "language": "typescript",
5
+ "protoPackage": "google.devtools.containeranalysis.v1beta1",
6
+ "libraryPackage": "@google-cloud/containeranalysis",
7
+ "services": {
8
+ "ContainerAnalysisV1Beta1": {
9
+ "clients": {
10
+ "grpc": {
11
+ "libraryClient": "ContainerAnalysisV1Beta1Client",
12
+ "rpcs": {
13
+ "SetIamPolicy": {
14
+ "methods": [
15
+ "setIamPolicy"
16
+ ]
17
+ },
18
+ "GetIamPolicy": {
19
+ "methods": [
20
+ "getIamPolicy"
21
+ ]
22
+ },
23
+ "TestIamPermissions": {
24
+ "methods": [
25
+ "testIamPermissions"
26
+ ]
27
+ },
28
+ "GeneratePackagesSummary": {
29
+ "methods": [
30
+ "generatePackagesSummary"
31
+ ]
32
+ },
33
+ "ExportSBOM": {
34
+ "methods": [
35
+ "exportSBOM"
36
+ ]
37
+ }
38
+ }
39
+ },
40
+ "grpc-fallback": {
41
+ "libraryClient": "ContainerAnalysisV1Beta1Client",
42
+ "rpcs": {
43
+ "SetIamPolicy": {
44
+ "methods": [
45
+ "setIamPolicy"
46
+ ]
47
+ },
48
+ "GetIamPolicy": {
49
+ "methods": [
50
+ "getIamPolicy"
51
+ ]
52
+ },
53
+ "TestIamPermissions": {
54
+ "methods": [
55
+ "testIamPermissions"
56
+ ]
57
+ },
58
+ "GeneratePackagesSummary": {
59
+ "methods": [
60
+ "generatePackagesSummary"
61
+ ]
62
+ },
63
+ "ExportSBOM": {
64
+ "methods": [
65
+ "exportSBOM"
66
+ ]
67
+ }
68
+ }
69
+ }
70
+ }
71
+ },
72
+ "GrafeasV1Beta1": {
73
+ "clients": {
74
+ "grpc": {
75
+ "libraryClient": "GrafeasV1Beta1Client",
76
+ "rpcs": {
77
+ "GetOccurrence": {
78
+ "methods": [
79
+ "getOccurrence"
80
+ ]
81
+ },
82
+ "DeleteOccurrence": {
83
+ "methods": [
84
+ "deleteOccurrence"
85
+ ]
86
+ },
87
+ "CreateOccurrence": {
88
+ "methods": [
89
+ "createOccurrence"
90
+ ]
91
+ },
92
+ "BatchCreateOccurrences": {
93
+ "methods": [
94
+ "batchCreateOccurrences"
95
+ ]
96
+ },
97
+ "UpdateOccurrence": {
98
+ "methods": [
99
+ "updateOccurrence"
100
+ ]
101
+ },
102
+ "GetOccurrenceNote": {
103
+ "methods": [
104
+ "getOccurrenceNote"
105
+ ]
106
+ },
107
+ "GetNote": {
108
+ "methods": [
109
+ "getNote"
110
+ ]
111
+ },
112
+ "DeleteNote": {
113
+ "methods": [
114
+ "deleteNote"
115
+ ]
116
+ },
117
+ "CreateNote": {
118
+ "methods": [
119
+ "createNote"
120
+ ]
121
+ },
122
+ "BatchCreateNotes": {
123
+ "methods": [
124
+ "batchCreateNotes"
125
+ ]
126
+ },
127
+ "UpdateNote": {
128
+ "methods": [
129
+ "updateNote"
130
+ ]
131
+ },
132
+ "GetVulnerabilityOccurrencesSummary": {
133
+ "methods": [
134
+ "getVulnerabilityOccurrencesSummary"
135
+ ]
136
+ },
137
+ "ListOccurrences": {
138
+ "methods": [
139
+ "listOccurrences",
140
+ "listOccurrencesStream",
141
+ "listOccurrencesAsync"
142
+ ]
143
+ },
144
+ "ListNotes": {
145
+ "methods": [
146
+ "listNotes",
147
+ "listNotesStream",
148
+ "listNotesAsync"
149
+ ]
150
+ },
151
+ "ListNoteOccurrences": {
152
+ "methods": [
153
+ "listNoteOccurrences",
154
+ "listNoteOccurrencesStream",
155
+ "listNoteOccurrencesAsync"
156
+ ]
157
+ }
158
+ }
159
+ },
160
+ "grpc-fallback": {
161
+ "libraryClient": "GrafeasV1Beta1Client",
162
+ "rpcs": {
163
+ "GetOccurrence": {
164
+ "methods": [
165
+ "getOccurrence"
166
+ ]
167
+ },
168
+ "DeleteOccurrence": {
169
+ "methods": [
170
+ "deleteOccurrence"
171
+ ]
172
+ },
173
+ "CreateOccurrence": {
174
+ "methods": [
175
+ "createOccurrence"
176
+ ]
177
+ },
178
+ "BatchCreateOccurrences": {
179
+ "methods": [
180
+ "batchCreateOccurrences"
181
+ ]
182
+ },
183
+ "UpdateOccurrence": {
184
+ "methods": [
185
+ "updateOccurrence"
186
+ ]
187
+ },
188
+ "GetOccurrenceNote": {
189
+ "methods": [
190
+ "getOccurrenceNote"
191
+ ]
192
+ },
193
+ "GetNote": {
194
+ "methods": [
195
+ "getNote"
196
+ ]
197
+ },
198
+ "DeleteNote": {
199
+ "methods": [
200
+ "deleteNote"
201
+ ]
202
+ },
203
+ "CreateNote": {
204
+ "methods": [
205
+ "createNote"
206
+ ]
207
+ },
208
+ "BatchCreateNotes": {
209
+ "methods": [
210
+ "batchCreateNotes"
211
+ ]
212
+ },
213
+ "UpdateNote": {
214
+ "methods": [
215
+ "updateNote"
216
+ ]
217
+ },
218
+ "GetVulnerabilityOccurrencesSummary": {
219
+ "methods": [
220
+ "getVulnerabilityOccurrencesSummary"
221
+ ]
222
+ },
223
+ "ListOccurrences": {
224
+ "methods": [
225
+ "listOccurrences",
226
+ "listOccurrencesStream",
227
+ "listOccurrencesAsync"
228
+ ]
229
+ },
230
+ "ListNotes": {
231
+ "methods": [
232
+ "listNotes",
233
+ "listNotesStream",
234
+ "listNotesAsync"
235
+ ]
236
+ },
237
+ "ListNoteOccurrences": {
238
+ "methods": [
239
+ "listNoteOccurrences",
240
+ "listNoteOccurrencesStream",
241
+ "listNoteOccurrencesAsync"
242
+ ]
243
+ }
244
+ }
245
+ }
246
+ }
247
+ }
248
+ }
249
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type * as gax from 'google-gax';
3
2
  import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallback } from 'google-gax';
4
3
  import { Transform } from 'stream';
@@ -31,6 +30,7 @@ export declare class GrafeasV1Beta1Client {
31
30
  private _defaults;
32
31
  private _universeDomain;
33
32
  private _servicePath;
33
+ private _log;
34
34
  auth: gax.GoogleAuth;
35
35
  descriptors: Descriptors;
36
36
  warn: (code: string, message: string, warnType?: string) => void;
@@ -62,7 +62,7 @@ export declare class GrafeasV1Beta1Client {
62
62
  * Developer's Console, e.g. 'grape-spaceship-123'. We will also check
63
63
  * the environment variable GCLOUD_PROJECT for your project ID. If your
64
64
  * app is running in an environment which supports
65
- * {@link https://developers.google.com/identity/protocols/application-default-credentials Application Default Credentials},
65
+ * {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials},
66
66
  * your project ID will be detected automatically.
67
67
  * @param {string} [options.apiEndpoint] - The domain name of the
68
68
  * API remote host.
@@ -470,7 +470,7 @@ export declare class GrafeasV1Beta1Client {
470
470
  listOccurrences(request: protos.grafeas.v1beta1.IListOccurrencesRequest, options: CallOptions, callback: PaginationCallback<protos.grafeas.v1beta1.IListOccurrencesRequest, protos.grafeas.v1beta1.IListOccurrencesResponse | null | undefined, protos.grafeas.v1beta1.IOccurrence>): void;
471
471
  listOccurrences(request: protos.grafeas.v1beta1.IListOccurrencesRequest, callback: PaginationCallback<protos.grafeas.v1beta1.IListOccurrencesRequest, protos.grafeas.v1beta1.IListOccurrencesResponse | null | undefined, protos.grafeas.v1beta1.IOccurrence>): void;
472
472
  /**
473
- * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
473
+ * Equivalent to `listOccurrences`, but returns a NodeJS Stream object.
474
474
  * @param {Object} request
475
475
  * The request object that will be sent.
476
476
  * @param {string} request.parent
@@ -556,7 +556,7 @@ export declare class GrafeasV1Beta1Client {
556
556
  listNotes(request: protos.grafeas.v1beta1.IListNotesRequest, options: CallOptions, callback: PaginationCallback<protos.grafeas.v1beta1.IListNotesRequest, protos.grafeas.v1beta1.IListNotesResponse | null | undefined, protos.grafeas.v1beta1.INote>): void;
557
557
  listNotes(request: protos.grafeas.v1beta1.IListNotesRequest, callback: PaginationCallback<protos.grafeas.v1beta1.IListNotesRequest, protos.grafeas.v1beta1.IListNotesResponse | null | undefined, protos.grafeas.v1beta1.INote>): void;
558
558
  /**
559
- * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
559
+ * Equivalent to `listNotes`, but returns a NodeJS Stream object.
560
560
  * @param {Object} request
561
561
  * The request object that will be sent.
562
562
  * @param {string} request.parent
@@ -644,7 +644,7 @@ export declare class GrafeasV1Beta1Client {
644
644
  listNoteOccurrences(request: protos.grafeas.v1beta1.IListNoteOccurrencesRequest, options: CallOptions, callback: PaginationCallback<protos.grafeas.v1beta1.IListNoteOccurrencesRequest, protos.grafeas.v1beta1.IListNoteOccurrencesResponse | null | undefined, protos.grafeas.v1beta1.IOccurrence>): void;
645
645
  listNoteOccurrences(request: protos.grafeas.v1beta1.IListNoteOccurrencesRequest, callback: PaginationCallback<protos.grafeas.v1beta1.IListNoteOccurrencesRequest, protos.grafeas.v1beta1.IListNoteOccurrencesResponse | null | undefined, protos.grafeas.v1beta1.IOccurrence>): void;
646
646
  /**
647
- * Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
647
+ * Equivalent to `listNoteOccurrences`, but returns a NodeJS Stream object.
648
648
  * @param {Object} request
649
649
  * The request object that will be sent.
650
650
  * @param {string} request.name