Debian Codegraph @

docs/dyn/workspaceevents_v1.tasks.pushNotificationConfigs.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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="workspaceevents_v1.html">Google Workspace Events API</a> . <a href="workspaceevents_v1.tasks.html">tasks</a> . <a href="workspaceevents_v1.tasks.pushNotificationConfigs.html">pushNotificationConfigs</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, configId=None, tenant=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Set a push notification config for a task.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, tenant=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Delete a push notification config for a task.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, tenant=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Get a push notification config for a task.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, pageSize=None, pageToken=None, tenant=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Get a list of push notifications configured for a task.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="create">create(parent, body=None, configId=None, tenant=None, x__xgafv=None)</code>
103 <pre>Set a push notification config for a task.
104
105 Args:
106 parent: string, Required. The parent task resource for this config. Format: tasks/{task_id} (required)
107 body: object, The request body.
108 The object takes the form of:
109
110 {
111 &quot;name&quot;: &quot;A String&quot;, # The resource name of the config. Format: tasks/{task_id}/pushNotificationConfigs/{config_id}
112 &quot;pushNotificationConfig&quot;: { # Configuration for setting up push notifications for task updates. # The push notification configuration details.
113 &quot;authentication&quot;: { # Defines authentication details, used for push notifications. # Information about the authentication to sent with the notification
114 &quot;credentials&quot;: &quot;A String&quot;, # Optional credentials
115 &quot;schemes&quot;: [ # Supported authentication schemes - e.g. Basic, Bearer, etc
116 &quot;A String&quot;,
117 ],
118 },
119 &quot;id&quot;: &quot;A String&quot;, # A unique identifier (e.g. UUID) for this push notification.
120 &quot;token&quot;: &quot;A String&quot;, # Token unique for this task/session
121 &quot;url&quot;: &quot;A String&quot;, # Url to send the notification too
122 },
123 }
124
125 configId: string, Required. The ID for the new config.
126 tenant: string, Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.
127 x__xgafv: string, V1 error format.
128 Allowed values
129 1 - v1 error format
130 2 - v2 error format
131
132 Returns:
133 An object of the form:
134
135 {
136 &quot;name&quot;: &quot;A String&quot;, # The resource name of the config. Format: tasks/{task_id}/pushNotificationConfigs/{config_id}
137 &quot;pushNotificationConfig&quot;: { # Configuration for setting up push notifications for task updates. # The push notification configuration details.
138 &quot;authentication&quot;: { # Defines authentication details, used for push notifications. # Information about the authentication to sent with the notification
139 &quot;credentials&quot;: &quot;A String&quot;, # Optional credentials
140 &quot;schemes&quot;: [ # Supported authentication schemes - e.g. Basic, Bearer, etc
141 &quot;A String&quot;,
142 ],
143 },
144 &quot;id&quot;: &quot;A String&quot;, # A unique identifier (e.g. UUID) for this push notification.
145 &quot;token&quot;: &quot;A String&quot;, # Token unique for this task/session
146 &quot;url&quot;: &quot;A String&quot;, # Url to send the notification too
147 },
148 }</pre>
149 </div>
150
151 <div class="method">
152 <code class="details" id="delete">delete(name, tenant=None, x__xgafv=None)</code>
153 <pre>Delete a push notification config for a task.
154
155 Args:
156 name: string, The resource name of the config to delete. Format: tasks/{task_id}/pushNotificationConfigs/{config_id} (required)
157 tenant: string, Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.
158 x__xgafv: string, V1 error format.
159 Allowed values
160 1 - v1 error format
161 2 - v2 error format
162
163 Returns:
164 An object of the form:
165
166 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
167 }</pre>
168 </div>
169
170 <div class="method">
171 <code class="details" id="get">get(name, tenant=None, x__xgafv=None)</code>
172 <pre>Get a push notification config for a task.
173
174 Args:
175 name: string, The resource name of the config to retrieve. Format: tasks/{task_id}/pushNotificationConfigs/{config_id} (required)
176 tenant: string, Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.
177 x__xgafv: string, V1 error format.
178 Allowed values
179 1 - v1 error format
180 2 - v2 error format
181
182 Returns:
183 An object of the form:
184
185 {
186 &quot;name&quot;: &quot;A String&quot;, # The resource name of the config. Format: tasks/{task_id}/pushNotificationConfigs/{config_id}
187 &quot;pushNotificationConfig&quot;: { # Configuration for setting up push notifications for task updates. # The push notification configuration details.
188 &quot;authentication&quot;: { # Defines authentication details, used for push notifications. # Information about the authentication to sent with the notification
189 &quot;credentials&quot;: &quot;A String&quot;, # Optional credentials
190 &quot;schemes&quot;: [ # Supported authentication schemes - e.g. Basic, Bearer, etc
191 &quot;A String&quot;,
192 ],
193 },
194 &quot;id&quot;: &quot;A String&quot;, # A unique identifier (e.g. UUID) for this push notification.
195 &quot;token&quot;: &quot;A String&quot;, # Token unique for this task/session
196 &quot;url&quot;: &quot;A String&quot;, # Url to send the notification too
197 },
198 }</pre>
199 </div>
200
201 <div class="method">
202 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, tenant=None, x__xgafv=None)</code>
203 <pre>Get a list of push notifications configured for a task.
204
205 Args:
206 parent: string, The parent task resource. Format: tasks/{task_id} (required)
207 pageSize: integer, For AIP-158 these fields are present. Usually not used/needed. The maximum number of configurations to return. If unspecified, all configs will be returned.
208 pageToken: string, A page token received from a previous ListTaskPushNotificationConfigRequest call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTaskPushNotificationConfigRequest` must match the call that provided the page token.
209 tenant: string, Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.
210 x__xgafv: string, V1 error format.
211 Allowed values
212 1 - v1 error format
213 2 - v2 error format
214
215 Returns:
216 An object of the form:
217
218 {
219 &quot;configs&quot;: [ # The list of push notification configurations.
220 {
221 &quot;name&quot;: &quot;A String&quot;, # The resource name of the config. Format: tasks/{task_id}/pushNotificationConfigs/{config_id}
222 &quot;pushNotificationConfig&quot;: { # Configuration for setting up push notifications for task updates. # The push notification configuration details.
223 &quot;authentication&quot;: { # Defines authentication details, used for push notifications. # Information about the authentication to sent with the notification
224 &quot;credentials&quot;: &quot;A String&quot;, # Optional credentials
225 &quot;schemes&quot;: [ # Supported authentication schemes - e.g. Basic, Bearer, etc
226 &quot;A String&quot;,
227 ],
228 },
229 &quot;id&quot;: &quot;A String&quot;, # A unique identifier (e.g. UUID) for this push notification.
230 &quot;token&quot;: &quot;A String&quot;, # Token unique for this task/session
231 &quot;url&quot;: &quot;A String&quot;, # Url to send the notification too
232 },
233 },
234 ],
235 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
236 }</pre>
237 </div>
238
239 <div class="method">
240 <code class="details" id="list_next">list_next()</code>
241 <pre>Retrieves the next page of results.
242
243 Args:
244 previous_request: The request for the previous page. (required)
245 previous_response: The response from the request for the previous page. (required)
246
247 Returns:
248 A request object that you can call &#x27;execute()&#x27; on to request the next
249 page. Returns None if there are no more items in the collection.
250 </pre>
251 </div>
252
253 </body></html>