public class Clouderrorreporting.Projects.Events
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Clouderrorreporting.Projects.Events.List |
class |
Clouderrorreporting.Projects.Events.Report |
Constructor and Description |
---|
Events() |
Modifier and Type | Method and Description |
---|---|
Clouderrorreporting.Projects.Events.List |
list(java.lang.String projectName)
Lists the specified events.
|
Clouderrorreporting.Projects.Events.Report |
report(java.lang.String projectName,
ReportedErrorEvent content)
Report an individual error event.
|
public Clouderrorreporting.Projects.Events.List list(java.lang.String projectName) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectName
- Required. The resource name of the Google Cloud Platform project. Written
as `projects/{projectID}`,
where `{projectID}` is the
[Google Cloud Platform project
ID](https://support.google.com/cloud/answer/6158840).
Example: `projects/my-project-123`.java.io.IOException
public Clouderrorreporting.Projects.Events.Report report(java.lang.String projectName, ReportedErrorEvent content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectName
- Required. The resource name of the Google Cloud Platform project. Written
as `projects/{projectId}`,
where `{projectId}` is the
[Google Cloud Platform project
ID](https://support.google.com/cloud/answer/6158840).
Example: // `projects/my-
project-123`.content
- the ReportedErrorEvent
java.io.IOException