Html程序  |  165行  |  4.63 KB

<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">Stackdriver 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, 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
<code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
Call
<a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
<code>groupStats.list</code></a> to return a list of groups belonging to
this project.

Example: <code>projects/my-project-123/groups/my-group</code> (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.
    "trackingIssues": [ # Associated tracking issues.
      { # Information related to tracking the progress on resolving the error.
        "url": "A String", # A URL pointing to a related entry in an issue tracking system.
            # Example: https://github.com/user/project/issues/4
      },
    ],
    "groupId": "A String", # 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.
    "name": "A String", # The group resource name.
        # Example: <code>projects/my-project-123/groups/my-groupid</code>
  }</pre>
</div>

<div class="method">
    <code class="details" id="update">update(name, body, 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: <code>projects/my-project-123/groups/my-groupid</code> (required)
  body: object, The request body. (required)
    The object takes the form of:

{ # Description of a group of similar error events.
  "trackingIssues": [ # Associated tracking issues.
    { # Information related to tracking the progress on resolving the error.
      "url": "A String", # A URL pointing to a related entry in an issue tracking system.
          # Example: https://github.com/user/project/issues/4
    },
  ],
  "groupId": "A String", # 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.
  "name": "A String", # The group resource name.
      # Example: <code>projects/my-project-123/groups/my-groupid</code>
}

  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.
    "trackingIssues": [ # Associated tracking issues.
      { # Information related to tracking the progress on resolving the error.
        "url": "A String", # A URL pointing to a related entry in an issue tracking system.
            # Example: https://github.com/user/project/issues/4
      },
    ],
    "groupId": "A String", # 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.
    "name": "A String", # The group resource name.
        # Example: <code>projects/my-project-123/groups/my-groupid</code>
  }</pre>
</div>

</body></html>