Skip to content

Commit

Permalink
docs: [clouderrorreporting] removed link to the regionalization page (#…
Browse files Browse the repository at this point in the history
…9079)

* docs: removed link to the regionalization page

PiperOrigin-RevId: 506926790

Source-Link: googleapis/googleapis@7295c41

Source-Link: https://github.com/googleapis/googleapis-gen/commit/c132408dc7a2b4705f68990eb3208f74b552eb88
Copy-Tag: eyJwIjoiamF2YS1lcnJvcnJlcG9ydGluZy8uT3dsQm90LnlhbWwiLCJoIjoiYzEzMjQwOGRjN2EyYjQ3MDVmNjg5OTBlYjMyMDhmNzRiNTUyZWI4OCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Feb 15, 2023
1 parent def8637 commit eaef8f9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 36 deletions.
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

0 comments on commit eaef8f9

Please sign in to comment.