Debian Codegraph @

docs/dyn/translate_v3.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.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="translate_v3.html">Cloud Translation API</a> . <a href="translate_v3.projects.html">projects</a> . <a href="translate_v3.projects.locations.html">locations</a> . <a href="translate_v3.projects.locations.adaptiveMtDatasets.html">adaptiveMtDatasets</a> . <a href="translate_v3.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.html">adaptiveMtFiles</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="translate_v3.projects.locations.adaptiveMtDatasets.adaptiveMtFiles.adaptiveMtSentences.html">adaptiveMtSentences()</a></code>
79 </p>
80 <p class="firstline">Returns the adaptiveMtSentences Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
87 <p class="firstline">Deletes an AdaptiveMtFile along with its sentences.</p>
88 <p class="toc_element">
89 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">Gets and AdaptiveMtFile</p>
91 <p class="toc_element">
92 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
93 <p class="firstline">Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.</p>
94 <p class="toc_element">
95 <code><a href="#list_next">list_next()</a></code></p>
96 <p class="firstline">Retrieves the next page of results.</p>
97 <h3>Method Details</h3>
98 <div class="method">
99 <code class="details" id="close">close()</code>
100 <pre>Close httplib2 connections.</pre>
101 </div>
102
103 <div class="method">
104 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
105 <pre>Deletes an AdaptiveMtFile along with its sentences.
106
107 Args:
108 name: string, Required. The resource name of the file to delete, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` (required)
109 x__xgafv: string, V1 error format.
110 Allowed values
111 1 - v1 error format
112 2 - v2 error format
113
114 Returns:
115 An object of the form:
116
117 { # 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); }
118 }</pre>
119 </div>
120
121 <div class="method">
122 <code class="details" id="get">get(name, x__xgafv=None)</code>
123 <pre>Gets and AdaptiveMtFile
124
125 Args:
126 name: string, Required. The resource name of the file, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}` (required)
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 { # An AdaptiveMtFile.
136 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this file was created.
137 &quot;displayName&quot;: &quot;A String&quot;, # The file&#x27;s display name.
138 &quot;entryCount&quot;: 42, # The number of entries that the file contains.
139 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the file, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}`
140 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this file was last updated.
141 }</pre>
142 </div>
143
144 <div class="method">
145 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
146 <pre>Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.
147
148 Args:
149 parent: string, Required. The resource name of the dataset from which to list the Adaptive MT files. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}` (required)
150 pageSize: integer, Optional.
151 pageToken: string, Optional. A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtFilesResponse.next_page_token returned from the previous call to `ListAdaptiveMtFiles` method. The first page is returned if `page_token`is empty or missing.
152 x__xgafv: string, V1 error format.
153 Allowed values
154 1 - v1 error format
155 2 - v2 error format
156
157 Returns:
158 An object of the form:
159
160 { # The response for listing all AdaptiveMt files under a given dataset.
161 &quot;adaptiveMtFiles&quot;: [ # Output only. The Adaptive MT files.
162 { # An AdaptiveMtFile.
163 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this file was created.
164 &quot;displayName&quot;: &quot;A String&quot;, # The file&#x27;s display name.
165 &quot;entryCount&quot;: 42, # The number of entries that the file contains.
166 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the file, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}`
167 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this file was last updated.
168 },
169 ],
170 &quot;nextPageToken&quot;: &quot;A String&quot;, # Optional. A token to retrieve a page of results. Pass this value in the ListAdaptiveMtFilesRequest.page_token field in the subsequent call to `ListAdaptiveMtFiles` method to retrieve the next page of results.
171 }</pre>
172 </div>
173
174 <div class="method">
175 <code class="details" id="list_next">list_next()</code>
176 <pre>Retrieves the next page of results.
177
178 Args:
179 previous_request: The request for the previous page. (required)
180 previous_response: The response from the request for the previous page. (required)
181
182 Returns:
183 A request object that you can call &#x27;execute()&#x27; on to request the next
184 page. Returns None if there are no more items in the collection.
185 </pre>
186 </div>
187
188 </body></html>