Debian Codegraph @

docs/dyn/discoveryengine_v1alpha.projects.locations.collections.dataStores.siteSearchEngine.targetSites.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="discoveryengine_v1alpha.html">Discovery Engine API</a> . <a href="discoveryengine_v1alpha.projects.html">projects</a> . <a href="discoveryengine_v1alpha.projects.locations.html">locations</a> . <a href="discoveryengine_v1alpha.projects.locations.collections.html">collections</a> . <a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.html">dataStores</a> . <a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.siteSearchEngine.html">siteSearchEngine</a> . <a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.siteSearchEngine.targetSites.html">targetSites</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="discoveryengine_v1alpha.projects.locations.collections.dataStores.siteSearchEngine.targetSites.operations.html">operations()</a></code>
79 </p>
80 <p class="firstline">Returns the operations Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#batchCreate">batchCreate(parent, body=None, x__xgafv=None)</a></code></p>
84 <p class="firstline">Creates TargetSite in a batch.</p>
85 <p class="toc_element">
86 <code><a href="#close">close()</a></code></p>
87 <p class="firstline">Close httplib2 connections.</p>
88 <p class="toc_element">
89 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Creates a TargetSite.</p>
91 <p class="toc_element">
92 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Deletes a TargetSite.</p>
94 <p class="toc_element">
95 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
96 <p class="firstline">Gets a TargetSite.</p>
97 <p class="toc_element">
98 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
99 <p class="firstline">Gets a list of TargetSites.</p>
100 <p class="toc_element">
101 <code><a href="#list_next">list_next()</a></code></p>
102 <p class="firstline">Retrieves the next page of results.</p>
103 <p class="toc_element">
104 <code><a href="#patch">patch(name, body=None, x__xgafv=None)</a></code></p>
105 <p class="firstline">Updates a TargetSite.</p>
106 <h3>Method Details</h3>
107 <div class="method">
108 <code class="details" id="batchCreate">batchCreate(parent, body=None, x__xgafv=None)</code>
109 <pre>Creates TargetSite in a batch.
110
111 Args:
112 parent: string, Required. The parent resource shared by all TargetSites being created. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. The parent field in the CreateBookRequest messages must either be empty or match this field. (required)
113 body: object, The request body.
114 The object takes the form of:
115
116 { # Request message for SiteSearchEngineService.BatchCreateTargetSites method.
117 &quot;requests&quot;: [ # Required. The request message specifying the resources to create. A maximum of 20 TargetSites can be created in a batch.
118 { # Request message for SiteSearchEngineService.CreateTargetSite method.
119 &quot;parent&quot;: &quot;A String&quot;, # Required. Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`.
120 &quot;targetSite&quot;: { # A target site for the SiteSearchEngine. # Required. The TargetSite to create.
121 &quot;exactMatch&quot;: True or False, # Immutable. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine.
122 &quot;failureReason&quot;: { # Site search indexing failure reasons. # Output only. Failure reason.
123 &quot;quotaFailure&quot;: { # Failed due to insufficient quota. # Failed due to insufficient quota.
124 &quot;totalRequiredQuota&quot;: &quot;A String&quot;, # This number is an estimation on how much total quota this project needs to successfully complete indexing.
125 },
126 },
127 &quot;generatedUriPattern&quot;: &quot;A String&quot;, # Output only. This is system-generated based on the provided_uri_pattern.
128 &quot;indexingStatus&quot;: &quot;A String&quot;, # Output only. Indexing status.
129 &quot;name&quot;: &quot;A String&quot;, # Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.
130 &quot;providedUriPattern&quot;: &quot;A String&quot;, # Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated.
131 &quot;rootDomainUri&quot;: &quot;A String&quot;, # Output only. Root domain of the provided_uri_pattern.
132 &quot;siteVerificationInfo&quot;: { # Verification information for target sites in advanced site search. # Output only. Site ownership and validity verification status.
133 &quot;siteVerificationState&quot;: &quot;A String&quot;, # Site verification state indicating the ownership and validity.
134 &quot;verifyTime&quot;: &quot;A String&quot;, # Latest site verification time.
135 },
136 &quot;type&quot;: &quot;A String&quot;, # The type of the target site, e.g., whether the site is to be included or excluded.
137 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The target site&#x27;s last updated time.
138 },
139 },
140 ],
141 }
142
143 x__xgafv: string, V1 error format.
144 Allowed values
145 1 - v1 error format
146 2 - v2 error format
147
148 Returns:
149 An object of the form:
150
151 { # This resource represents a long-running operation that is the result of a network API call.
152 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
153 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
154 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
155 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
156 {
157 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
158 },
159 ],
160 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
161 },
162 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
163 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
164 },
165 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
166 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
167 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
168 },
169 }</pre>
170 </div>
171
172 <div class="method">
173 <code class="details" id="close">close()</code>
174 <pre>Close httplib2 connections.</pre>
175 </div>
176
177 <div class="method">
178 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
179 <pre>Creates a TargetSite.
180
181 Args:
182 parent: string, Required. Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. (required)
183 body: object, The request body.
184 The object takes the form of:
185
186 { # A target site for the SiteSearchEngine.
187 &quot;exactMatch&quot;: True or False, # Immutable. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine.
188 &quot;failureReason&quot;: { # Site search indexing failure reasons. # Output only. Failure reason.
189 &quot;quotaFailure&quot;: { # Failed due to insufficient quota. # Failed due to insufficient quota.
190 &quot;totalRequiredQuota&quot;: &quot;A String&quot;, # This number is an estimation on how much total quota this project needs to successfully complete indexing.
191 },
192 },
193 &quot;generatedUriPattern&quot;: &quot;A String&quot;, # Output only. This is system-generated based on the provided_uri_pattern.
194 &quot;indexingStatus&quot;: &quot;A String&quot;, # Output only. Indexing status.
195 &quot;name&quot;: &quot;A String&quot;, # Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.
196 &quot;providedUriPattern&quot;: &quot;A String&quot;, # Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated.
197 &quot;rootDomainUri&quot;: &quot;A String&quot;, # Output only. Root domain of the provided_uri_pattern.
198 &quot;siteVerificationInfo&quot;: { # Verification information for target sites in advanced site search. # Output only. Site ownership and validity verification status.
199 &quot;siteVerificationState&quot;: &quot;A String&quot;, # Site verification state indicating the ownership and validity.
200 &quot;verifyTime&quot;: &quot;A String&quot;, # Latest site verification time.
201 },
202 &quot;type&quot;: &quot;A String&quot;, # The type of the target site, e.g., whether the site is to be included or excluded.
203 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The target site&#x27;s last updated time.
204 }
205
206 x__xgafv: string, V1 error format.
207 Allowed values
208 1 - v1 error format
209 2 - v2 error format
210
211 Returns:
212 An object of the form:
213
214 { # This resource represents a long-running operation that is the result of a network API call.
215 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
216 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
217 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
218 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
219 {
220 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
221 },
222 ],
223 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
224 },
225 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
226 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
227 },
228 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
229 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
230 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
231 },
232 }</pre>
233 </div>
234
235 <div class="method">
236 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
237 <pre>Deletes a TargetSite.
238
239 Args:
240 name: string, Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned. (required)
241 x__xgafv: string, V1 error format.
242 Allowed values
243 1 - v1 error format
244 2 - v2 error format
245
246 Returns:
247 An object of the form:
248
249 { # This resource represents a long-running operation that is the result of a network API call.
250 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
251 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
252 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
253 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
254 {
255 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
256 },
257 ],
258 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
259 },
260 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
261 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
262 },
263 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
264 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
265 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
266 },
267 }</pre>
268 </div>
269
270 <div class="method">
271 <code class="details" id="get">get(name, x__xgafv=None)</code>
272 <pre>Gets a TargetSite.
273
274 Args:
275 name: string, Required. Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned. (required)
276 x__xgafv: string, V1 error format.
277 Allowed values
278 1 - v1 error format
279 2 - v2 error format
280
281 Returns:
282 An object of the form:
283
284 { # A target site for the SiteSearchEngine.
285 &quot;exactMatch&quot;: True or False, # Immutable. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine.
286 &quot;failureReason&quot;: { # Site search indexing failure reasons. # Output only. Failure reason.
287 &quot;quotaFailure&quot;: { # Failed due to insufficient quota. # Failed due to insufficient quota.
288 &quot;totalRequiredQuota&quot;: &quot;A String&quot;, # This number is an estimation on how much total quota this project needs to successfully complete indexing.
289 },
290 },
291 &quot;generatedUriPattern&quot;: &quot;A String&quot;, # Output only. This is system-generated based on the provided_uri_pattern.
292 &quot;indexingStatus&quot;: &quot;A String&quot;, # Output only. Indexing status.
293 &quot;name&quot;: &quot;A String&quot;, # Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.
294 &quot;providedUriPattern&quot;: &quot;A String&quot;, # Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated.
295 &quot;rootDomainUri&quot;: &quot;A String&quot;, # Output only. Root domain of the provided_uri_pattern.
296 &quot;siteVerificationInfo&quot;: { # Verification information for target sites in advanced site search. # Output only. Site ownership and validity verification status.
297 &quot;siteVerificationState&quot;: &quot;A String&quot;, # Site verification state indicating the ownership and validity.
298 &quot;verifyTime&quot;: &quot;A String&quot;, # Latest site verification time.
299 },
300 &quot;type&quot;: &quot;A String&quot;, # The type of the target site, e.g., whether the site is to be included or excluded.
301 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The target site&#x27;s last updated time.
302 }</pre>
303 </div>
304
305 <div class="method">
306 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
307 <pre>Gets a list of TargetSites.
308
309 Args:
310 parent: string, Required. The parent site search engine resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine`. If the caller does not have permission to list TargetSites under this site search engine, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned. (required)
311 pageSize: integer, Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.
312 pageToken: string, A page token, received from a previous `ListTargetSites` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTargetSites` must match the call that provided the page token.
313 x__xgafv: string, V1 error format.
314 Allowed values
315 1 - v1 error format
316 2 - v2 error format
317
318 Returns:
319 An object of the form:
320
321 { # Response message for SiteSearchEngineService.ListTargetSites method.
322 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
323 &quot;targetSites&quot;: [ # List of TargetSites.
324 { # A target site for the SiteSearchEngine.
325 &quot;exactMatch&quot;: True or False, # Immutable. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine.
326 &quot;failureReason&quot;: { # Site search indexing failure reasons. # Output only. Failure reason.
327 &quot;quotaFailure&quot;: { # Failed due to insufficient quota. # Failed due to insufficient quota.
328 &quot;totalRequiredQuota&quot;: &quot;A String&quot;, # This number is an estimation on how much total quota this project needs to successfully complete indexing.
329 },
330 },
331 &quot;generatedUriPattern&quot;: &quot;A String&quot;, # Output only. This is system-generated based on the provided_uri_pattern.
332 &quot;indexingStatus&quot;: &quot;A String&quot;, # Output only. Indexing status.
333 &quot;name&quot;: &quot;A String&quot;, # Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.
334 &quot;providedUriPattern&quot;: &quot;A String&quot;, # Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated.
335 &quot;rootDomainUri&quot;: &quot;A String&quot;, # Output only. Root domain of the provided_uri_pattern.
336 &quot;siteVerificationInfo&quot;: { # Verification information for target sites in advanced site search. # Output only. Site ownership and validity verification status.
337 &quot;siteVerificationState&quot;: &quot;A String&quot;, # Site verification state indicating the ownership and validity.
338 &quot;verifyTime&quot;: &quot;A String&quot;, # Latest site verification time.
339 },
340 &quot;type&quot;: &quot;A String&quot;, # The type of the target site, e.g., whether the site is to be included or excluded.
341 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The target site&#x27;s last updated time.
342 },
343 ],
344 &quot;totalSize&quot;: 42, # The total number of items matching the request. This will always be populated in the response.
345 }</pre>
346 </div>
347
348 <div class="method">
349 <code class="details" id="list_next">list_next()</code>
350 <pre>Retrieves the next page of results.
351
352 Args:
353 previous_request: The request for the previous page. (required)
354 previous_response: The response from the request for the previous page. (required)
355
356 Returns:
357 A request object that you can call &#x27;execute()&#x27; on to request the next
358 page. Returns None if there are no more items in the collection.
359 </pre>
360 </div>
361
362 <div class="method">
363 <code class="details" id="patch">patch(name, body=None, x__xgafv=None)</code>
364 <pre>Updates a TargetSite.
365
366 Args:
367 name: string, Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated. (required)
368 body: object, The request body.
369 The object takes the form of:
370
371 { # A target site for the SiteSearchEngine.
372 &quot;exactMatch&quot;: True or False, # Immutable. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine.
373 &quot;failureReason&quot;: { # Site search indexing failure reasons. # Output only. Failure reason.
374 &quot;quotaFailure&quot;: { # Failed due to insufficient quota. # Failed due to insufficient quota.
375 &quot;totalRequiredQuota&quot;: &quot;A String&quot;, # This number is an estimation on how much total quota this project needs to successfully complete indexing.
376 },
377 },
378 &quot;generatedUriPattern&quot;: &quot;A String&quot;, # Output only. This is system-generated based on the provided_uri_pattern.
379 &quot;indexingStatus&quot;: &quot;A String&quot;, # Output only. Indexing status.
380 &quot;name&quot;: &quot;A String&quot;, # Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.
381 &quot;providedUriPattern&quot;: &quot;A String&quot;, # Required. Input only. The user provided URI pattern from which the `generated_uri_pattern` is generated.
382 &quot;rootDomainUri&quot;: &quot;A String&quot;, # Output only. Root domain of the provided_uri_pattern.
383 &quot;siteVerificationInfo&quot;: { # Verification information for target sites in advanced site search. # Output only. Site ownership and validity verification status.
384 &quot;siteVerificationState&quot;: &quot;A String&quot;, # Site verification state indicating the ownership and validity.
385 &quot;verifyTime&quot;: &quot;A String&quot;, # Latest site verification time.
386 },
387 &quot;type&quot;: &quot;A String&quot;, # The type of the target site, e.g., whether the site is to be included or excluded.
388 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The target site&#x27;s last updated time.
389 }
390
391 x__xgafv: string, V1 error format.
392 Allowed values
393 1 - v1 error format
394 2 - v2 error format
395
396 Returns:
397 An object of the form:
398
399 { # This resource represents a long-running operation that is the result of a network API call.
400 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
401 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
402 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
403 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
404 {
405 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
406 },
407 ],
408 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
409 },
410 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
411 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
412 },
413 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
414 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
415 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
416 },
417 }</pre>
418 </div>
419
420 </body></html>