Skip to content

Commit 18f6472

Browse files
yoshi-automationsduskis
authored andcommitted
---
yaml --- r: 19403 b: refs/heads/autosynth-containeranalysis c: 04b9da4 h: refs/heads/master i: 19401: a542b1b 19399: 0fe99d8
1 parent 2ae9a5a commit 18f6472

14 files changed

Lines changed: 73 additions & 67 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ refs/heads/autosynth-bigquerydatatransfer: 564833a85642d4194adc025f021e10e723154
127127
refs/heads/autosynth-bigquerystorage: a75c34ed7a11741669121be69a7021a00f1133ce
128128
refs/heads/autosynth-bigtable: 45891a7178142c84a16d6a0b792f8ecb950a3159
129129
refs/heads/autosynth-bigtable-admin: 6379a2bc712f2736c83de0e009b4d26da4fa82ca
130-
refs/heads/autosynth-containeranalysis: 039ca5b8db725c76c16a965ff26b2774322b8ef8
130+
refs/heads/autosynth-containeranalysis: 04b9da4bb170c7dc3658e46e83b4976d84f1c2a4
131131
refs/heads/autosynth-datastore: 9acd400b484d6691a080c9152a331d88d24fefc1
132132
refs/heads/autosynth-dialogflow: d7477419376eac9b6dcc7dbcede581152527351d
133133
refs/heads/autosynth-errorreporting: 9891e73a56af7c097829ca7a521b0e862ba6af30

branches/autosynth-containeranalysis/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/java/io/grafeas/v1beta1/provenance/Provenance.java

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

branches/autosynth-containeranalysis/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/proto/google/devtools/containeranalysis/v1beta1/build/build.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ syntax = "proto3";
1616

1717
package grafeas.v1beta1.build;
1818

19-
import "google/devtools/containeranalysis/v1beta1/provenance/provenance.proto";
20-
2119
option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build;build";
2220
option java_multiple_files = true;
2321
option java_package = "io.grafeas.v1beta1.build";
2422
option objc_class_prefix = "GRA";
2523

