1 // Copyright 2016 Google Inc.
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
7 // http://www.apache.org/licenses/LICENSE-2.0
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
17 package google.devtools.clouderrorreporting.v1beta1;
19 import "google/api/annotations.proto";
20 import "google/devtools/clouderrorreporting/v1beta1/common.proto";
22 option csharp_namespace = "Google.Cloud.ErrorReporting.V1Beta1";
23 option go_package = "google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1;clouderrorreporting";
24 option java_multiple_files = true;
25 option java_outer_classname = "ErrorGroupServiceProto";
26 option java_package = "com.google.devtools.clouderrorreporting.v1beta1";
27 option php_namespace = "Google\\Cloud\\ErrorReporting\\V1beta1";
29 // Service for retrieving and updating individual error groups.
30 service ErrorGroupService {
31 // Get the specified group.
32 rpc GetGroup(GetGroupRequest) returns (ErrorGroup) {
33 option (google.api.http) = {
34 get: "/v1beta1/{group_name=projects/*/groups/*}"
38 // Replace the data for the specified group.
39 // Fails if the group does not exist.
40 rpc UpdateGroup(UpdateGroupRequest) returns (ErrorGroup) {
41 option (google.api.http) = {
42 put: "/v1beta1/{group.name=projects/*/groups/*}"
48 // A request to return an individual group.
49 message GetGroupRequest {
50 // [Required] The group resource name. Written as
51 // <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
53 // <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
54 // <code>groupStats.list</code></a> to return a list of groups belonging to
57 // Example: <code>projects/my-project-123/groups/my-group</code>
58 string group_name = 1;
61 // A request to replace the existing data for the given group.
62 message UpdateGroupRequest {
63 // [Required] The group which replaces the resource on the server.