Debian Codegraph @

docs/dyn/discoveryengine_v1alpha.projects.locations.dataStores.branches.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.dataStores.html">dataStores</a> . <a href="discoveryengine_v1alpha.projects.locations.dataStores.branches.html">branches</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="discoveryengine_v1alpha.projects.locations.dataStores.branches.documents.html">documents()</a></code>
79 </p>
80 <p class="firstline">Returns the documents Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="discoveryengine_v1alpha.projects.locations.dataStores.branches.operations.html">operations()</a></code>
84 </p>
85 <p class="firstline">Returns the operations Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="#batchGetDocumentsMetadata">batchGetDocumentsMetadata(parent, matcher_fhirMatcher_fhirResources=None, matcher_urisMatcher_uris=None, x__xgafv=None)</a></code></p>
89 <p class="firstline">Gets index freshness metadata for Documents. Supported for website search only.</p>
90 <p class="toc_element">
91 <code><a href="#close">close()</a></code></p>
92 <p class="firstline">Close httplib2 connections.</p>
93 <p class="toc_element">
94 <code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
95 <p class="firstline">Retrieves a Branch.</p>
96 <p class="toc_element">
97 <code><a href="#list">list(parent, view=None, x__xgafv=None)</a></code></p>
98 <p class="firstline">Lists all Branchs under the specified parent DataStore.</p>
99 <h3>Method Details</h3>
100 <div class="method">
101 <code class="details" id="batchGetDocumentsMetadata">batchGetDocumentsMetadata(parent, matcher_fhirMatcher_fhirResources=None, matcher_urisMatcher_uris=None, x__xgafv=None)</code>
102 <pre>Gets index freshness metadata for Documents. Supported for website search only.
103
104 Args:
105 parent: string, Required. The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. (required)
106 matcher_fhirMatcher_fhirResources: string, Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} (repeated)
107 matcher_urisMatcher_uris: string, The exact URIs to match by. (repeated)
108 x__xgafv: string, V1 error format.
109 Allowed values
110 1 - v1 error format
111 2 - v2 error format
112
113 Returns:
114 An object of the form:
115
116 { # Response message for DocumentService.BatchGetDocumentsMetadata method.
117 &quot;documentsMetadata&quot;: [ # The metadata of the Documents.
118 { # The metadata of a Document.
119 &quot;dataIngestionSource&quot;: &quot;A String&quot;, # The data ingestion source of the Document. Allowed values are: * `batch`: Data ingested via Batch API, e.g., ImportDocuments. * `streaming` Data ingested via Streaming API, e.g., FHIR streaming.
120 &quot;lastRefreshedTime&quot;: &quot;A String&quot;, # The timestamp of the last time the Document was last indexed.
121 &quot;matcherValue&quot;: { # The value of the matcher that was used to match the Document. # The value of the matcher that was used to match the Document.
122 &quot;fhirResource&quot;: &quot;A String&quot;, # Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}
123 &quot;uri&quot;: &quot;A String&quot;, # If match by URI, the URI of the Document.
124 },
125 &quot;state&quot;: &quot;A String&quot;, # The state of the document.
126 },
127 ],
128 }</pre>
129 </div>
130
131 <div class="method">
132 <code class="details" id="close">close()</code>
133 <pre>Close httplib2 connections.</pre>
134 </div>
135
136 <div class="method">
137 <code class="details" id="get">get(name, view=None, x__xgafv=None)</code>
138 <pre>Retrieves a Branch.
139
140 Args:
141 name: string, Required. The name of the branch to retrieve. Format: `projects/*/locations/global/dataStores/default_data_store/branches/some_branch_id`. &quot;default_branch&quot; can be used as a special branch_id, it returns the default branch that has been set for the document. (required)
142 view: string, The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
143 Allowed values
144 BRANCH_VIEW_UNSPECIFIED - The value when it&#x27;s unspecified. This defaults to the BASIC view.
145 BRANCH_VIEW_BASIC - Includes basic metadata about the branch, but not statistical fields. See documentation of individual fields of Branch to know what is excluded.
146 BRANCH_VIEW_FULL - Includes all fields of a Branch.
147 x__xgafv: string, V1 error format.
148 Allowed values
149 1 - v1 error format
150 2 - v2 error format
151
152 Returns:
153 An object of the form:
154
155 { # A data branch that stores Documents.
156 &quot;branchStats&quot;: { # Statistics describing a branch. # Output only. Statistics describing a branch. This field is not populated in BranchView.BRANCH_VIEW_BASIC view.
157 &quot;documentCounts&quot;: { # The number of documents in a given branch. The key is a group representing a set of documents, and the value is the number of document in that group. Note: keys in this map may change over time. Supported keys: [&#x27;all&#x27;].
158 &quot;a_key&quot;: &quot;A String&quot;,
159 },
160 },
161 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Human readable name of the branch to display in the UI.
162 &quot;isDefault&quot;: True or False, # Output only. Indicates whether this branch is set as the default branch of its parent data store.
163 &quot;lastDocumentImportTime&quot;: &quot;A String&quot;, # Output only. Timestamp of last import through DocumentService.ImportDocuments. Empty value means no import has been made to this branch.
164 &quot;name&quot;: &quot;A String&quot;, # Immutable. Full resource name of the branch, such as `projects/*/locations/global/dataStores/data_store/branches/branch_id`.
165 }</pre>
166 </div>
167
168 <div class="method">
169 <code class="details" id="list">list(parent, view=None, x__xgafv=None)</code>
170 <pre>Lists all Branchs under the specified parent DataStore.
171
172 Args:
173 parent: string, Required. The parent data store resource name. (required)
174 view: string, The view to apply to the returned Branch. Defaults to BranchView.BRANCH_VIEW_BASIC if unspecified.
175 Allowed values
176 BRANCH_VIEW_UNSPECIFIED - The value when it&#x27;s unspecified. This defaults to the BASIC view.
177 BRANCH_VIEW_BASIC - Includes basic metadata about the branch, but not statistical fields. See documentation of individual fields of Branch to know what is excluded.
178 BRANCH_VIEW_FULL - Includes all fields of a Branch.
179 x__xgafv: string, V1 error format.
180 Allowed values
181 1 - v1 error format
182 2 - v2 error format
183
184 Returns:
185 An object of the form:
186
187 { # Response for BranchService.ListBranches method.
188 &quot;branches&quot;: [ # The Branches.
189 { # A data branch that stores Documents.
190 &quot;branchStats&quot;: { # Statistics describing a branch. # Output only. Statistics describing a branch. This field is not populated in BranchView.BRANCH_VIEW_BASIC view.
191 &quot;documentCounts&quot;: { # The number of documents in a given branch. The key is a group representing a set of documents, and the value is the number of document in that group. Note: keys in this map may change over time. Supported keys: [&#x27;all&#x27;].
192 &quot;a_key&quot;: &quot;A String&quot;,
193 },
194 },
195 &quot;displayName&quot;: &quot;A String&quot;, # Output only. Human readable name of the branch to display in the UI.
196 &quot;isDefault&quot;: True or False, # Output only. Indicates whether this branch is set as the default branch of its parent data store.
197 &quot;lastDocumentImportTime&quot;: &quot;A String&quot;, # Output only. Timestamp of last import through DocumentService.ImportDocuments. Empty value means no import has been made to this branch.
198 &quot;name&quot;: &quot;A String&quot;, # Immutable. Full resource name of the branch, such as `projects/*/locations/global/dataStores/data_store/branches/branch_id`.
199 },
200 ],
201 }</pre>
202 </div>
203
204 </body></html>