blob: d31c7565f17abab0023a6f7143276c602526f2ef [file] [log] [blame]
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2 {
font-size: 24px;
margin-bottom: 1em;
}
h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}
pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}
pre {
margin-top: 0.5em;
}
h1, h2, h3, p {
font-family: Arial, sans serif;
}
h1, h2, h3 {
border-bottom: solid #CCC 1px;
}
.toc_element {
margin-top: 0.5em;
}
.firstline {
margin-left: 2 em;
}
.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}
.details {
font-weight: bold;
font-size: 14px;
}
</style>
<h1><a href="clouderrorreporting_v1beta1.html">Error Reporting API</a> . <a href="clouderrorreporting_v1beta1.projects.html">projects</a> . <a href="clouderrorreporting_v1beta1.projects.groups.html">groups</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#get">get(groupName, x__xgafv=None)</a></code></p>
<p class="firstline">Get the specified group.</p>
<p class="toc_element">
<code><a href="#update">update(name, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Replace the data for the specified group.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="get">get(groupName, x__xgafv=None)</code>
<pre>Get the specified group.
Args:
groupName: string, Required. The group resource name. Written as
`projects/{projectID}/groups/{group_name}`. Call
[`groupStats.list`](https://cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groupStats/list)
to return a list of groups belonging to this project.
Example: `projects/my-project-123/groups/my-group` (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Description of a group of similar error events.
&quot;name&quot;: &quot;A String&quot;, # The group resource name.
# Example: &lt;code&gt;projects/my-project-123/groups/CNSgkpnppqKCUw&lt;/code&gt;
&quot;trackingIssues&quot;: [ # Associated tracking issues.
{ # Information related to tracking the progress on resolving the error.
&quot;url&quot;: &quot;A String&quot;, # A URL pointing to a related entry in an issue tracking system.
# Example: `https://github.com/user/project/issues/4`
},
],
&quot;groupId&quot;: &quot;A String&quot;, # Group IDs are unique for a given project. If the same kind of error
# occurs in different service contexts, it will receive the same group ID.
}</pre>
</div>
<div class="method">
<code class="details" id="update">update(name, body=None, x__xgafv=None)</code>
<pre>Replace the data for the specified group.
Fails if the group does not exist.
Args:
name: string, The group resource name.
Example: &lt;code&gt;projects/my-project-123/groups/CNSgkpnppqKCUw&lt;/code&gt; (required)
body: object, The request body.
The object takes the form of:
{ # Description of a group of similar error events.
&quot;name&quot;: &quot;A String&quot;, # The group resource name.
# Example: &lt;code&gt;projects/my-project-123/groups/CNSgkpnppqKCUw&lt;/code&gt;
&quot;trackingIssues&quot;: [ # Associated tracking issues.
{ # Information related to tracking the progress on resolving the error.
&quot;url&quot;: &quot;A String&quot;, # A URL pointing to a related entry in an issue tracking system.
# Example: `https://github.com/user/project/issues/4`
},
],
&quot;groupId&quot;: &quot;A String&quot;, # Group IDs are unique for a given project. If the same kind of error
# occurs in different service contexts, it will receive the same group ID.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Description of a group of similar error events.
&quot;name&quot;: &quot;A String&quot;, # The group resource name.
# Example: &lt;code&gt;projects/my-project-123/groups/CNSgkpnppqKCUw&lt;/code&gt;
&quot;trackingIssues&quot;: [ # Associated tracking issues.
{ # Information related to tracking the progress on resolving the error.
&quot;url&quot;: &quot;A String&quot;, # A URL pointing to a related entry in an issue tracking system.
# Example: `https://github.com/user/project/issues/4`
},
],
&quot;groupId&quot;: &quot;A String&quot;, # Group IDs are unique for a given project. If the same kind of error
# occurs in different service contexts, it will receive the same group ID.
}</pre>
</div>
</body></html>