24+
import "google/devtools/containeranalysis/v1beta1/provenance/provenance.proto";
25+
2626
// Note holding the version of the provider's builder and the signature of the
2727
// provenance message in linked BuildDetails.
2828
message Build {

branches/autosynth-containeranalysis/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/proto/google/devtools/containeranalysis/v1beta1/containeranalysis.proto

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ service ContainerAnalysisV1Beta1 {
4848
// The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
4949
// notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
5050
// occurrences.
51-
rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest)
52-
returns (google.iam.v1.Policy) {
51+
rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
5352
option (google.api.http) = {
5453
post: "/v1beta1/{resource=projects/*/notes/*}:setIamPolicy"
5554
body: "*"
@@ -68,8 +67,7 @@ service ContainerAnalysisV1Beta1 {
6867
// The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
6968
// notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
7069
// occurrences.
71-
rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest)
72-
returns (google.iam.v1.Policy) {
70+
rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
7371
option (google.api.http) = {
7472
post: "/v1beta1/{resource=projects/*/notes/*}:getIamPolicy"
7573
body: "*"
@@ -87,8 +85,7 @@ service ContainerAnalysisV1Beta1 {
8785
// The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
8886
// notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
8987
// occurrences.
90-
rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest)
91-
returns (google.iam.v1.TestIamPermissionsResponse) {
88+
rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
9289
option (google.api.http) = {
9390
post: "/v1beta1/{resource=projects/*/notes/*}:testIamPermissions"
9491
body: "*"
@@ -107,8 +104,7 @@ service ContainerAnalysisV1Beta1 {
107104
}
108105

109106
// Lists scan configurations for the specified project.
110-
rpc ListScanConfigs(ListScanConfigsRequest)
111-
returns (ListScanConfigsResponse) {
107+
rpc ListScanConfigs(ListScanConfigsRequest) returns (ListScanConfigsResponse) {
112108
option (google.api.http) = {
113109
get: "/v1beta1/{parent=projects/*}/scanConfigs"
114110
};

branches/autosynth-containeranalysis/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/proto/google/devtools/containeranalysis/v1beta1/deployment/deployment.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ syntax = "proto3";
1616

1717
package grafeas.v1beta1.deployment;
1818

19-
import "google/protobuf/timestamp.proto";
20-
2119
option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment;deployment";
2220
option java_multiple_files = true;
2321
option java_package = "io.grafeas.v1beta1.deployment";
2422
option objc_class_prefix = "GRA";
2523

24+
import "google/protobuf/timestamp.proto";
25+
2626
// An artifact that can be deployed in some runtime.
2727
message Deployable {
2828
// Resource URI for the artifact being deployed.

branches/autosynth-containeranalysis/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/proto/google/devtools/containeranalysis/v1beta1/discovery/discovery.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ syntax = "proto3";
1616

1717
package grafeas.v1beta1.discovery;
1818

19-
import "google/devtools/containeranalysis/v1beta1/common/common.proto";
20-
import "google/protobuf/timestamp.proto";
21-
import "google/rpc/status.proto";
22-
2319
option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery;discovery";
2420
option java_multiple_files = true;
2521
option java_package = "io.grafeas.v1beta1.discovery";
2622
option objc_class_prefix = "GRA";
2723

24+
import "google/devtools/containeranalysis/v1beta1/common/common.proto";
25+
import "google/protobuf/timestamp.proto";
26+
import "google/rpc/status.proto";
27+
2828
// A note that indicates a type of analysis a provider would perform. This note
2929
// exists in a provider's project. A `Discovery` occurrence is created in a
3030
// consumer's project at the start of analysis.

branches/autosynth-containeranalysis/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/proto/google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ syntax = "proto3";
1616

1717
package grafeas.v1beta1;
1818

19+
option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/grafeas;grafeas";
20+
option java_multiple_files = true;
21+
option java_package = "io.grafeas.v1beta1";
22+
option objc_class_prefix = "GRA";
23+
1924
import "google/api/annotations.proto";
2025
import "google/devtools/containeranalysis/v1beta1/attestation/attestation.proto";
2126
import "google/devtools/containeranalysis/v1beta1/build/build.proto";
@@ -30,11 +35,6 @@ import "google/protobuf/empty.proto";
3035
import "google/protobuf/field_mask.proto";
3136
import "google/protobuf/timestamp.proto";
3237

33-
option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/grafeas;grafeas";
34-
option java_multiple_files = true;
35-
option java_package = "io.grafeas.v1beta1";
36-
option objc_class_prefix = "GRA";
37-
3838
// [Grafeas](grafeas.io) API.
3939
//
4040
// Retrieves analysis results of Cloud components such as Docker container
@@ -55,15 +55,15 @@ service GrafeasV1Beta1 {
5555
option (google.api.http) = {
5656
get: "/v1beta1/{name=projects/*/occurrences/*}"
5757
};
58-
}
58+
};
5959

6060
// Lists occurrences for the specified project.
6161
rpc ListOccurrences(ListOccurrencesRequest)
6262
returns (ListOccurrencesResponse) {
6363
option (google.api.http) = {
6464
get: "/v1beta1/{parent=projects/*}/occurrences"
6565
};
66-
}
66+
};
6767

6868
// Deletes the specified occurrence. For example, use this method to delete an
6969
// occurrence when the occurrence is no longer applicable for the given
@@ -73,15 +73,15 @@ service GrafeasV1Beta1 {
7373
option (google.api.http) = {
7474
delete: "/v1beta1/{name=projects/*/occurrences/*}"
7575
};
76-
}
76+
};
7777

7878
// Creates a new occurrence.
7979
rpc CreateOccurrence(CreateOccurrenceRequest) returns (Occurrence) {
8080
option (google.api.http) = {
8181
post: "/v1beta1/{parent=projects/*}/occurrences"
8282
body: "occurrence"
8383
};
84-
}
84+
};
8585

8686
// Creates new occurrences in batch.
8787
rpc BatchCreateOccurrences(BatchCreateOccurrencesRequest)
@@ -90,52 +90,52 @@ service GrafeasV1Beta1 {
9090
post: "/v1beta1/{parent=projects/*}/occurrences:batchCreate"
9191
body: "*"
9292
};
93-
}
93+
};
9494

9595
// Updates the specified occurrence.
9696
rpc UpdateOccurrence(UpdateOccurrenceRequest) returns (Occurrence) {
9797
option (google.api.http) = {
9898
patch: "/v1beta1/{name=projects/*/occurrences/*}"
9999
body: "occurrence"
100100
};
101-
}
101+
};
102102

103103
// Gets the note attached to the specified occurrence. Consumer projects can
104104
// use this method to get a note that belongs to a provider project.
105105
rpc GetOccurrenceNote(GetOccurrenceNoteRequest) returns (Note) {
106106
option (google.api.http) = {
107107
get: "/v1beta1/{name=projects/*/occurrences/*}/notes"
108108
};
109-
}
109+
};
110110

111111
// Gets the specified note.
112112
rpc GetNote(GetNoteRequest) returns (Note) {
113113
option (google.api.http) = {
114114
get: "/v1beta1/{name=projects/*/notes/*}"
115115
};
116-
}
116+
};
117117

118118
// Lists notes for the specified project.
119119
rpc ListNotes(ListNotesRequest) returns (ListNotesResponse) {
120120
option (google.api.http) = {
121121
get: "/v1beta1/{parent=projects/*}/notes"
122122
};
123-
}
123+
};
124124

125125
// Deletes the specified note.
126126
rpc DeleteNote(DeleteNoteRequest) returns (google.protobuf.Empty) {
127127
option (google.api.http) = {
128128
delete: "/v1beta1/{name=projects/*/notes/*}"
129129
};
130-
}
130+
};
131131

132132
// Creates a new note.
133133
rpc CreateNote(CreateNoteRequest) returns (Note) {
134134
option (google.api.http) = {
135135
post: "/v1beta1/{parent=projects/*}/notes"
136136
body: "note"
137137
};
138-
}
138+
};
139139

