Debian Codegraph @

docs/dyn/connectors_v2.projects.locations.connections.resources.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="connectors_v2.html">Connectors API</a> . <a href="connectors_v2.projects.html">projects</a> . <a href="connectors_v2.projects.locations.html">locations</a> . <a href="connectors_v2.projects.locations.connections.html">connections</a> . <a href="connectors_v2.projects.locations.connections.resources.html">resources</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="#get">get(name, executionConfig_headers=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Gets a specific resource.</p>
83 <p class="toc_element">
84 <code><a href="#getResourcePost">getResourcePost(name, body=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Gets a specific resource with POST.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(parent, executionConfig_headers=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists all available resources.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="get">get(name, executionConfig_headers=None, x__xgafv=None)</code>
100 <pre>Gets a specific resource.
101
102 Args:
103 name: string, Required. Resource name of the Resource. Format: projects/{project}/locations/{location}/connections/{connection}/resources/{resource} (required)
104 executionConfig_headers: string, headers to be used for the request. For example: headers:&#x27;{&quot;x-integration-connectors-managed-connection-id&quot;:&quot;conn-id&quot;,&quot;x-integration-connectors-runtime-config&quot;:&quot;runtime-cfg&quot;}&#x27;
105 x__xgafv: string, V1 error format.
106 Allowed values
107 1 - v1 error format
108 2 - v2 error format
109
110 Returns:
111 An object of the form:
112
113 {
114 &quot;_meta&quot;: { # Metadata for the resource.
115 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
116 },
117 &quot;data&quot;: &quot;A String&quot;, # The content of the resource.
118 &quot;metadata&quot;: { # Metadata like service latency, etc.
119 &quot;a_key&quot;: {
120 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
121 },
122 },
123 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the resource.
124 }</pre>
125 </div>
126
127 <div class="method">
128 <code class="details" id="getResourcePost">getResourcePost(name, body=None, x__xgafv=None)</code>
129 <pre>Gets a specific resource with POST.
130
131 Args:
132 name: string, Required. Resource name of the Resource. Format: projects/{project}/locations/{location}/connections/{connection}/resources/{resource} (required)
133 body: object, The request body.
134 The object takes the form of:
135
136 { # Request message for ConnectorAgentService.GetResourcePost
137 &quot;executionConfig&quot;: { # execution config for the request.
138 &quot;headers&quot;: &quot;A String&quot;, # headers to be used for the request. For example: headers:&#x27;{&quot;x-integration-connectors-managed-connection-id&quot;:&quot;conn-id&quot;,&quot;x-integration-connectors-runtime-config&quot;:&quot;runtime-cfg&quot;}&#x27;
139 },
140 &quot;toolSpec&quot;: { # List of tool specifications.
141 &quot;toolDefinitions&quot;: [ # List of tool definitions.
142 {
143 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
144 },
145 ],
146 &quot;toolSpecVersion&quot;: &quot;A String&quot;, # Version of the tool spec. Format: providerId/connectorId/versionId/toolSpecId
147 },
148 }
149
150 x__xgafv: string, V1 error format.
151 Allowed values
152 1 - v1 error format
153 2 - v2 error format
154
155 Returns:
156 An object of the form:
157
158 {
159 &quot;_meta&quot;: { # Metadata for the resource.
160 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
161 },
162 &quot;data&quot;: &quot;A String&quot;, # The content of the resource.
163 &quot;metadata&quot;: { # Metadata like service latency, etc.
164 &quot;a_key&quot;: {
165 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
166 },
167 },
168 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of the resource.
169 }</pre>
170 </div>
171
172 <div class="method">
173 <code class="details" id="list">list(parent, executionConfig_headers=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
174 <pre>Lists all available resources.
175
176 Args:
177 parent: string, Required. Resource name of the connection. Format: projects/{project}/locations/{location}/connections/{connection} (required)
178 executionConfig_headers: string, headers to be used for the request. For example: headers:&#x27;{&quot;x-integration-connectors-managed-connection-id&quot;:&quot;conn-id&quot;,&quot;x-integration-connectors-runtime-config&quot;:&quot;runtime-cfg&quot;}&#x27;
179 pageSize: integer, Optional. Page size for the request.
180 pageToken: string, Optional. Page token for the request.
181 x__xgafv: string, V1 error format.
182 Allowed values
183 1 - v1 error format
184 2 - v2 error format
185
186 Returns:
187 An object of the form:
188
189 {
190 &quot;metadata&quot;: { # Metadata like service latency, etc.
191 &quot;a_key&quot;: {
192 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
193 },
194 },
195 &quot;nextPageToken&quot;: &quot;A String&quot;, # Next page token if more resources available.
196 &quot;resources&quot;: [ # List of available resources.
197 {
198 &quot;_meta&quot;: { # Metadata for the resource.
199 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
200 },
201 &quot;description&quot;: &quot;A String&quot;, # A description of what this resource represents.
202 &quot;mimeType&quot;: &quot;A String&quot;, # The MIME type of this resource, if known.
203 &quot;name&quot;: &quot;A String&quot;, # A human-readable name for this resource.
204 &quot;size&quot;: &quot;A String&quot;, # The size of the raw resource content, in bytes, if known.
205 &quot;uri&quot;: &quot;A String&quot;, # The URI of this resource.
206 },
207 ],
208 }</pre>
209 </div>
210
211 <div class="method">
212 <code class="details" id="list_next">list_next()</code>
213 <pre>Retrieves the next page of results.
214
215 Args:
216 previous_request: The request for the previous page. (required)
217 previous_response: The response from the request for the previous page. (required)
218
219 Returns:
220 A request object that you can call &#x27;execute()&#x27; on to request the next
221 page. Returns None if there are no more items in the collection.
222 </pre>
223 </div>
224
225 </body></html>