Skip to content

Commit 3b7b3de

Browse files
yoshi-automationsduskis
authored andcommitted
Regenerate containeranalysis client (#4565)
1 parent f5158de commit 3b7b3de

File tree

9 files changed

+53
-49
lines changed

9 files changed

+53
-49
lines changed

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.

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+
1921
option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build;build";
2022
option java_multiple_files = true;
2123
option java_package = "io.grafeas.v1beta1.build";
2224
option objc_class_prefix = "GRA";
2325

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 {

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ 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) returns (google.iam.v1.Policy) {
51+
rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest)
52+
returns (google.iam.v1.Policy) {
5253
option (google.api.http) = {
5354
post: "/v1beta1/{resource=projects/*/notes/*}:setIamPolicy"
5455
body: "*"
@@ -67,7 +68,8 @@ service ContainerAnalysisV1Beta1 {
6768
// The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
6869
// notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
6970
// occurrences.
70-
rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
71+
rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest)
72+
returns (google.iam.v1.Policy) {
7173
option (google.api.http) = {
7274
post: "/v1beta1/{resource=projects/*/notes/*}:getIamPolicy"
7375
body: "*"
@@ -85,7 +87,8 @@ service ContainerAnalysisV1Beta1 {
8587
// The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
8688
// notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
8789
// occurrences.
88-
rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
90+
rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest)
91+
returns (google.iam.v1.TestIamPermissionsResponse) {
8992
option (google.api.http) = {
9093
post: "/v1beta1/{resource=projects/*/notes/*}:testIamPermissions"
9194
body: "*"
@@ -104,7 +107,8 @@ service ContainerAnalysisV1Beta1 {
104107
}
105108

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

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+
1921
option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment;deployment";
2022
option java_multiple_files = true;
2123
option java_package = "io.grafeas.v1beta1.deployment";
2224
option objc_class_prefix = "GRA";
2325

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.

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+
1923
option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery;discovery";
2024
option java_multiple_files = true;
2125
option java_package = "io.grafeas.v1beta1.discovery";
2226
option objc_class_prefix = "GRA";
2327

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.

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,11 +16,6 @@ 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-
2419
import "google/api/annotations.proto";
2520
import "google/devtools/containeranalysis/v1beta1/attestation/attestation.proto";
2621
import "google/devtools/containeranalysis/v1beta1/build/build.proto";
@@ -35,6 +30,11 @@ import "google/protobuf/empty.proto";
3530
import "google/protobuf/field_mask.proto";
3631
import "google/protobuf/timestamp.proto";
3732

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 {

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+
1922
option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance;provenance";
2023
option java_multiple_files = true;
2124
option java_package = "io.grafeas.v1beta1.provenance";
2225
option objc_class_prefix = "GRA";
2326

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 {

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+
1922
option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability;vulnerability";
2023
option java_multiple_files = true;
2124
option java_package = "io.grafeas.v1beta1.vulnerability";
2225
option objc_class_prefix = "GRA";
2326

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.

google-cloud-clients/google-cloud-containeranalysis/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-01-17T08:39:23.489812Z",
2+
"updateTime": "2019-02-26T08:38:14.123641Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.6",
8-
"dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e"
7+
"version": "0.16.14",
8+
"dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05",
16-
"internalRef": "229626798"
15+
"sha": "29f098cb03a9983cc9cb15993de5da64419046f2",
16+
"internalRef": "235621085"
1717
}
1818
}
1919
],

0 commit comments

Comments
 (0)