Debian Codegraph @

docs/dyn/contentwarehouse_v1.projects.locations.links.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="contentwarehouse_v1.html">Document AI Warehouse API</a> . <a href="contentwarehouse_v1.projects.html">projects</a> . <a href="contentwarehouse_v1.projects.locations.html">locations</a> . <a href="contentwarehouse_v1.projects.locations.links.html">links</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">Creates a link.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a link between a collection and a document.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a link.</p>
89 <p class="toc_element">
90 <code><a href="#patch">patch(name, linksId, body=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Updates the link using provided UpdateLinkRequest.</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="create">create(parent, body=None, x__xgafv=None)</code>
100 <pre>Creates a link.
101
102 Args:
103 parent: string, Required. The parent name. (required)
104 body: object, The request body.
105 The object takes the form of:
106
107 { # Defines the structure for content warehouse link proto.
108 &quot;attributes&quot;: { # Other link attributes.
109 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
110 },
111 &quot;collectionId&quot;: &quot;A String&quot;, # The collection the link connects to. Should have the same project and location with the link.
112 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create timestamp.
113 &quot;creator&quot;: &quot;A String&quot;, # Output only. Indicates who created this link.
114 &quot;documentId&quot;: &quot;A String&quot;, # The document the link connects to. Should have the same project and location with the link.
115 &quot;name&quot;: &quot;A String&quot;, # The resource name of the link. Format: projects/{project_number}/locations/{location}/links/{link}. The name is ignored when creating a link.
116 }
117
118 x__xgafv: string, V1 error format.
119 Allowed values
120 1 - v1 error format
121 2 - v2 error format
122
123 Returns:
124 An object of the form:
125
126 { # Defines the structure for content warehouse link proto.
127 &quot;attributes&quot;: { # Other link attributes.
128 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
129 },
130 &quot;collectionId&quot;: &quot;A String&quot;, # The collection the link connects to. Should have the same project and location with the link.
131 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create timestamp.
132 &quot;creator&quot;: &quot;A String&quot;, # Output only. Indicates who created this link.
133 &quot;documentId&quot;: &quot;A String&quot;, # The document the link connects to. Should have the same project and location with the link.
134 &quot;name&quot;: &quot;A String&quot;, # The resource name of the link. Format: projects/{project_number}/locations/{location}/links/{link}. The name is ignored when creating a link.
135 }</pre>
136 </div>
137
138 <div class="method">
139 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
140 <pre>Deletes a link between a collection and a document.
141
142 Args:
143 name: string, Required. The name of the link to delete. (required)
144 x__xgafv: string, V1 error format.
145 Allowed values
146 1 - v1 error format
147 2 - v2 error format
148
149 Returns:
150 An object of the form:
151
152 { # 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); }
153 }</pre>
154 </div>
155
156 <div class="method">
157 <code class="details" id="get">get(name, x__xgafv=None)</code>
158 <pre>Gets a link.
159
160 Args:
161 name: string, Required. The name of the link to retrieve. (required)
162 x__xgafv: string, V1 error format.
163 Allowed values
164 1 - v1 error format
165 2 - v2 error format
166
167 Returns:
168 An object of the form:
169
170 { # Defines the structure for content warehouse link proto.
171 &quot;attributes&quot;: { # Other link attributes.
172 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
173 },
174 &quot;collectionId&quot;: &quot;A String&quot;, # The collection the link connects to. Should have the same project and location with the link.
175 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create timestamp.
176 &quot;creator&quot;: &quot;A String&quot;, # Output only. Indicates who created this link.
177 &quot;documentId&quot;: &quot;A String&quot;, # The document the link connects to. Should have the same project and location with the link.
178 &quot;name&quot;: &quot;A String&quot;, # The resource name of the link. Format: projects/{project_number}/locations/{location}/links/{link}. The name is ignored when creating a link.
179 }</pre>
180 </div>
181
182 <div class="method">
183 <code class="details" id="patch">patch(name, linksId, body=None, x__xgafv=None)</code>
184 <pre>Updates the link using provided UpdateLinkRequest.
185
186 Args:
187 name: string, The resource name of the link. Format: projects/{project_number}/locations/{location}/links/{link}. The name is ignored when creating a link. (required)
188 linksId: string, A parameter (required)
189 body: object, The request body.
190 The object takes the form of:
191
192 { # Defines the structure for content warehouse link proto.
193 &quot;attributes&quot;: { # Other link attributes.
194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
195 },
196 &quot;collectionId&quot;: &quot;A String&quot;, # The collection the link connects to. Should have the same project and location with the link.
197 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create timestamp.
198 &quot;creator&quot;: &quot;A String&quot;, # Output only. Indicates who created this link.
199 &quot;documentId&quot;: &quot;A String&quot;, # The document the link connects to. Should have the same project and location with the link.
200 &quot;name&quot;: &quot;A String&quot;, # The resource name of the link. Format: projects/{project_number}/locations/{location}/links/{link}. The name is ignored when creating a link.
201 }
202
203 x__xgafv: string, V1 error format.
204 Allowed values
205 1 - v1 error format
206 2 - v2 error format
207
208 Returns:
209 An object of the form:
210
211 { # Defines the structure for content warehouse link proto.
212 &quot;attributes&quot;: { # Other link attributes.
213 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
214 },
215 &quot;collectionId&quot;: &quot;A String&quot;, # The collection the link connects to. Should have the same project and location with the link.
216 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create timestamp.
217 &quot;creator&quot;: &quot;A String&quot;, # Output only. Indicates who created this link.
218 &quot;documentId&quot;: &quot;A String&quot;, # The document the link connects to. Should have the same project and location with the link.
219 &quot;name&quot;: &quot;A String&quot;, # The resource name of the link. Format: projects/{project_number}/locations/{location}/links/{link}. The name is ignored when creating a link.
220 }</pre>
221 </div>
222
223 </body></html>