google-cloud-error_reporting 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,50 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto for package 'google.devtools.clouderrorreporting.v1beta1'
3
+ # Original file comments:
4
+ # Copyright 2016 Google Inc.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/devtools/clouderrorreporting/v1beta1/error_stats_service_pb'
21
+
22
+ module Google
23
+ module Devtools
24
+ module Clouderrorreporting
25
+ module V1beta1
26
+ module ErrorStatsService
27
+ # An API for retrieving and managing error statistics as well as data for
28
+ # individual events.
29
+ class Service
30
+
31
+ include GRPC::GenericService
32
+
33
+ self.marshal_class_method = :encode
34
+ self.unmarshal_class_method = :decode
35
+ self.service_name = 'google.devtools.clouderrorreporting.v1beta1.ErrorStatsService'
36
+
37
+ # Lists the specified groups.
38
+ rpc :ListGroupStats, ListGroupStatsRequest, ListGroupStatsResponse
39
+ # Lists the specified events.
40
+ rpc :ListEvents, ListEventsRequest, ListEventsResponse
41
+ # Deletes all error events of a given project.
42
+ rpc :DeleteEvents, DeleteEventsRequest, DeleteEventsResponse
43
+ end
44
+
45
+ Stub = Service.rpc_stub_class
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,34 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/devtools/clouderrorreporting/v1beta1/common_pb'
8
+ require 'google/protobuf/timestamp_pb'
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_message "google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest" do
11
+ optional :project_name, :string, 1
12
+ optional :event, :message, 2, "google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent"
13
+ end
14
+ add_message "google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse" do
15
+ end
16
+ add_message "google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent" do
17
+ optional :event_time, :message, 1, "google.protobuf.Timestamp"
18
+ optional :service_context, :message, 2, "google.devtools.clouderrorreporting.v1beta1.ServiceContext"
19
+ optional :message, :string, 3
20
+ optional :context, :message, 4, "google.devtools.clouderrorreporting.v1beta1.ErrorContext"
21
+ end
22
+ end
23
+
24
+ module Google
25
+ module Devtools
26
+ module Clouderrorreporting
27
+ module V1beta1
28
+ ReportErrorEventRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest").msgclass
29
+ ReportErrorEventResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse").msgclass
30
+ ReportedErrorEvent = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent").msgclass
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,52 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto for package 'google.devtools.clouderrorreporting.v1beta1'
3
+ # Original file comments:
4
+ # Copyright 2016 Google Inc.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/devtools/clouderrorreporting/v1beta1/report_errors_service_pb'
21
+
22
+ module Google
23
+ module Devtools
24
+ module Clouderrorreporting
25
+ module V1beta1
26
+ module ReportErrorsService
27
+ # An API for reporting error events.
28
+ class Service
29
+
30
+ include GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.devtools.clouderrorreporting.v1beta1.ReportErrorsService'
35
+
36
+ # Report an individual error event.
37
+ #
38
+ # This endpoint accepts <strong>either</strong> an OAuth token,
39
+ # <strong>or</strong> an
40
+ # <a href="https://support.google.com/cloud/answer/6158862">API key</a>
41
+ # for authentication. To use an API key, append it to the URL as the value of
42
+ # a `key` parameter. For example:
43
+ # <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
44
+ rpc :ReportErrorEvent, ReportErrorEventRequest, ReportErrorEventResponse
45
+ end
46
+
47
+ Stub = Service.rpc_stub_class
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
metadata ADDED
@@ -0,0 +1,257 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: google-cloud-error_reporting
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.21.0
5
+ platform: ruby
6
+ authors:
7
+ - Google Inc
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-10-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: google-gax
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.6.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.6.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: grpc
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: googleauth
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.5.1
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.5.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: googleapis-common-protos
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.3.1
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 1.3.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: google-cloud-core
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.21.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.21.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: bundler
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1.9'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1.9'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rake
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '10.4'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '10.4'
111
+ - !ruby/object:Gem::Dependency
112
+ name: minitest
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '5.9'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '5.9'
125
+ - !ruby/object:Gem::Dependency
126
+ name: minitest-autotest
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '1.0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '1.0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: minitest-focus
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '1.1'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '1.1'
153
+ - !ruby/object:Gem::Dependency
154
+ name: minitest-rg
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '5.2'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '5.2'
167
+ - !ruby/object:Gem::Dependency
168
+ name: actionpack
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '4.0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '4.0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: railties
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '3.2'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '3.2'
195
+ - !ruby/object:Gem::Dependency
196
+ name: rack
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0.1'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0.1'
209
+ description: a grpc-based api
210
+ email: googleapis-packages@google.com
211
+ executables: []
212
+ extensions: []
213
+ extra_rdoc_files: []
214
+ files:
215
+ - README.md
216
+ - Rakefile
217
+ - lib/google/cloud/error_reporting/middleware.rb
218
+ - lib/google/cloud/error_reporting/rails.rb
219
+ - lib/google/cloud/error_reporting/v1beta1.rb
220
+ - lib/google/cloud/error_reporting/v1beta1/error_group_service_api.rb
221
+ - lib/google/cloud/error_reporting/v1beta1/error_group_service_client_config.json
222
+ - lib/google/cloud/error_reporting/v1beta1/error_stats_service_api.rb
223
+ - lib/google/cloud/error_reporting/v1beta1/error_stats_service_client_config.json
224
+ - lib/google/cloud/error_reporting/v1beta1/report_errors_service_api.rb
225
+ - lib/google/cloud/error_reporting/v1beta1/report_errors_service_client_config.json
226
+ - lib/google/devtools/clouderrorreporting/v1beta1/common_pb.rb
227
+ - lib/google/devtools/clouderrorreporting/v1beta1/error_group_service_pb.rb
228
+ - lib/google/devtools/clouderrorreporting/v1beta1/error_group_service_services_pb.rb
229
+ - lib/google/devtools/clouderrorreporting/v1beta1/error_stats_service_pb.rb
230
+ - lib/google/devtools/clouderrorreporting/v1beta1/error_stats_service_services_pb.rb
231
+ - lib/google/devtools/clouderrorreporting/v1beta1/report_errors_service_pb.rb
232
+ - lib/google/devtools/clouderrorreporting/v1beta1/report_errors_service_services_pb.rb
233
+ homepage: https://github.com/googleapis/googleapis
234
+ licenses:
235
+ - Apache-2.0
236
+ metadata: {}
237
+ post_install_message:
238
+ rdoc_options: []
239
+ require_paths:
240
+ - lib
241
+ required_ruby_version: !ruby/object:Gem::Requirement
242
+ requirements:
243
+ - - ">="
244
+ - !ruby/object:Gem::Version
245
+ version: 2.0.0
246
+ required_rubygems_version: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ version: '0'
251
+ requirements: []
252
+ rubyforge_project:
253
+ rubygems_version: 2.6.4
254
+ signing_key:
255
+ specification_version: 4
256
+ summary: Google client library for the Stackdriver Clouderrorreporting service
257
+ test_files: []