140140
// Creates new notes in batch.
141141
rpc BatchCreateNotes(BatchCreateNotesRequest)
@@ -144,15 +144,15 @@ service GrafeasV1Beta1 {
144144
post: "/v1beta1/{parent=projects/*}/notes:batchCreate"
145145
body: "*"
146146
};
147-
}
147+
};
148148

149149
// Updates the specified note.
150150
rpc UpdateNote(UpdateNoteRequest) returns (Note) {
151151
option (google.api.http) = {
152152
patch: "/v1beta1/{name=projects/*/notes/*}"
153153
body: "note"
154154
};
155-
}
155+
};
156156

157157
// Lists occurrences referencing the specified note. Provider projects can use
158158
// this method to get all occurrences across consumer projects referencing the
@@ -162,7 +162,7 @@ service GrafeasV1Beta1 {
162162
option (google.api.http) = {
163163
get: "/v1beta1/{name=projects/*/notes/*}/occurrences"
164164
};
165-
}
165+
};
166166

167167
// Gets a summary of the number and severity of occurrences.
168168
rpc GetVulnerabilityOccurrencesSummary(
@@ -171,8 +171,8 @@ service GrafeasV1Beta1 {
171171
option (google.api.http) = {
172172
get: "/v1beta1/{parent=projects/*}/occurrences:vulnerabilitySummary"
173173
};
174-
}
175-
}
174+
};
175+
};
176176

177177
// An instance of an analysis type that has been found on a resource.
178178
message Occurrence {

branches/autosynth-containeranalysis/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/proto/google/devtools/containeranalysis/v1beta1/provenance/provenance.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ syntax = "proto3";
1616

1717
package grafeas.v1beta1.provenance;
1818

19-
import "google/devtools/containeranalysis/v1beta1/source/source.proto";
20-
import "google/protobuf/timestamp.proto";
21-
2219
option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance;provenance";
2320
option java_multiple_files = true;
2421
option java_package = "io.grafeas.v1beta1.provenance";
2522
option objc_class_prefix = "GRA";
2623

24+
import "google/protobuf/timestamp.proto";
25+
import "google/devtools/containeranalysis/v1beta1/source/source.proto";
26+
2727
// Provenance of a build. Contains all information needed to verify the full
2828
// details about the build from source to completion.
2929
message BuildProvenance {

branches/autosynth-containeranalysis/google-api-grpc/proto-google-cloud-containeranalysis-v1beta1/src/main/proto/google/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ syntax = "proto3";
1616

1717
package grafeas.v1beta1.vulnerability;
1818

19-
import "google/devtools/containeranalysis/v1beta1/common/common.proto";
20-
import "google/devtools/containeranalysis/v1beta1/package/package.proto";
21-
2219
option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability;vulnerability";
2320
option java_multiple_files = true;
2421
option java_package = "io.grafeas.v1beta1.vulnerability";
2522
option objc_class_prefix = "GRA";
2623

24+
import "google/devtools/containeranalysis/v1beta1/common/common.proto";
25+
import "google/devtools/containeranalysis/v1beta1/package/package.proto";
26+
2727
// Note provider-assigned severity/impact ranking.
2828
enum Severity {
2929
// Unknown.

branches/autosynth-containeranalysis/google-api-grpc/proto-google-cloud-trace-v1/src/main/proto/google/devtools/cloudtrace/v1/trace.proto

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ option java_outer_classname = "TraceProto";
2727
option java_package = "com.google.devtools.cloudtrace.v1";
2828
option php_namespace = "Google\\Cloud\\Trace\\V1";
2929

30-
3130
// This file describes an API for collecting and viewing traces and spans
3231
// within a trace. A Trace is a collection of spans corresponding to a single
3332
// operation or set of operations for an application. A span is an individual
@@ -36,12 +35,16 @@ option php_namespace = "Google\\Cloud\\Trace\\V1";
3635
service TraceService {
3736
// Returns of a list of traces that match the specified filter conditions.
3837
rpc ListTraces(ListTracesRequest) returns (ListTracesResponse) {
39-
option (google.api.http) = { get: "/v1/projects/{project_id}/traces" };
38+
option (google.api.http) = {
39+
get: "/v1/projects/{project_id}/traces"
40+
};
4041
}
4142

4243
// Gets a single trace by its ID.
4344
rpc GetTrace(GetTraceRequest) returns (Trace) {
44-
option (google.api.http) = { get: "/v1/projects/{project_id}/traces/{trace_id}" };
45+
option (google.api.http) = {
46+
get: "/v1/projects/{project_id}/traces/{trace_id}"
47+
};
4548
}
4649

4750
// Sends new traces to Stackdriver Trace or updates existing traces. If the ID
@@ -50,7 +53,10 @@ service TraceService {
5053
// and any new fields provided are merged with the existing trace data. If the
5154
// ID does not match, a new trace is created.
5255
rpc PatchTraces(PatchTracesRequest) returns (google.protobuf.Empty) {
53-
option (google.api.http) = { patch: "/v1/projects/{project_id}/traces" body: "traces" };
56+
option (google.api.http) = {
57+
patch: "/v1/projects/{project_id}/traces"
58+
body: "traces"
59+
};
5460
}
5561
}
5662

0 commit comments

Comments
 (0)