Skip to content

Commit 1ed974c

Browse files
committed
reduce testdata
1 parent ce0bbc0 commit 1ed974c

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

internal/testdata/googleapis/google/devtools/containeranalysis/v1beta1/containeranalysis.proto

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,17 @@ package google.devtools.containeranalysis.v1beta1;
2020
import "google/api/annotations.proto";
2121
import "google/api/client.proto";
2222
import "google/api/field_behavior.proto";
23-
import "google/iam/v1/iam_policy.proto";
24-
import "google/iam/v1/policy.proto";
2523

2624
option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb";
2725
option java_multiple_files = true;
2826
option java_package = "com.google.containeranalysis.v1beta1";
2927
option objc_class_prefix = "GCA";
3028

31-
// Retrieves analysis results of Cloud components such as Docker container
32-
// images. The Container Analysis API is an implementation of the
33-
// [Grafeas](https://grafeas.io) API.
34-
//
35-
// Analysis results are stored as a series of occurrences. An `Occurrence`
36-
// contains information about a specific analysis instance on a resource. An
37-
// occurrence refers to a `Note`. A note contains details describing the
38-
// analysis and is generally stored in a separate project, called a `Provider`.
39-
// Multiple occurrences can refer to the same note.
40-
//
41-
// For example, an SSL vulnerability could affect multiple images. In this case,
42-
// there would be one note for the vulnerability and an occurrence for each
43-
// image with the vulnerability referring to that note.
4429
service ContainerAnalysisV1Beta1 {
4530
option (google.api.default_host) = "containeranalysis.googleapis.com";
4631
option (google.api.oauth_scopes) =
4732
"https://www.googleapis.com/auth/cloud-platform";
4833

49-
// Gets a summary of the packages within a given resource.
5034
rpc GeneratePackagesSummary(GeneratePackagesSummaryRequest)
5135
returns (PackagesSummaryResponse) {
5236
option (google.api.http) = {
@@ -60,32 +44,15 @@ service ContainerAnalysisV1Beta1 {
6044
}
6145
}
6246

63-
// GeneratePackagesSummaryRequest is the request body for the
64-
// GeneratePackagesSummary API method. It just takes a single name argument,
65-
// referring to the resource.
6647
message GeneratePackagesSummaryRequest {
67-
// Required. The name of the resource to get a packages summary for in the
68-
// form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.
6948
string name = 1 [(google.api.field_behavior) = REQUIRED];
7049
}
7150

72-
// A summary of the packages found within the given resource.
7351
message PackagesSummaryResponse {
74-
// Per license count
7552
message LicensesSummary {
76-
// The license of the package. Note that the format of this value is not
77-
// guaranteed. It may be nil, an empty string, a boolean value (A | B), a
78-
// differently formed boolean value (A OR B), etc...
7953
string license = 1;
80-
81-
// The number of fixable vulnerabilities associated with this resource.
8254
int64 count = 2;
8355
}
84-
85-
// The unique URL of the image or the container for which this summary
86-
// applies.
8756
string resource_url = 1;
88-
89-
// A listing by license name of each of the licenses and their counts.
9057
repeated LicensesSummary licenses_summary = 2;
9158
}

0 commit comments

Comments
 (0)