Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: [clouderrorreporting] removed link to the regionalization page #9079

Merged
merged 2 commits into from
Feb 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions java-errorreporting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-errorreporting</artifactId>
<version>0.129.0-beta</version>
<version>0.130.0-beta</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-errorreporting:0.129.0-beta'
implementation 'com.google.cloud:google-cloud-errorreporting:0.130.0-beta'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.129.0-beta"
libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.130.0-beta"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,6 @@ public ReportErrorsServiceStub getStub() {
* Cloud Logging and doesn't analyze logs stored in regional log buckets or logs routed to other
* Google Cloud projects.
*
* <p>For more information, see [Using Error Reporting with regionalized
* logs](/error-reporting/docs/regionalization).
*
* <p>Sample code:
*
* <pre>{@code
Expand Down Expand Up @@ -245,9 +242,6 @@ public final ReportErrorEventResponse reportErrorEvent(
* Cloud Logging and doesn't analyze logs stored in regional log buckets or logs routed to other
* Google Cloud projects.
*
* <p>For more information, see [Using Error Reporting with regionalized
* logs](/error-reporting/docs/regionalization).
*
* <p>Sample code:
*
* <pre>{@code
Expand Down Expand Up @@ -297,9 +291,6 @@ public final ReportErrorEventResponse reportErrorEvent(
* Cloud Logging and doesn't analyze logs stored in regional log buckets or logs routed to other
* Google Cloud projects.
*
* <p>For more information, see [Using Error Reporting with regionalized
* logs](/error-reporting/docs/regionalization).
*
* <p>Sample code:
*
* <pre>{@code
Expand Down Expand Up @@ -344,9 +335,6 @@ public final ReportErrorEventResponse reportErrorEvent(ReportErrorEventRequest r
* Cloud Logging and doesn't analyze logs stored in regional log buckets or logs routed to other
* Google Cloud projects.
*
* <p>For more information, see [Using Error Reporting with regionalized
* logs](/error-reporting/docs/regionalization).
*
* <p>Sample code:
*
* <pre>{@code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ public abstract static class ReportErrorsServiceImplBase implements io.grpc.Bind
* **Note:** [Error Reporting](/error-reporting) is a global service built
* on Cloud Logging and doesn't analyze logs stored
* in regional log buckets or logs routed to other Google Cloud projects.
* For more information, see
* [Using Error Reporting with regionalized
* logs](/error-reporting/docs/regionalization).
* </pre>
*/
public void reportErrorEvent(
Expand Down Expand Up @@ -209,9 +206,6 @@ protected ReportErrorsServiceStub build(
* **Note:** [Error Reporting](/error-reporting) is a global service built
* on Cloud Logging and doesn't analyze logs stored
* in regional log buckets or logs routed to other Google Cloud projects.
* For more information, see
* [Using Error Reporting with regionalized
* logs](/error-reporting/docs/regionalization).
* </pre>
*/
public void reportErrorEvent(
Expand Down Expand Up @@ -260,9 +254,6 @@ protected ReportErrorsServiceBlockingStub build(
* **Note:** [Error Reporting](/error-reporting) is a global service built
* on Cloud Logging and doesn't analyze logs stored
* in regional log buckets or logs routed to other Google Cloud projects.
* For more information, see
* [Using Error Reporting with regionalized
* logs](/error-reporting/docs/regionalization).
* </pre>
*/
public com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse
Expand Down Expand Up @@ -307,9 +298,6 @@ protected ReportErrorsServiceFutureStub build(
* **Note:** [Error Reporting](/error-reporting) is a global service built
* on Cloud Logging and doesn't analyze logs stored
* in regional log buckets or logs routed to other Google Cloud projects.
* For more information, see
* [Using Error Reporting with regionalized
* logs](/error-reporting/docs/regionalization).
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ option ruby_package = "Google::Cloud::ErrorReporting::V1beta1";
// An API for reporting error events.
service ReportErrorsService {
option (google.api.default_host) = "clouderrorreporting.googleapis.com";
option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
option (google.api.oauth_scopes) =
"https://www.googleapis.com/auth/cloud-platform";

// Report an individual error event and record the event to a log.
//
Expand All @@ -51,10 +52,8 @@ service ReportErrorsService {
// on Cloud Logging and doesn't analyze logs stored
// in regional log buckets or logs routed to other Google Cloud projects.
//
// For more information, see
// [Using Error Reporting with regionalized
// logs](/error-reporting/docs/regionalization).
rpc ReportErrorEvent(ReportErrorEventRequest) returns (ReportErrorEventResponse) {
rpc ReportErrorEvent(ReportErrorEventRequest)
returns (ReportErrorEventResponse) {
option (google.api.http) = {
post: "/v1beta1/{project_name=projects/*}/events:report"
body: "event"
Expand Down Expand Up @@ -84,16 +83,15 @@ message ReportErrorEventRequest {

// Response for reporting an individual error event.
// Data may be added to this message in the future.
message ReportErrorEventResponse {

}
message ReportErrorEventResponse {}

// An error event which is reported to the Error Reporting system.
message ReportedErrorEvent {
// Optional. Time when the event occurred.
// If not provided, the time when the event was received by the
// Error Reporting system will be used.
google.protobuf.Timestamp event_time = 1 [(google.api.field_behavior) = OPTIONAL];
google.protobuf.Timestamp event_time = 1
[(google.api.field_behavior) = OPTIONAL];

// Required. The service context in which this error has occurred.
ServiceContext service_context = 2 [(google.api.field_behavior) = REQUIRED];
Expand Down