1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="cloudsupport_v2beta.html">Google Cloud Support API</a> . <a href="cloudsupport_v2beta.cases.html">cases</a> . <a href="cloudsupport_v2beta.cases.comments.html">comments</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81  <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Add a new comment to the specified Case.</p>
83<p class="toc_element">
84  <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Retrieve all Comments associated with the Case object.</p>
86<p class="toc_element">
87  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
88<p class="firstline">Retrieves the next page of results.</p>
89<h3>Method Details</h3>
90<div class="method">
91    <code class="details" id="close">close()</code>
92  <pre>Close httplib2 connections.</pre>
93</div>
94
95<div class="method">
96    <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
97  <pre>Add a new comment to the specified Case.
98
99Args:
100  parent: string, Required. The resource name of Case to which this comment should be added. (required)
101  body: object, The request body.
102    The object takes the form of:
103
104{ # A comment associated with a support case.
105  &quot;body&quot;: &quot;A String&quot;, # The full comment body. Maximum of 120000 characters. This can contain rich text syntax.
106  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when this comment was created.
107  &quot;creator&quot;: { # An object containing information about the effective user and authenticated principal responsible for an action. # Output only. The user or Google Support agent created this comment.
108    &quot;displayName&quot;: &quot;A String&quot;, # The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.
109    &quot;email&quot;: &quot;A String&quot;, # The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.
110    &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
111    &quot;principalId&quot;: &quot;A String&quot;, # Output only. An ID representing the user that was authenticated when the corresponding action was taken. This will be an email address, if one is available, or some other unique ID. See https://cloud.google.com/docs/authentication for more information on types of authentication.
112  },
113  &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for the comment.
114  &quot;plainTextBody&quot;: &quot;A String&quot;, # Output only. An automatically generated plain text version of body with all rich text syntax stripped.
115}
116
117  x__xgafv: string, V1 error format.
118    Allowed values
119      1 - v1 error format
120      2 - v2 error format
121
122Returns:
123  An object of the form:
124
125    { # A comment associated with a support case.
126  &quot;body&quot;: &quot;A String&quot;, # The full comment body. Maximum of 120000 characters. This can contain rich text syntax.
127  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when this comment was created.
128  &quot;creator&quot;: { # An object containing information about the effective user and authenticated principal responsible for an action. # Output only. The user or Google Support agent created this comment.
129    &quot;displayName&quot;: &quot;A String&quot;, # The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.
130    &quot;email&quot;: &quot;A String&quot;, # The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.
131    &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
132    &quot;principalId&quot;: &quot;A String&quot;, # Output only. An ID representing the user that was authenticated when the corresponding action was taken. This will be an email address, if one is available, or some other unique ID. See https://cloud.google.com/docs/authentication for more information on types of authentication.
133  },
134  &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for the comment.
135  &quot;plainTextBody&quot;: &quot;A String&quot;, # Output only. An automatically generated plain text version of body with all rich text syntax stripped.
136}</pre>
137</div>
138
139<div class="method">
140    <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
141  <pre>Retrieve all Comments associated with the Case object.
142
143Args:
144  parent: string, Required. The resource name of Case object for which comments should be listed. (required)
145  pageSize: integer, The maximum number of comments fetched with each request. Defaults to 10.
146  pageToken: string, A token identifying the page of results to return. If unspecified, the first page is retrieved.
147  x__xgafv: string, V1 error format.
148    Allowed values
149      1 - v1 error format
150      2 - v2 error format
151
152Returns:
153  An object of the form:
154
155    { # The response message for the ListComments endpoint.
156  &quot;comments&quot;: [ # The list of Comments associated with the given Case.
157    { # A comment associated with a support case.
158      &quot;body&quot;: &quot;A String&quot;, # The full comment body. Maximum of 120000 characters. This can contain rich text syntax.
159      &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when this comment was created.
160      &quot;creator&quot;: { # An object containing information about the effective user and authenticated principal responsible for an action. # Output only. The user or Google Support agent created this comment.
161        &quot;displayName&quot;: &quot;A String&quot;, # The name to display for the actor. If not provided, it is inferred from credentials supplied during case creation. When an email is provided, a display name must also be provided. This will be obfuscated if the user is a Google Support agent.
162        &quot;email&quot;: &quot;A String&quot;, # The email address of the actor. If not provided, it is inferred from credentials supplied during case creation. If the authenticated principal does not have an email address, one must be provided. When a name is provided, an email must also be provided. This will be obfuscated if the user is a Google Support agent.
163        &quot;googleSupport&quot;: True or False, # Output only. Whether the actor is a Google support actor.
164        &quot;principalId&quot;: &quot;A String&quot;, # Output only. An ID representing the user that was authenticated when the corresponding action was taken. This will be an email address, if one is available, or some other unique ID. See https://cloud.google.com/docs/authentication for more information on types of authentication.
165      },
166      &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for the comment.
167      &quot;plainTextBody&quot;: &quot;A String&quot;, # Output only. An automatically generated plain text version of body with all rich text syntax stripped.
168    },
169  ],
170  &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results. This should be set in the `page_token` field of subsequent `ListCommentsRequest` message that is issued. If unspecified, there are no more results to retrieve.
171}</pre>
172</div>
173
174<div class="method">
175    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
176  <pre>Retrieves the next page of results.
177
178Args:
179  previous_request: The request for the previous page. (required)
180  previous_response: The response from the request for the previous page. (required)
181
182Returns:
183  A request object that you can call &#x27;execute()&#x27; on to request the next
184  page. Returns None if there are no more items in the collection.
185    </pre>
186</div>
187
188</body></html>