@google-cloud/containeranalysis 6.1.0 → 6.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 +8 -0
- package/README.md +1 -0
- package/build/protos/google/devtools/containeranalysis/v1/containeranalysis.proto +81 -8
- package/build/protos/google/devtools/containeranalysis/v1beta1/containeranalysis.proto +32 -0
- package/build/protos/protos.d.ts +318 -0
- package/build/protos/protos.js +662 -0
- package/build/protos/protos.json +173 -37
- package/build/src/v1/container_analysis_client.d.ts +29 -2
- package/build/src/v1/container_analysis_client.js +35 -0
- package/build/src/v1/container_analysis_client_config.json +4 -0
- package/build/src/v1/gapic_metadata.json +10 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
[1]: https://www.npmjs.com/package/@google-cloud/containeranalysis?activeTab=versions
|
|
6
6
|
|
|
7
|
+
## [6.2.0](https://github.com/googleapis/google-cloud-node/compare/containeranalysis-v6.1.0...containeranalysis-v6.2.0) (2025-05-09)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* [containeranalysis] add ExportSBOM API method for v1 ([#6210](https://github.com/googleapis/google-cloud-node/issues/6210)) ([c02b122](https://github.com/googleapis/google-cloud-node/commit/c02b1222a127a8229ae1da81e07fc2ba386dfd11))
|
|
13
|
+
* [containeranalysis] add new location-specific bindings ([#6222](https://github.com/googleapis/google-cloud-node/issues/6222)) ([6c8ef35](https://github.com/googleapis/google-cloud-node/commit/6c8ef3521ba94048741a9c33c4a66506bd057812))
|
|
14
|
+
|
|
7
15
|
## [6.1.0](https://github.com/googleapis/google-cloud-node/compare/containeranalysis-v6.0.0...containeranalysis-v6.1.0) (2025-03-19)
|
|
8
16
|
|
|
9
17
|
|
package/README.md
CHANGED
|
@@ -62,6 +62,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
|
|
|
62
62
|
|
|
63
63
|
| Sample | Source Code | Try it |
|
|
64
64
|
| --------------------------- | --------------------------------- | ------ |
|
|
65
|
+
| Container_analysis.export_s_b_o_m | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-devtools-containeranalysis/samples/generated/v1/container_analysis.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/v1/container_analysis.export_s_b_o_m.js,packages/google-devtools-containeranalysis/samples/README.md) |
|
|
65
66
|
| 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
67
|
| 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
68
|
| 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) |
|
|
@@ -29,8 +29,8 @@ option go_package = "cloud.google.com/go/containeranalysis/apiv1/containeranalys
|
|
|
29
29
|
option java_multiple_files = true;
|
|
30
30
|
option java_package = "com.google.containeranalysis.v1";
|
|
31
31
|
option objc_class_prefix = "GCA";
|
|
32
|
-
option ruby_package = "Google::Cloud::ContainerAnalysis::V1";
|
|
33
32
|
option php_namespace = "Google\\Cloud\\ContainerAnalysis\\V1";
|
|
33
|
+
option ruby_package = "Google::Cloud::ContainerAnalysis::V1";
|
|
34
34
|
|
|
35
35
|
// Retrieves analysis results of Cloud components such as Docker container
|
|
36
36
|
// images. The Container Analysis API is an implementation of the
|
|
@@ -47,7 +47,8 @@ option php_namespace = "Google\\Cloud\\ContainerAnalysis\\V1";
|
|
|
47
47
|
// image with the vulnerability referring to that note.
|
|
48
48
|
service ContainerAnalysis {
|
|
49
49
|
option (google.api.default_host) = "containeranalysis.googleapis.com";
|
|
50
|
-
option (google.api.oauth_scopes) =
|
|
50
|
+
option (google.api.oauth_scopes) =
|
|
51
|
+
"https://www.googleapis.com/auth/cloud-platform";
|
|
51
52
|
|
|
52
53
|
// Sets the access control policy on the specified note or occurrence.
|
|
53
54
|
// Requires `containeranalysis.notes.setIamPolicy` or
|
|
@@ -57,7 +58,8 @@ service ContainerAnalysis {
|
|
|
57
58
|
// The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
|
|
58
59
|
// notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
|
|
59
60
|
// occurrences.
|
|
60
|
-
rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest)
|
|
61
|
+
rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest)
|
|
62
|
+
returns (google.iam.v1.Policy) {
|
|
61
63
|
option (google.api.http) = {
|
|
62
64
|
post: "/v1/{resource=projects/*/notes/*}:setIamPolicy"
|
|
63
65
|
body: "*"
|
|
@@ -65,6 +67,14 @@ service ContainerAnalysis {
|
|
|
65
67
|
post: "/v1/{resource=projects/*/occurrences/*}:setIamPolicy"
|
|
66
68
|
body: "*"
|
|
67
69
|
}
|
|
70
|
+
additional_bindings {
|
|
71
|
+
post: "/v1/{resource=projects/*/locations/*/notes/*}:setIamPolicy"
|
|
72
|
+
body: "*"
|
|
73
|
+
}
|
|
74
|
+
additional_bindings {
|
|
75
|
+
post: "/v1/{resource=projects/*/locations/*/occurrences/*}:setIamPolicy"
|
|
76
|
+
body: "*"
|
|
77
|
+
}
|
|
68
78
|
};
|
|
69
79
|
option (google.api.method_signature) = "resource,policy";
|
|
70
80
|
}
|
|
@@ -77,7 +87,8 @@ service ContainerAnalysis {
|
|
|
77
87
|
// The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
|
|
78
88
|
// notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
|
|
79
89
|
// occurrences.
|
|
80
|
-
rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest)
|
|
90
|
+
rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest)
|
|
91
|
+
returns (google.iam.v1.Policy) {
|
|
81
92
|
option (google.api.http) = {
|
|
82
93
|
post: "/v1/{resource=projects/*/notes/*}:getIamPolicy"
|
|
83
94
|
body: "*"
|
|
@@ -85,6 +96,14 @@ service ContainerAnalysis {
|
|
|
85
96
|
post: "/v1/{resource=projects/*/occurrences/*}:getIamPolicy"
|
|
86
97
|
body: "*"
|
|
87
98
|
}
|
|
99
|
+
additional_bindings {
|
|
100
|
+
post: "/v1/{resource=projects/*/locations/*/notes/*}:getIamPolicy"
|
|
101
|
+
body: "*"
|
|
102
|
+
}
|
|
103
|
+
additional_bindings {
|
|
104
|
+
post: "/v1/{resource=projects/*/locations/*/occurrences/*}:getIamPolicy"
|
|
105
|
+
body: "*"
|
|
106
|
+
}
|
|
88
107
|
};
|
|
89
108
|
option (google.api.method_signature) = "resource";
|
|
90
109
|
}
|
|
@@ -96,7 +115,8 @@ service ContainerAnalysis {
|
|
|
96
115
|
// The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
|
|
97
116
|
// notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
|
|
98
117
|
// occurrences.
|
|
99
|
-
rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest)
|
|
118
|
+
rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest)
|
|
119
|
+
returns (google.iam.v1.TestIamPermissionsResponse) {
|
|
100
120
|
option (google.api.http) = {
|
|
101
121
|
post: "/v1/{resource=projects/*/notes/*}:testIamPermissions"
|
|
102
122
|
body: "*"
|
|
@@ -104,23 +124,76 @@ service ContainerAnalysis {
|
|
|
104
124
|
post: "/v1/{resource=projects/*/occurrences/*}:testIamPermissions"
|
|
105
125
|
body: "*"
|
|
106
126
|
}
|
|
127
|
+
additional_bindings {
|
|
128
|
+
post: "/v1/{resource=projects/*/locations/*/notes/*}:testIamPermissions"
|
|
129
|
+
body: "*"
|
|
130
|
+
}
|
|
131
|
+
additional_bindings {
|
|
132
|
+
post: "/v1/{resource=projects/*/locations/*/occurrences/*}:testIamPermissions"
|
|
133
|
+
body: "*"
|
|
134
|
+
}
|
|
107
135
|
};
|
|
108
136
|
option (google.api.method_signature) = "resource,permissions";
|
|
109
137
|
}
|
|
110
138
|
|
|
111
139
|
// Gets a summary of the number and severity of occurrences.
|
|
112
|
-
rpc GetVulnerabilityOccurrencesSummary(
|
|
140
|
+
rpc GetVulnerabilityOccurrencesSummary(
|
|
141
|
+
GetVulnerabilityOccurrencesSummaryRequest)
|
|
142
|
+
returns (VulnerabilityOccurrencesSummary) {
|
|
113
143
|
option (google.api.http) = {
|
|
114
144
|
get: "/v1/{parent=projects/*}/occurrences:vulnerabilitySummary"
|
|
145
|
+
additional_bindings {
|
|
146
|
+
get: "/v1/{parent=projects/*/locations/*}/occurrences:vulnerabilitySummary"
|
|
147
|
+
}
|
|
115
148
|
};
|
|
116
149
|
option (google.api.method_signature) = "parent,filter";
|
|
117
150
|
}
|
|
151
|
+
|
|
152
|
+
// Generates an SBOM for the given resource.
|
|
153
|
+
rpc ExportSBOM(ExportSBOMRequest) returns (ExportSBOMResponse) {
|
|
154
|
+
option (google.api.http) = {
|
|
155
|
+
post: "/v1/{name=projects/*/resources/**}:exportSBOM"
|
|
156
|
+
body: "*"
|
|
157
|
+
additional_bindings {
|
|
158
|
+
post: "/v1/{name=projects/*/locations/*/resources/**}:exportSBOM"
|
|
159
|
+
body: "*"
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// The request to generate and export SBOM. Target must be specified for the
|
|
166
|
+
// request.
|
|
167
|
+
message ExportSBOMRequest {
|
|
168
|
+
// Empty placeholder to denote that this is a Google Cloud Storage
|
|
169
|
+
// export request.
|
|
170
|
+
message CloudStorageLocation {}
|
|
171
|
+
|
|
172
|
+
// Required. The name of the resource in the form of
|
|
173
|
+
// `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.
|
|
174
|
+
string name = 1 [(google.api.field_behavior) = REQUIRED];
|
|
175
|
+
|
|
176
|
+
// The location of the SBOM export.
|
|
177
|
+
oneof target {
|
|
178
|
+
// Optional. Empty placeholder to denote that this is a Google Cloud Storage
|
|
179
|
+
// export request.
|
|
180
|
+
CloudStorageLocation cloud_storage_location = 2
|
|
181
|
+
[(google.api.field_behavior) = OPTIONAL];
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// The response from a call to ExportSBOM.
|
|
186
|
+
message ExportSBOMResponse {
|
|
187
|
+
// The name of the discovery occurrence in the form
|
|
188
|
+
// "projects/{project_id}/occurrences/{OCCURRENCE_ID}
|
|
189
|
+
// It can be used to track the progress of the SBOM export.
|
|
190
|
+
string discovery_occurrence = 1;
|
|
118
191
|
}
|
|
119
192
|
|
|
120
193
|
// Request to get a vulnerability summary for some set of occurrences.
|
|
121
194
|
message GetVulnerabilityOccurrencesSummaryRequest {
|
|
122
|
-
// Required. The name of the project to get a vulnerability summary for in the
|
|
123
|
-
// `projects/[PROJECT_ID]`.
|
|
195
|
+
// Required. The name of the project to get a vulnerability summary for in the
|
|
196
|
+
// form of `projects/[PROJECT_ID]`.
|
|
124
197
|
string parent = 1 [
|
|
125
198
|
(google.api.field_behavior) = REQUIRED,
|
|
126
199
|
(google.api.resource_reference) = {
|
|
@@ -62,6 +62,14 @@ service ContainerAnalysisV1Beta1 {
|
|
|
62
62
|
post: "/v1beta1/{resource=projects/*/occurrences/*}:setIamPolicy"
|
|
63
63
|
body: "*"
|
|
64
64
|
}
|
|
65
|
+
additional_bindings {
|
|
66
|
+
post: "/v1beta1/{resource=projects/*/locations/*/notes/*}:setIamPolicy"
|
|
67
|
+
body: "*"
|
|
68
|
+
}
|
|
69
|
+
additional_bindings {
|
|
70
|
+
post: "/v1beta1/{resource=projects/*/locations/*/occurrences/*}:setIamPolicy"
|
|
71
|
+
body: "*"
|
|
72
|
+
}
|
|
65
73
|
};
|
|
66
74
|
option (google.api.method_signature) = "resource,policy";
|
|
67
75
|
}
|
|
@@ -83,6 +91,14 @@ service ContainerAnalysisV1Beta1 {
|
|
|
83
91
|
post: "/v1beta1/{resource=projects/*/occurrences/*}:getIamPolicy"
|
|
84
92
|
body: "*"
|
|
85
93
|
}
|
|
94
|
+
additional_bindings {
|
|
95
|
+
post: "/v1beta1/{resource=projects/*/locations/*/notes/*}:getIamPolicy"
|
|
96
|
+
body: "*"
|
|
97
|
+
}
|
|
98
|
+
additional_bindings {
|
|
99
|
+
post: "/v1beta1/{resource=projects/*/locations/*/occurrences/*}:getIamPolicy"
|
|
100
|
+
body: "*"
|
|
101
|
+
}
|
|
86
102
|
};
|
|
87
103
|
option (google.api.method_signature) = "resource";
|
|
88
104
|
}
|
|
@@ -103,6 +119,14 @@ service ContainerAnalysisV1Beta1 {
|
|
|
103
119
|
post: "/v1beta1/{resource=projects/*/occurrences/*}:testIamPermissions"
|
|
104
120
|
body: "*"
|
|
105
121
|
}
|
|
122
|
+
additional_bindings {
|
|
123
|
+
post: "/v1beta1/{resource=projects/*/locations/*/notes/*}:testIamPermissions"
|
|
124
|
+
body: "*"
|
|
125
|
+
}
|
|
126
|
+
additional_bindings {
|
|
127
|
+
post: "/v1beta1/{resource=projects/*/locations/*/occurrences/*}:testIamPermissions"
|
|
128
|
+
body: "*"
|
|
129
|
+
}
|
|
106
130
|
};
|
|
107
131
|
option (google.api.method_signature) = "resource,permissions";
|
|
108
132
|
}
|
|
@@ -113,6 +137,10 @@ service ContainerAnalysisV1Beta1 {
|
|
|
113
137
|
option (google.api.http) = {
|
|
114
138
|
post: "/v1beta1/{name=projects/*/resources/**}:generatePackagesSummary"
|
|
115
139
|
body: "*"
|
|
140
|
+
additional_bindings {
|
|
141
|
+
post: "/v1beta1/{name=projects/*/locations/*/resources/**}:generatePackagesSummary"
|
|
142
|
+
body: "*"
|
|
143
|
+
}
|
|
116
144
|
};
|
|
117
145
|
}
|
|
118
146
|
|
|
@@ -121,6 +149,10 @@ service ContainerAnalysisV1Beta1 {
|
|
|
121
149
|
option (google.api.http) = {
|
|
122
150
|
post: "/v1beta1/{name=projects/*/resources/**}:exportSBOM"
|
|
123
151
|
body: "*"
|
|
152
|
+
additional_bindings {
|
|
153
|
+
post: "/v1beta1/{name=projects/*/locations/*/resources/**}:exportSBOM"
|
|
154
|
+
body: "*"
|
|
155
|
+
}
|
|
124
156
|
};
|
|
125
157
|
}
|
|
126
158
|
}
|
package/build/protos/protos.d.ts
CHANGED
|
@@ -23670,6 +23670,20 @@ export namespace google {
|
|
|
23670
23670
|
* @returns Promise
|
|
23671
23671
|
*/
|
|
23672
23672
|
public getVulnerabilityOccurrencesSummary(request: google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest): Promise<google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary>;
|
|
23673
|
+
|
|
23674
|
+
/**
|
|
23675
|
+
* Calls ExportSBOM.
|
|
23676
|
+
* @param request ExportSBOMRequest message or plain object
|
|
23677
|
+
* @param callback Node-style callback called with the error, if any, and ExportSBOMResponse
|
|
23678
|
+
*/
|
|
23679
|
+
public exportSBOM(request: google.devtools.containeranalysis.v1.IExportSBOMRequest, callback: google.devtools.containeranalysis.v1.ContainerAnalysis.ExportSBOMCallback): void;
|
|
23680
|
+
|
|
23681
|
+
/**
|
|
23682
|
+
* Calls ExportSBOM.
|
|
23683
|
+
* @param request ExportSBOMRequest message or plain object
|
|
23684
|
+
* @returns Promise
|
|
23685
|
+
*/
|
|
23686
|
+
public exportSBOM(request: google.devtools.containeranalysis.v1.IExportSBOMRequest): Promise<google.devtools.containeranalysis.v1.ExportSBOMResponse>;
|
|
23673
23687
|
}
|
|
23674
23688
|
|
|
23675
23689
|
namespace ContainerAnalysis {
|
|
@@ -23701,6 +23715,310 @@ export namespace google {
|
|
|
23701
23715
|
* @param [response] VulnerabilityOccurrencesSummary
|
|
23702
23716
|
*/
|
|
23703
23717
|
type GetVulnerabilityOccurrencesSummaryCallback = (error: (Error|null), response?: google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary) => void;
|
|
23718
|
+
|
|
23719
|
+
/**
|
|
23720
|
+
* Callback as used by {@link google.devtools.containeranalysis.v1.ContainerAnalysis|exportSBOM}.
|
|
23721
|
+
* @param error Error, if any
|
|
23722
|
+
* @param [response] ExportSBOMResponse
|
|
23723
|
+
*/
|
|
23724
|
+
type ExportSBOMCallback = (error: (Error|null), response?: google.devtools.containeranalysis.v1.ExportSBOMResponse) => void;
|
|
23725
|
+
}
|
|
23726
|
+
|
|
23727
|
+
/** Properties of an ExportSBOMRequest. */
|
|
23728
|
+
interface IExportSBOMRequest {
|
|
23729
|
+
|
|
23730
|
+
/** ExportSBOMRequest name */
|
|
23731
|
+
name?: (string|null);
|
|
23732
|
+
|
|
23733
|
+
/** ExportSBOMRequest cloudStorageLocation */
|
|
23734
|
+
cloudStorageLocation?: (google.devtools.containeranalysis.v1.ExportSBOMRequest.ICloudStorageLocation|null);
|
|
23735
|
+
}
|
|
23736
|
+
|
|
23737
|
+
/** Represents an ExportSBOMRequest. */
|
|
23738
|
+
class ExportSBOMRequest implements IExportSBOMRequest {
|
|
23739
|
+
|
|
23740
|
+
/**
|
|
23741
|
+
* Constructs a new ExportSBOMRequest.
|
|
23742
|
+
* @param [properties] Properties to set
|
|
23743
|
+
*/
|
|
23744
|
+
constructor(properties?: google.devtools.containeranalysis.v1.IExportSBOMRequest);
|
|
23745
|
+
|
|
23746
|
+
/** ExportSBOMRequest name. */
|
|
23747
|
+
public name: string;
|
|
23748
|
+
|
|
23749
|
+
/** ExportSBOMRequest cloudStorageLocation. */
|
|
23750
|
+
public cloudStorageLocation?: (google.devtools.containeranalysis.v1.ExportSBOMRequest.ICloudStorageLocation|null);
|
|
23751
|
+
|
|
23752
|
+
/** ExportSBOMRequest target. */
|
|
23753
|
+
public target?: "cloudStorageLocation";
|
|
23754
|
+
|
|
23755
|
+
/**
|
|
23756
|
+
* Creates a new ExportSBOMRequest instance using the specified properties.
|
|
23757
|
+
* @param [properties] Properties to set
|
|
23758
|
+
* @returns ExportSBOMRequest instance
|
|
23759
|
+
*/
|
|
23760
|
+
public static create(properties?: google.devtools.containeranalysis.v1.IExportSBOMRequest): google.devtools.containeranalysis.v1.ExportSBOMRequest;
|
|
23761
|
+
|
|
23762
|
+
/**
|
|
23763
|
+
* Encodes the specified ExportSBOMRequest message. Does not implicitly {@link google.devtools.containeranalysis.v1.ExportSBOMRequest.verify|verify} messages.
|
|
23764
|
+
* @param message ExportSBOMRequest message or plain object to encode
|
|
23765
|
+
* @param [writer] Writer to encode to
|
|
23766
|
+
* @returns Writer
|
|
23767
|
+
*/
|
|
23768
|
+
public static encode(message: google.devtools.containeranalysis.v1.IExportSBOMRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23769
|
+
|
|
23770
|
+
/**
|
|
23771
|
+
* Encodes the specified ExportSBOMRequest message, length delimited. Does not implicitly {@link google.devtools.containeranalysis.v1.ExportSBOMRequest.verify|verify} messages.
|
|
23772
|
+
* @param message ExportSBOMRequest message or plain object to encode
|
|
23773
|
+
* @param [writer] Writer to encode to
|
|
23774
|
+
* @returns Writer
|
|
23775
|
+
*/
|
|
23776
|
+
public static encodeDelimited(message: google.devtools.containeranalysis.v1.IExportSBOMRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23777
|
+
|
|
23778
|
+
/**
|
|
23779
|
+
* Decodes an ExportSBOMRequest message from the specified reader or buffer.
|
|
23780
|
+
* @param reader Reader or buffer to decode from
|
|
23781
|
+
* @param [length] Message length if known beforehand
|
|
23782
|
+
* @returns ExportSBOMRequest
|
|
23783
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23784
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23785
|
+
*/
|
|
23786
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.devtools.containeranalysis.v1.ExportSBOMRequest;
|
|
23787
|
+
|
|
23788
|
+
/**
|
|
23789
|
+
* Decodes an ExportSBOMRequest message from the specified reader or buffer, length delimited.
|
|
23790
|
+
* @param reader Reader or buffer to decode from
|
|
23791
|
+
* @returns ExportSBOMRequest
|
|
23792
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23793
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23794
|
+
*/
|
|
23795
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.devtools.containeranalysis.v1.ExportSBOMRequest;
|
|
23796
|
+
|
|
23797
|
+
/**
|
|
23798
|
+
* Verifies an ExportSBOMRequest message.
|
|
23799
|
+
* @param message Plain object to verify
|
|
23800
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23801
|
+
*/
|
|
23802
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23803
|
+
|
|
23804
|
+
/**
|
|
23805
|
+
* Creates an ExportSBOMRequest message from a plain object. Also converts values to their respective internal types.
|
|
23806
|
+
* @param object Plain object
|
|
23807
|
+
* @returns ExportSBOMRequest
|
|
23808
|
+
*/
|
|
23809
|
+
public static fromObject(object: { [k: string]: any }): google.devtools.containeranalysis.v1.ExportSBOMRequest;
|
|
23810
|
+
|
|
23811
|
+
/**
|
|
23812
|
+
* Creates a plain object from an ExportSBOMRequest message. Also converts values to other types if specified.
|
|
23813
|
+
* @param message ExportSBOMRequest
|
|
23814
|
+
* @param [options] Conversion options
|
|
23815
|
+
* @returns Plain object
|
|
23816
|
+
*/
|
|
23817
|
+
public static toObject(message: google.devtools.containeranalysis.v1.ExportSBOMRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23818
|
+
|
|
23819
|
+
/**
|
|
23820
|
+
* Converts this ExportSBOMRequest to JSON.
|
|
23821
|
+
* @returns JSON object
|
|
23822
|
+
*/
|
|
23823
|
+
public toJSON(): { [k: string]: any };
|
|
23824
|
+
|
|
23825
|
+
/**
|
|
23826
|
+
* Gets the default type url for ExportSBOMRequest
|
|
23827
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23828
|
+
* @returns The default type url
|
|
23829
|
+
*/
|
|
23830
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23831
|
+
}
|
|
23832
|
+
|
|
23833
|
+
namespace ExportSBOMRequest {
|
|
23834
|
+
|
|
23835
|
+
/** Properties of a CloudStorageLocation. */
|
|
23836
|
+
interface ICloudStorageLocation {
|
|
23837
|
+
}
|
|
23838
|
+
|
|
23839
|
+
/** Represents a CloudStorageLocation. */
|
|
23840
|
+
class CloudStorageLocation implements ICloudStorageLocation {
|
|
23841
|
+
|
|
23842
|
+
/**
|
|
23843
|
+
* Constructs a new CloudStorageLocation.
|
|
23844
|
+
* @param [properties] Properties to set
|
|
23845
|
+
*/
|
|
23846
|
+
constructor(properties?: google.devtools.containeranalysis.v1.ExportSBOMRequest.ICloudStorageLocation);
|
|
23847
|
+
|
|
23848
|
+
/**
|
|
23849
|
+
* Creates a new CloudStorageLocation instance using the specified properties.
|
|
23850
|
+
* @param [properties] Properties to set
|
|
23851
|
+
* @returns CloudStorageLocation instance
|
|
23852
|
+
*/
|
|
23853
|
+
public static create(properties?: google.devtools.containeranalysis.v1.ExportSBOMRequest.ICloudStorageLocation): google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation;
|
|
23854
|
+
|
|
23855
|
+
/**
|
|
23856
|
+
* Encodes the specified CloudStorageLocation message. Does not implicitly {@link google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation.verify|verify} messages.
|
|
23857
|
+
* @param message CloudStorageLocation message or plain object to encode
|
|
23858
|
+
* @param [writer] Writer to encode to
|
|
23859
|
+
* @returns Writer
|
|
23860
|
+
*/
|
|
23861
|
+
public static encode(message: google.devtools.containeranalysis.v1.ExportSBOMRequest.ICloudStorageLocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23862
|
+
|
|
23863
|
+
/**
|
|
23864
|
+
* Encodes the specified CloudStorageLocation message, length delimited. Does not implicitly {@link google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation.verify|verify} messages.
|
|
23865
|
+
* @param message CloudStorageLocation message or plain object to encode
|
|
23866
|
+
* @param [writer] Writer to encode to
|
|
23867
|
+
* @returns Writer
|
|
23868
|
+
*/
|
|
23869
|
+
public static encodeDelimited(message: google.devtools.containeranalysis.v1.ExportSBOMRequest.ICloudStorageLocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23870
|
+
|
|
23871
|
+
/**
|
|
23872
|
+
* Decodes a CloudStorageLocation message from the specified reader or buffer.
|
|
23873
|
+
* @param reader Reader or buffer to decode from
|
|
23874
|
+
* @param [length] Message length if known beforehand
|
|
23875
|
+
* @returns CloudStorageLocation
|
|
23876
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23877
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23878
|
+
*/
|
|
23879
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation;
|
|
23880
|
+
|
|
23881
|
+
/**
|
|
23882
|
+
* Decodes a CloudStorageLocation message from the specified reader or buffer, length delimited.
|
|
23883
|
+
* @param reader Reader or buffer to decode from
|
|
23884
|
+
* @returns CloudStorageLocation
|
|
23885
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23886
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23887
|
+
*/
|
|
23888
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation;
|
|
23889
|
+
|
|
23890
|
+
/**
|
|
23891
|
+
* Verifies a CloudStorageLocation message.
|
|
23892
|
+
* @param message Plain object to verify
|
|
23893
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23894
|
+
*/
|
|
23895
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23896
|
+
|
|
23897
|
+
/**
|
|
23898
|
+
* Creates a CloudStorageLocation message from a plain object. Also converts values to their respective internal types.
|
|
23899
|
+
* @param object Plain object
|
|
23900
|
+
* @returns CloudStorageLocation
|
|
23901
|
+
*/
|
|
23902
|
+
public static fromObject(object: { [k: string]: any }): google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation;
|
|
23903
|
+
|
|
23904
|
+
/**
|
|
23905
|
+
* Creates a plain object from a CloudStorageLocation message. Also converts values to other types if specified.
|
|
23906
|
+
* @param message CloudStorageLocation
|
|
23907
|
+
* @param [options] Conversion options
|
|
23908
|
+
* @returns Plain object
|
|
23909
|
+
*/
|
|
23910
|
+
public static toObject(message: google.devtools.containeranalysis.v1.ExportSBOMRequest.CloudStorageLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23911
|
+
|
|
23912
|
+
/**
|
|
23913
|
+
* Converts this CloudStorageLocation to JSON.
|
|
23914
|
+
* @returns JSON object
|
|
23915
|
+
*/
|
|
23916
|
+
public toJSON(): { [k: string]: any };
|
|
23917
|
+
|
|
23918
|
+
/**
|
|
23919
|
+
* Gets the default type url for CloudStorageLocation
|
|
23920
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23921
|
+
* @returns The default type url
|
|
23922
|
+
*/
|
|
23923
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23924
|
+
}
|
|
23925
|
+
}
|
|
23926
|
+
|
|
23927
|
+
/** Properties of an ExportSBOMResponse. */
|
|
23928
|
+
interface IExportSBOMResponse {
|
|
23929
|
+
|
|
23930
|
+
/** ExportSBOMResponse discoveryOccurrence */
|
|
23931
|
+
discoveryOccurrence?: (string|null);
|
|
23932
|
+
}
|
|
23933
|
+
|
|
23934
|
+
/** Represents an ExportSBOMResponse. */
|
|
23935
|
+
class ExportSBOMResponse implements IExportSBOMResponse {
|
|
23936
|
+
|
|
23937
|
+
/**
|
|
23938
|
+
* Constructs a new ExportSBOMResponse.
|
|
23939
|
+
* @param [properties] Properties to set
|
|
23940
|
+
*/
|
|
23941
|
+
constructor(properties?: google.devtools.containeranalysis.v1.IExportSBOMResponse);
|
|
23942
|
+
|
|
23943
|
+
/** ExportSBOMResponse discoveryOccurrence. */
|
|
23944
|
+
public discoveryOccurrence: string;
|
|
23945
|
+
|
|
23946
|
+
/**
|
|
23947
|
+
* Creates a new ExportSBOMResponse instance using the specified properties.
|
|
23948
|
+
* @param [properties] Properties to set
|
|
23949
|
+
* @returns ExportSBOMResponse instance
|
|
23950
|
+
*/
|
|
23951
|
+
public static create(properties?: google.devtools.containeranalysis.v1.IExportSBOMResponse): google.devtools.containeranalysis.v1.ExportSBOMResponse;
|
|
23952
|
+
|
|
23953
|
+
/**
|
|
23954
|
+
* Encodes the specified ExportSBOMResponse message. Does not implicitly {@link google.devtools.containeranalysis.v1.ExportSBOMResponse.verify|verify} messages.
|
|
23955
|
+
* @param message ExportSBOMResponse message or plain object to encode
|
|
23956
|
+
* @param [writer] Writer to encode to
|
|
23957
|
+
* @returns Writer
|
|
23958
|
+
*/
|
|
23959
|
+
public static encode(message: google.devtools.containeranalysis.v1.IExportSBOMResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23960
|
+
|
|
23961
|
+
/**
|
|
23962
|
+
* Encodes the specified ExportSBOMResponse message, length delimited. Does not implicitly {@link google.devtools.containeranalysis.v1.ExportSBOMResponse.verify|verify} messages.
|
|
23963
|
+
* @param message ExportSBOMResponse message or plain object to encode
|
|
23964
|
+
* @param [writer] Writer to encode to
|
|
23965
|
+
* @returns Writer
|
|
23966
|
+
*/
|
|
23967
|
+
public static encodeDelimited(message: google.devtools.containeranalysis.v1.IExportSBOMResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23968
|
+
|
|
23969
|
+
/**
|
|
23970
|
+
* Decodes an ExportSBOMResponse message from the specified reader or buffer.
|
|
23971
|
+
* @param reader Reader or buffer to decode from
|
|
23972
|
+
* @param [length] Message length if known beforehand
|
|
23973
|
+
* @returns ExportSBOMResponse
|
|
23974
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23975
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23976
|
+
*/
|
|
23977
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.devtools.containeranalysis.v1.ExportSBOMResponse;
|
|
23978
|
+
|
|
23979
|
+
/**
|
|
23980
|
+
* Decodes an ExportSBOMResponse message from the specified reader or buffer, length delimited.
|
|
23981
|
+
* @param reader Reader or buffer to decode from
|
|
23982
|
+
* @returns ExportSBOMResponse
|
|
23983
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23984
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23985
|
+
*/
|
|
23986
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.devtools.containeranalysis.v1.ExportSBOMResponse;
|
|
23987
|
+
|
|
23988
|
+
/**
|
|
23989
|
+
* Verifies an ExportSBOMResponse message.
|
|
23990
|
+
* @param message Plain object to verify
|
|
23991
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23992
|
+
*/
|
|
23993
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23994
|
+
|
|
23995
|
+
/**
|
|
23996
|
+
* Creates an ExportSBOMResponse message from a plain object. Also converts values to their respective internal types.
|
|
23997
|
+
* @param object Plain object
|
|
23998
|
+
* @returns ExportSBOMResponse
|
|
23999
|
+
*/
|
|
24000
|
+
public static fromObject(object: { [k: string]: any }): google.devtools.containeranalysis.v1.ExportSBOMResponse;
|
|
24001
|
+
|
|
24002
|
+
/**
|
|
24003
|
+
* Creates a plain object from an ExportSBOMResponse message. Also converts values to other types if specified.
|
|
24004
|
+
* @param message ExportSBOMResponse
|
|
24005
|
+
* @param [options] Conversion options
|
|
24006
|
+
* @returns Plain object
|
|
24007
|
+
*/
|
|
24008
|
+
public static toObject(message: google.devtools.containeranalysis.v1.ExportSBOMResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24009
|
+
|
|
24010
|
+
/**
|
|
24011
|
+
* Converts this ExportSBOMResponse to JSON.
|
|
24012
|
+
* @returns JSON object
|
|
24013
|
+
*/
|
|
24014
|
+
public toJSON(): { [k: string]: any };
|
|
24015
|
+
|
|
24016
|
+
/**
|
|
24017
|
+
* Gets the default type url for ExportSBOMResponse
|
|
24018
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
24019
|
+
* @returns The default type url
|
|
24020
|
+
*/
|
|
24021
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23704
24022
|
}
|
|
23705
24023
|
|
|
23706
24024
|
/** Properties of a GetVulnerabilityOccurrencesSummaryRequest. */
|