@google-cloud/containeranalysis 5.0.1 → 5.2.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.
- package/CHANGELOG.md +26 -0
- package/README.md +46 -45
- package/build/protos/google/devtools/containeranalysis/v1beta1/containeranalysis.proto +23 -0
- package/build/protos/protos.d.ts +216 -1
- package/build/protos/protos.js +440 -1
- package/build/protos/protos.json +35 -0
- package/build/src/index.js +1 -1
- package/build/src/v1/container_analysis_client.d.ts +13 -5
- package/build/src/v1/container_analysis_client.js +40 -14
- package/build/src/v1beta1/container_analysis_v1_beta1_client.d.ts +37 -5
- package/build/src/v1beta1/container_analysis_v1_beta1_client.js +62 -14
- package/build/src/v1beta1/container_analysis_v1_beta1_client_config.json +4 -0
- package/build/src/v1beta1/grafeas_v1_beta1_client.d.ts +13 -5
- package/build/src/v1beta1/grafeas_v1_beta1_client.js +40 -14
- package/package.json +12 -7
- package/build/src/v1/grafeas_client.d.ts +0 -764
- package/build/src/v1/grafeas_client.js +0 -928
- package/build/src/v1/grafeas_client_config.json +0 -82
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,32 @@
|
|
|
4
4
|
|
|
5
5
|
[1]: https://www.npmjs.com/package/@google-cloud/containeranalysis?activeTab=versions
|
|
6
6
|
|
|
7
|
+
## [5.2.0](https://github.com/googleapis/google-cloud-node/compare/containeranalysis-v5.1.1...containeranalysis-v5.2.0) (2024-02-09)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* Trusted Private Cloud support, use the universeDomain parameter ([#5029](https://github.com/googleapis/google-cloud-node/issues/5029)) ([09e59ad](https://github.com/googleapis/google-cloud-node/commit/09e59ad6e34001a33d01894ccd5a0643f1a84883))
|
|
13
|
+
|
|
14
|
+
## [5.1.1](https://github.com/googleapis/google-cloud-node/compare/containeranalysis-v5.1.0...containeranalysis-v5.1.1) (2023-09-11)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* Publication issues with containeranalysis and policytroubleshooter ([#4628](https://github.com/googleapis/google-cloud-node/issues/4628)) ([2ba7b48](https://github.com/googleapis/google-cloud-node/commit/2ba7b489e6109e5bf3d5e7276a0b94558ebd48d0))
|
|
20
|
+
|
|
21
|
+
## [5.1.0](https://github.com/googleapis/google-cloud-node/compare/containeranalysis-v5.0.1...containeranalysis-v5.1.0) (2023-09-06)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* [containeranalysis] add ExportSBOM API method ([#4607](https://github.com/googleapis/google-cloud-node/issues/4607)) ([8443053](https://github.com/googleapis/google-cloud-node/commit/8443053fb025ea54d4381e622684776b99b8081c))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
* [Many APIs] simplify logic for HTTP/1.1 REST fallback option ([#4589](https://github.com/googleapis/google-cloud-node/issues/4589)) ([07967ad](https://github.com/googleapis/google-cloud-node/commit/07967add1b5fc28b548cf74721b595ea0ba90d5b))
|
|
32
|
+
|
|
7
33
|
## [5.0.1](https://github.com/googleapis/google-cloud-node/compare/containeranalysis-v5.0.0...containeranalysis-v5.0.1) (2023-08-09)
|
|
8
34
|
|
|
9
35
|
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
[//]: # "To regenerate it, use `python -m synthtool`."
|
|
3
3
|
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
|
|
4
4
|
|
|
5
|
-
# [Google Container Analysis: Node.js Client](googleapis/
|
|
5
|
+
# [Google Container Analysis: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-devtools-containeranalysis)
|
|
6
6
|
|
|
7
7
|
[](https://cloud.google.com/terms/launch-stages)
|
|
8
8
|
[](https://www.npmjs.org/package/@google-cloud/containeranalysis)
|
|
@@ -14,11 +14,11 @@ Containeranalysis client for Node.js
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
A comprehensive list of changes in each version may be found in
|
|
17
|
-
[the CHANGELOG](googleapis/
|
|
17
|
+
[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-devtools-containeranalysis/CHANGELOG.md).
|
|
18
18
|
|
|
19
19
|
* [Google Container Analysis Node.js Client API Reference][client-docs]
|
|
20
20
|
* [Google Container Analysis Documentation][product-docs]
|
|
21
|
-
* [github.com/googleapis/
|
|
21
|
+
* [github.com/googleapis/google-cloud-node/packages/google-devtools-containeranalysis](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-devtools-containeranalysis)
|
|
22
22
|
|
|
23
23
|
Read more about the client libraries for Cloud APIs, including the older
|
|
24
24
|
Google APIs Client Libraries, in [Client Libraries Explained][explained].
|
|
@@ -58,51 +58,52 @@ npm install @google-cloud/containeranalysis
|
|
|
58
58
|
|
|
59
59
|
## Samples
|
|
60
60
|
|
|
61
|
-
Samples are in the [`samples/`](googleapis/
|
|
61
|
+
Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-devtools-containeranalysis/samples) directory. Each sample's `README.md` has instructions for running its sample.
|
|
62
62
|
|
|
63
63
|
| Sample | Source Code | Try it |
|
|
64
64
|
| --------------------------- | --------------------------------- | ------ |
|
|
65
|
-
| Container_analysis.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.get_iam_policy.js,
|
|
66
|
-
| Container_analysis.get_vulnerability_occurrences_summary | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.get_vulnerability_occurrences_summary.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.get_vulnerability_occurrences_summary.js,
|
|
67
|
-
| Container_analysis.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.set_iam_policy.js,
|
|
68
|
-
| Container_analysis.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.test_iam_permissions.js,
|
|
69
|
-
| Grafeas.batch_create_notes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.batch_create_notes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.batch_create_notes.js,
|
|
70
|
-
| Grafeas.batch_create_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.batch_create_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.batch_create_occurrences.js,
|
|
71
|
-
| Grafeas.create_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.create_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.create_note.js,
|
|
72
|
-
| Grafeas.create_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.create_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.create_occurrence.js,
|
|
73
|
-
| Grafeas.delete_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.delete_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.delete_note.js,
|
|
74
|
-
| Grafeas.delete_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.delete_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.delete_occurrence.js,
|
|
75
|
-
| Grafeas.get_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.get_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.get_note.js,
|
|
76
|
-
| Grafeas.get_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.get_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.get_occurrence.js,
|
|
77
|
-
| Grafeas.get_occurrence_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.get_occurrence_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.get_occurrence_note.js,
|
|
78
|
-
| Grafeas.list_note_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.list_note_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.list_note_occurrences.js,
|
|
79
|
-
| Grafeas.list_notes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.list_notes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.list_notes.js,
|
|
80
|
-
| Grafeas.list_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.list_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.list_occurrences.js,
|
|
81
|
-
| Grafeas.update_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.update_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.update_note.js,
|
|
82
|
-
| Grafeas.update_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.update_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.update_occurrence.js,
|
|
83
|
-
| Container_analysis_v1_beta1.
|
|
84
|
-
| Container_analysis_v1_beta1.
|
|
85
|
-
| Container_analysis_v1_beta1.
|
|
86
|
-
| Container_analysis_v1_beta1.
|
|
87
|
-
| Container_analysis_v1_beta1.
|
|
88
|
-
| Container_analysis_v1_beta1.
|
|
89
|
-
| Container_analysis_v1_beta1.
|
|
90
|
-
|
|
|
91
|
-
| Grafeas_v1_beta1.
|
|
92
|
-
| Grafeas_v1_beta1.
|
|
93
|
-
| Grafeas_v1_beta1.
|
|
94
|
-
| Grafeas_v1_beta1.
|
|
95
|
-
| Grafeas_v1_beta1.
|
|
96
|
-
| Grafeas_v1_beta1.
|
|
97
|
-
| Grafeas_v1_beta1.
|
|
98
|
-
| Grafeas_v1_beta1.
|
|
99
|
-
| Grafeas_v1_beta1.
|
|
100
|
-
| Grafeas_v1_beta1.
|
|
101
|
-
| Grafeas_v1_beta1.
|
|
102
|
-
| Grafeas_v1_beta1.
|
|
103
|
-
| Grafeas_v1_beta1.
|
|
104
|
-
| Grafeas_v1_beta1.
|
|
105
|
-
|
|
|
65
|
+
| Container_analysis.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.get_iam_policy.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
66
|
+
| Container_analysis.get_vulnerability_occurrences_summary | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.get_vulnerability_occurrences_summary.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.get_vulnerability_occurrences_summary.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
67
|
+
| Container_analysis.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.set_iam_policy.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
68
|
+
| Container_analysis.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.test_iam_permissions.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
69
|
+
| Grafeas.batch_create_notes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.batch_create_notes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.batch_create_notes.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
70
|
+
| Grafeas.batch_create_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.batch_create_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.batch_create_occurrences.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
71
|
+
| Grafeas.create_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.create_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.create_note.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
72
|
+
| Grafeas.create_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.create_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.create_occurrence.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
73
|
+
| Grafeas.delete_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.delete_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.delete_note.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
74
|
+
| Grafeas.delete_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.delete_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.delete_occurrence.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
75
|
+
| Grafeas.get_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.get_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.get_note.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
76
|
+
| Grafeas.get_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.get_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.get_occurrence.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
77
|
+
| Grafeas.get_occurrence_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.get_occurrence_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.get_occurrence_note.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
78
|
+
| Grafeas.list_note_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.list_note_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.list_note_occurrences.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
79
|
+
| Grafeas.list_notes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.list_notes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.list_notes.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
80
|
+
| Grafeas.list_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.list_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.list_occurrences.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
81
|
+
| Grafeas.update_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.update_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.update_note.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
82
|
+
| Grafeas.update_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.update_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1/grafeas.update_occurrence.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
83
|
+
| Container_analysis_v1_beta1.export_s_b_o_m | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.export_s_b_o_m.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.export_s_b_o_m.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
84
|
+
| Container_analysis_v1_beta1.generate_packages_summary | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.generate_packages_summary.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.generate_packages_summary.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
85
|
+
| Container_analysis_v1_beta1.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.get_iam_policy.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
86
|
+
| Container_analysis_v1_beta1.get_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.get_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.get_scan_config.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
87
|
+
| Container_analysis_v1_beta1.list_scan_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.list_scan_configs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.list_scan_configs.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
88
|
+
| Container_analysis_v1_beta1.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.set_iam_policy.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
89
|
+
| Container_analysis_v1_beta1.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.test_iam_permissions.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
90
|
+
| Container_analysis_v1_beta1.update_scan_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.update_scan_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/container_analysis_v1_beta1.update_scan_config.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
91
|
+
| Grafeas_v1_beta1.batch_create_notes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.batch_create_notes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.batch_create_notes.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
92
|
+
| Grafeas_v1_beta1.batch_create_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.batch_create_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.batch_create_occurrences.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
93
|
+
| Grafeas_v1_beta1.create_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.create_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.create_note.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
94
|
+
| Grafeas_v1_beta1.create_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.create_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.create_occurrence.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
95
|
+
| Grafeas_v1_beta1.delete_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.delete_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.delete_note.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
96
|
+
| Grafeas_v1_beta1.delete_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.delete_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.delete_occurrence.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
97
|
+
| Grafeas_v1_beta1.get_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.get_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.get_note.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
98
|
+
| Grafeas_v1_beta1.get_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.get_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.get_occurrence.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
99
|
+
| Grafeas_v1_beta1.get_occurrence_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.get_occurrence_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.get_occurrence_note.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
100
|
+
| Grafeas_v1_beta1.get_vulnerability_occurrences_summary | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.get_vulnerability_occurrences_summary.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.get_vulnerability_occurrences_summary.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
101
|
+
| Grafeas_v1_beta1.list_note_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.list_note_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.list_note_occurrences.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
102
|
+
| Grafeas_v1_beta1.list_notes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.list_notes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.list_notes.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
103
|
+
| Grafeas_v1_beta1.list_occurrences | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.list_occurrences.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.list_occurrences.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
104
|
+
| Grafeas_v1_beta1.update_note | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.update_note.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.update_note.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
105
|
+
| Grafeas_v1_beta1.update_occurrence | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.update_occurrence.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/generated/v1beta1/grafeas_v1_beta1.update_occurrence.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
106
|
+
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-devtools-containeranalysis/samples/quickstart.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
106
107
|
|
|
107
108
|
|
|
108
109
|
|
|
@@ -115,6 +115,14 @@ service ContainerAnalysisV1Beta1 {
|
|
|
115
115
|
body: "*"
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
|
+
|
|
119
|
+
// Generates an SBOM and other dependency information for the given resource.
|
|
120
|
+
rpc ExportSBOM(ExportSBOMRequest) returns (ExportSBOMResponse) {
|
|
121
|
+
option (google.api.http) = {
|
|
122
|
+
post: "/v1beta1/{name=projects/*/resources/**}:exportSBOM"
|
|
123
|
+
body: "*"
|
|
124
|
+
};
|
|
125
|
+
}
|
|
118
126
|
}
|
|
119
127
|
|
|
120
128
|
// GeneratePackagesSummaryRequest is the request body for the
|
|
@@ -146,3 +154,18 @@ message PackagesSummaryResponse {
|
|
|
146
154
|
// A listing by license name of each of the licenses and their counts.
|
|
147
155
|
repeated LicensesSummary licenses_summary = 2;
|
|
148
156
|
}
|
|
157
|
+
|
|
158
|
+
// The request to a call of ExportSBOM
|
|
159
|
+
message ExportSBOMRequest {
|
|
160
|
+
// Required. The name of the resource in the form of
|
|
161
|
+
// `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.
|
|
162
|
+
string name = 1 [(google.api.field_behavior) = REQUIRED];
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// The response from a call to ExportSBOM
|
|
166
|
+
message ExportSBOMResponse {
|
|
167
|
+
// The name of the discovery occurrence in the form
|
|
168
|
+
// "projects/{project_id}/occurrences/{OCCURRENCE_ID}
|
|
169
|
+
// It can be used to track the progression of the SBOM export.
|
|
170
|
+
string discovery_occurrence_id = 1;
|
|
171
|
+
}
|
package/build/protos/protos.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2024 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -22566,6 +22566,20 @@ export namespace google {
|
|
|
22566
22566
|
* @returns Promise
|
|
22567
22567
|
*/
|
|
22568
22568
|
public generatePackagesSummary(request: google.devtools.containeranalysis.v1beta1.IGeneratePackagesSummaryRequest): Promise<google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse>;
|
|
22569
|
+
|
|
22570
|
+
/**
|
|
22571
|
+
* Calls ExportSBOM.
|
|
22572
|
+
* @param request ExportSBOMRequest message or plain object
|
|
22573
|
+
* @param callback Node-style callback called with the error, if any, and ExportSBOMResponse
|
|
22574
|
+
*/
|
|
22575
|
+
public exportSBOM(request: google.devtools.containeranalysis.v1beta1.IExportSBOMRequest, callback: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.ExportSBOMCallback): void;
|
|
22576
|
+
|
|
22577
|
+
/**
|
|
22578
|
+
* Calls ExportSBOM.
|
|
22579
|
+
* @param request ExportSBOMRequest message or plain object
|
|
22580
|
+
* @returns Promise
|
|
22581
|
+
*/
|
|
22582
|
+
public exportSBOM(request: google.devtools.containeranalysis.v1beta1.IExportSBOMRequest): Promise<google.devtools.containeranalysis.v1beta1.ExportSBOMResponse>;
|
|
22569
22583
|
}
|
|
22570
22584
|
|
|
22571
22585
|
namespace ContainerAnalysisV1Beta1 {
|
|
@@ -22597,6 +22611,13 @@ export namespace google {
|
|
|
22597
22611
|
* @param [response] PackagesSummaryResponse
|
|
22598
22612
|
*/
|
|
22599
22613
|
type GeneratePackagesSummaryCallback = (error: (Error|null), response?: google.devtools.containeranalysis.v1beta1.PackagesSummaryResponse) => void;
|
|
22614
|
+
|
|
22615
|
+
/**
|
|
22616
|
+
* Callback as used by {@link google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1|exportSBOM}.
|
|
22617
|
+
* @param error Error, if any
|
|
22618
|
+
* @param [response] ExportSBOMResponse
|
|
22619
|
+
*/
|
|
22620
|
+
type ExportSBOMCallback = (error: (Error|null), response?: google.devtools.containeranalysis.v1beta1.ExportSBOMResponse) => void;
|
|
22600
22621
|
}
|
|
22601
22622
|
|
|
22602
22623
|
/** Properties of a GeneratePackagesSummaryRequest. */
|
|
@@ -22904,6 +22925,200 @@ export namespace google {
|
|
|
22904
22925
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22905
22926
|
}
|
|
22906
22927
|
}
|
|
22928
|
+
|
|
22929
|
+
/** Properties of an ExportSBOMRequest. */
|
|
22930
|
+
interface IExportSBOMRequest {
|
|
22931
|
+
|
|
22932
|
+
/** ExportSBOMRequest name */
|
|
22933
|
+
name?: (string|null);
|
|
22934
|
+
}
|
|
22935
|
+
|
|
22936
|
+
/** Represents an ExportSBOMRequest. */
|
|
22937
|
+
class ExportSBOMRequest implements IExportSBOMRequest {
|
|
22938
|
+
|
|
22939
|
+
/**
|
|
22940
|
+
* Constructs a new ExportSBOMRequest.
|
|
22941
|
+
* @param [properties] Properties to set
|
|
22942
|
+
*/
|
|
22943
|
+
constructor(properties?: google.devtools.containeranalysis.v1beta1.IExportSBOMRequest);
|
|
22944
|
+
|
|
22945
|
+
/** ExportSBOMRequest name. */
|
|
22946
|
+
public name: string;
|
|
22947
|
+
|
|
22948
|
+
/**
|
|
22949
|
+
* Creates a new ExportSBOMRequest instance using the specified properties.
|
|
22950
|
+
* @param [properties] Properties to set
|
|
22951
|
+
* @returns ExportSBOMRequest instance
|
|
22952
|
+
*/
|
|
22953
|
+
public static create(properties?: google.devtools.containeranalysis.v1beta1.IExportSBOMRequest): google.devtools.containeranalysis.v1beta1.ExportSBOMRequest;
|
|
22954
|
+
|
|
22955
|
+
/**
|
|
22956
|
+
* Encodes the specified ExportSBOMRequest message. Does not implicitly {@link google.devtools.containeranalysis.v1beta1.ExportSBOMRequest.verify|verify} messages.
|
|
22957
|
+
* @param message ExportSBOMRequest message or plain object to encode
|
|
22958
|
+
* @param [writer] Writer to encode to
|
|
22959
|
+
* @returns Writer
|
|
22960
|
+
*/
|
|
22961
|
+
public static encode(message: google.devtools.containeranalysis.v1beta1.IExportSBOMRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22962
|
+
|
|
22963
|
+
/**
|
|
22964
|
+
* Encodes the specified ExportSBOMRequest message, length delimited. Does not implicitly {@link google.devtools.containeranalysis.v1beta1.ExportSBOMRequest.verify|verify} messages.
|
|
22965
|
+
* @param message ExportSBOMRequest message or plain object to encode
|
|
22966
|
+
* @param [writer] Writer to encode to
|
|
22967
|
+
* @returns Writer
|
|
22968
|
+
*/
|
|
22969
|
+
public static encodeDelimited(message: google.devtools.containeranalysis.v1beta1.IExportSBOMRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22970
|
+
|
|
22971
|
+
/**
|
|
22972
|
+
* Decodes an ExportSBOMRequest message from the specified reader or buffer.
|
|
22973
|
+
* @param reader Reader or buffer to decode from
|
|
22974
|
+
* @param [length] Message length if known beforehand
|
|
22975
|
+
* @returns ExportSBOMRequest
|
|
22976
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22977
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22978
|
+
*/
|
|
22979
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.devtools.containeranalysis.v1beta1.ExportSBOMRequest;
|
|
22980
|
+
|
|
22981
|
+
/**
|
|
22982
|
+
* Decodes an ExportSBOMRequest message from the specified reader or buffer, length delimited.
|
|
22983
|
+
* @param reader Reader or buffer to decode from
|
|
22984
|
+
* @returns ExportSBOMRequest
|
|
22985
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22986
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22987
|
+
*/
|
|
22988
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.devtools.containeranalysis.v1beta1.ExportSBOMRequest;
|
|
22989
|
+
|
|
22990
|
+
/**
|
|
22991
|
+
* Verifies an ExportSBOMRequest message.
|
|
22992
|
+
* @param message Plain object to verify
|
|
22993
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22994
|
+
*/
|
|
22995
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22996
|
+
|
|
22997
|
+
/**
|
|
22998
|
+
* Creates an ExportSBOMRequest message from a plain object. Also converts values to their respective internal types.
|
|
22999
|
+
* @param object Plain object
|
|
23000
|
+
* @returns ExportSBOMRequest
|
|
23001
|
+
*/
|
|
23002
|
+
public static fromObject(object: { [k: string]: any }): google.devtools.containeranalysis.v1beta1.ExportSBOMRequest;
|
|
23003
|
+
|
|
23004
|
+
/**
|
|
23005
|
+
* Creates a plain object from an ExportSBOMRequest message. Also converts values to other types if specified.
|
|
23006
|
+
* @param message ExportSBOMRequest
|
|
23007
|
+
* @param [options] Conversion options
|
|
23008
|
+
* @returns Plain object
|
|
23009
|
+
*/
|
|
23010
|
+
public static toObject(message: google.devtools.containeranalysis.v1beta1.ExportSBOMRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23011
|
+
|
|
23012
|
+
/**
|
|
23013
|
+
* Converts this ExportSBOMRequest to JSON.
|
|
23014
|
+
* @returns JSON object
|
|
23015
|
+
*/
|
|
23016
|
+
public toJSON(): { [k: string]: any };
|
|
23017
|
+
|
|
23018
|
+
/**
|
|
23019
|
+
* Gets the default type url for ExportSBOMRequest
|
|
23020
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23021
|
+
* @returns The default type url
|
|
23022
|
+
*/
|
|
23023
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23024
|
+
}
|
|
23025
|
+
|
|
23026
|
+
/** Properties of an ExportSBOMResponse. */
|
|
23027
|
+
interface IExportSBOMResponse {
|
|
23028
|
+
|
|
23029
|
+
/** ExportSBOMResponse discoveryOccurrenceId */
|
|
23030
|
+
discoveryOccurrenceId?: (string|null);
|
|
23031
|
+
}
|
|
23032
|
+
|
|
23033
|
+
/** Represents an ExportSBOMResponse. */
|
|
23034
|
+
class ExportSBOMResponse implements IExportSBOMResponse {
|
|
23035
|
+
|
|
23036
|
+
/**
|
|
23037
|
+
* Constructs a new ExportSBOMResponse.
|
|
23038
|
+
* @param [properties] Properties to set
|
|
23039
|
+
*/
|
|
23040
|
+
constructor(properties?: google.devtools.containeranalysis.v1beta1.IExportSBOMResponse);
|
|
23041
|
+
|
|
23042
|
+
/** ExportSBOMResponse discoveryOccurrenceId. */
|
|
23043
|
+
public discoveryOccurrenceId: string;
|
|
23044
|
+
|
|
23045
|
+
/**
|
|
23046
|
+
* Creates a new ExportSBOMResponse instance using the specified properties.
|
|
23047
|
+
* @param [properties] Properties to set
|
|
23048
|
+
* @returns ExportSBOMResponse instance
|
|
23049
|
+
*/
|
|
23050
|
+
public static create(properties?: google.devtools.containeranalysis.v1beta1.IExportSBOMResponse): google.devtools.containeranalysis.v1beta1.ExportSBOMResponse;
|
|
23051
|
+
|
|
23052
|
+
/**
|
|
23053
|
+
* Encodes the specified ExportSBOMResponse message. Does not implicitly {@link google.devtools.containeranalysis.v1beta1.ExportSBOMResponse.verify|verify} messages.
|
|
23054
|
+
* @param message ExportSBOMResponse message or plain object to encode
|
|
23055
|
+
* @param [writer] Writer to encode to
|
|
23056
|
+
* @returns Writer
|
|
23057
|
+
*/
|
|
23058
|
+
public static encode(message: google.devtools.containeranalysis.v1beta1.IExportSBOMResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23059
|
+
|
|
23060
|
+
/**
|
|
23061
|
+
* Encodes the specified ExportSBOMResponse message, length delimited. Does not implicitly {@link google.devtools.containeranalysis.v1beta1.ExportSBOMResponse.verify|verify} messages.
|
|
23062
|
+
* @param message ExportSBOMResponse message or plain object to encode
|
|
23063
|
+
* @param [writer] Writer to encode to
|
|
23064
|
+
* @returns Writer
|
|
23065
|
+
*/
|
|
23066
|
+
public static encodeDelimited(message: google.devtools.containeranalysis.v1beta1.IExportSBOMResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23067
|
+
|
|
23068
|
+
/**
|
|
23069
|
+
* Decodes an ExportSBOMResponse message from the specified reader or buffer.
|
|
23070
|
+
* @param reader Reader or buffer to decode from
|
|
23071
|
+
* @param [length] Message length if known beforehand
|
|
23072
|
+
* @returns ExportSBOMResponse
|
|
23073
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23074
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23075
|
+
*/
|
|
23076
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.devtools.containeranalysis.v1beta1.ExportSBOMResponse;
|
|
23077
|
+
|
|
23078
|
+
/**
|
|
23079
|
+
* Decodes an ExportSBOMResponse message from the specified reader or buffer, length delimited.
|
|
23080
|
+
* @param reader Reader or buffer to decode from
|
|
23081
|
+
* @returns ExportSBOMResponse
|
|
23082
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23083
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23084
|
+
*/
|
|
23085
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.devtools.containeranalysis.v1beta1.ExportSBOMResponse;
|
|
23086
|
+
|
|
23087
|
+
/**
|
|
23088
|
+
* Verifies an ExportSBOMResponse message.
|
|
23089
|
+
* @param message Plain object to verify
|
|
23090
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23091
|
+
*/
|
|
23092
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23093
|
+
|
|
23094
|
+
/**
|
|
23095
|
+
* Creates an ExportSBOMResponse message from a plain object. Also converts values to their respective internal types.
|
|
23096
|
+
* @param object Plain object
|
|
23097
|
+
* @returns ExportSBOMResponse
|
|
23098
|
+
*/
|
|
23099
|
+
public static fromObject(object: { [k: string]: any }): google.devtools.containeranalysis.v1beta1.ExportSBOMResponse;
|
|
23100
|
+
|
|
23101
|
+
/**
|
|
23102
|
+
* Creates a plain object from an ExportSBOMResponse message. Also converts values to other types if specified.
|
|
23103
|
+
* @param message ExportSBOMResponse
|
|
23104
|
+
* @param [options] Conversion options
|
|
23105
|
+
* @returns Plain object
|
|
23106
|
+
*/
|
|
23107
|
+
public static toObject(message: google.devtools.containeranalysis.v1beta1.ExportSBOMResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23108
|
+
|
|
23109
|
+
/**
|
|
23110
|
+
* Converts this ExportSBOMResponse to JSON.
|
|
23111
|
+
* @returns JSON object
|
|
23112
|
+
*/
|
|
23113
|
+
public toJSON(): { [k: string]: any };
|
|
23114
|
+
|
|
23115
|
+
/**
|
|
23116
|
+
* Gets the default type url for ExportSBOMResponse
|
|
23117
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23118
|
+
* @returns The default type url
|
|
23119
|
+
*/
|
|
23120
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23121
|
+
}
|
|
22907
23122
|
}
|
|
22908
23123
|
}
|
|
22909
23124
|
}
|