Skip to content

Commit

Permalink
chore(grafeas): bump copyright year to 2020; change docstring line br…
Browse files Browse the repository at this point in the history
…eaks (via synth) (#10265)
  • Loading branch information
yoshi-automation authored Jan 30, 2020
1 parent f9d2cef commit c1a77a5
Show file tree
Hide file tree
Showing 21 changed files with 380 additions and 167 deletions.
2 changes: 1 addition & 1 deletion grafeas/grafeas/grafeas.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion grafeas/grafeas/grafeas_v1/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion grafeas/grafeas/grafeas_v1/gapic/enums.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion grafeas/grafeas/grafeas_v1/gapic/grafeas_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
# Copyright 2019 Google LLC
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
30 changes: 15 additions & 15 deletions grafeas/grafeas/grafeas_v1/proto/attestation_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions grafeas/grafeas/grafeas_v1/proto/build_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions grafeas/grafeas/grafeas_v1/proto/common_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions grafeas/grafeas/grafeas_v1/proto/cvss_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion grafeas/grafeas/grafeas_v1/proto/deployment_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions grafeas/grafeas/grafeas_v1/proto/discovery_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions grafeas/grafeas/grafeas_v1/proto/grafeas.proto
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ option go_package = "google.golang.org/genproto/googleapis/grafeas/v1;grafeas";
option java_multiple_files = true;
option java_package = "io.grafeas.v1";
option objc_class_prefix = "GRA";
option (google.api.resource_definition) = {
type: "grafeas.io/Project"
pattern: "projects/{project}"
};

// [Grafeas](https://grafeas.io) API.
//
Expand All @@ -53,6 +57,8 @@ option objc_class_prefix = "GRA";
// there would be one note for the vulnerability and an occurrence for each
// image with the vulnerability referring to that note.
service Grafeas {
option (google.api.default_host) = "containeranalysis.googleapis.com";

// Gets the specified occurrence.
rpc GetOccurrence(GetOccurrenceRequest) returns (Occurrence) {
option (google.api.http) = {
Expand Down Expand Up @@ -314,8 +320,7 @@ message ListOccurrencesRequest {
// `projects/[PROJECT_ID]`.
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference).type =
"cloudresourcemanager.googleapis.com/Project"
(google.api.resource_reference).type = "grafeas.io/Project"
];

// The filter expression.
Expand Down Expand Up @@ -355,8 +360,7 @@ message CreateOccurrenceRequest {
// the occurrence is to be created.
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference).type =
"cloudresourcemanager.googleapis.com/Project"
(google.api.resource_reference).type = "grafeas.io/Project"
];
// The occurrence to create.
Occurrence occurrence = 2 [(google.api.field_behavior) = REQUIRED];
Expand Down Expand Up @@ -402,8 +406,7 @@ message ListNotesRequest {
// `projects/[PROJECT_ID]`.
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference).type =
"cloudresourcemanager.googleapis.com/Project"
(google.api.resource_reference).type = "grafeas.io/Project"
];

// The filter expression.
Expand Down Expand Up @@ -443,8 +446,7 @@ message CreateNoteRequest {
// the note is to be created.
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference).type =
"cloudresourcemanager.googleapis.com/Project"
(google.api.resource_reference).type = "grafeas.io/Project"
];
// The ID to use for this note.
string note_id = 2 [(google.api.field_behavior) = REQUIRED];
Expand Down Expand Up @@ -496,8 +498,7 @@ message BatchCreateNotesRequest {
// the notes are to be created.
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference).type =
"cloudresourcemanager.googleapis.com/Project"
(google.api.resource_reference).type = "grafeas.io/Project"
];

// The notes to create. Max allowed length is 1000.
Expand All @@ -516,8 +517,7 @@ message BatchCreateOccurrencesRequest {
// the occurrences are to be created.
string parent = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference).type =
"cloudresourcemanager.googleapis.com/Project"
(google.api.resource_reference).type = "grafeas.io/Project"
];

// The occurrences to create. Max allowed length is 1000.
Expand Down
116 changes: 53 additions & 63 deletions grafeas/grafeas/grafeas_v1/proto/grafeas_pb2.py

Large diffs are not rendered by default.

18 changes: 10 additions & 8 deletions grafeas/grafeas/grafeas_v1/proto/image_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 12 additions & 9 deletions grafeas/grafeas/grafeas_v1/proto/package_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c1a77a5

Please sign in to comment.