Debian Codegraph @

docs/dyn/aiplatform_v1.projects.locations.dataLabelingJobs.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="aiplatform_v1.html">Agent Platform API</a> . <a href="aiplatform_v1.projects.html">projects</a> . <a href="aiplatform_v1.projects.locations.html">locations</a> . <a href="aiplatform_v1.projects.locations.dataLabelingJobs.html">dataLabelingJobs</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="aiplatform_v1.projects.locations.dataLabelingJobs.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="#cancel">cancel(name, body=None, x__xgafv=None)</a></code></p>
84 <p class="firstline">Cancels a DataLabelingJob. Success of cancellation is not guaranteed.</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 DataLabelingJob.</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 DataLabelingJob.</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 DataLabelingJob.</p>
97 <p class="toc_element">
98 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</a></code></p>
99 <p class="firstline">Lists DataLabelingJobs in a Location.</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 <h3>Method Details</h3>
104 <div class="method">
105 <code class="details" id="cancel">cancel(name, body=None, x__xgafv=None)</code>
106 <pre>Cancels a DataLabelingJob. Success of cancellation is not guaranteed.
107
108 Args:
109 name: string, Required. The name of the DataLabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # Request message for JobService.CancelDataLabelingJob.
114 }
115
116 x__xgafv: string, V1 error format.
117 Allowed values
118 1 - v1 error format
119 2 - v2 error format
120
121 Returns:
122 An object of the form:
123
124 { # 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); }
125 }</pre>
126 </div>
127
128 <div class="method">
129 <code class="details" id="close">close()</code>
130 <pre>Close httplib2 connections.</pre>
131 </div>
132
133 <div class="method">
134 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
135 <pre>Creates a DataLabelingJob.
136
137 Args:
138 parent: string, Required. The parent of the DataLabelingJob. Format: `projects/{project}/locations/{location}` (required)
139 body: object, The request body.
140 The object takes the form of:
141
142 { # DataLabelingJob is used to trigger a human labeling job on unlabeled data from the following Dataset:
143 &quot;activeLearningConfig&quot;: { # Parameters that configure the active learning pipeline. Active learning will label the data incrementally by several iterations. For every iteration, it will select a batch of data based on the sampling strategy. # Parameters that configure the active learning pipeline. Active learning will label the data incrementally via several iterations. For every iteration, it will select a batch of data based on the sampling strategy.
144 &quot;maxDataItemCount&quot;: &quot;A String&quot;, # Max number of human labeled DataItems.
145 &quot;maxDataItemPercentage&quot;: 42, # Max percent of total DataItems for human labeling.
146 &quot;sampleConfig&quot;: { # Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy. # Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.
147 &quot;followingBatchSamplePercentage&quot;: 42, # The percentage of data needed to be labeled in each following batch (except the first batch).
148 &quot;initialBatchSamplePercentage&quot;: 42, # The percentage of data needed to be labeled in the first batch.
149 &quot;sampleStrategy&quot;: &quot;A String&quot;, # Field to choose sampling strategy. Sampling strategy will decide which data should be selected for human labeling in every batch.
150 },
151 &quot;trainingConfig&quot;: { # CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems. # CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.
152 &quot;timeoutTrainingMilliHours&quot;: &quot;A String&quot;, # The timeout hours for the CMLE training job, expressed in milli hours i.e. 1,000 value in this field means 1 hour.
153 },
154 },
155 &quot;annotationLabels&quot;: { # Labels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with &quot;aiplatform.googleapis.com/&quot; and are immutable.
156 &quot;a_key&quot;: &quot;A String&quot;,
157 },
158 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this DataLabelingJob was created.
159 &quot;currentSpend&quot;: { # Represents an amount of money with its currency type. # Output only. Estimated cost(in US dollars) that the DataLabelingJob has incurred to date.
160 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
161 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
162 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
163 },
164 &quot;datasets&quot;: [ # Required. Dataset resource names. Right now we only support labeling from a single Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`
165 &quot;A String&quot;,
166 ],
167 &quot;displayName&quot;: &quot;A String&quot;, # Required. The user-defined name of the DataLabelingJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. Display name of a DataLabelingJob.
168 &quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource. # Customer-managed encryption key spec for a DataLabelingJob. If set, this DataLabelingJob will be secured by this key. Note: Annotations created in the DataLabelingJob are associated with the EncryptionSpec of the Dataset they are exported to.
169 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
170 },
171 &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). # Output only. DataLabelingJob errors. It is only populated when job&#x27;s state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
172 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
173 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
174 {
175 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
176 },
177 ],
178 &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.
179 },
180 &quot;inputs&quot;: &quot;&quot;, # Required. Input config parameters for the DataLabelingJob.
181 &quot;inputsSchemaUri&quot;: &quot;A String&quot;, # Required. Points to a YAML file stored on Google Cloud Storage describing the config for a specific type of DataLabelingJob. The schema files that can be used here are found in the https://storage.googleapis.com/google-cloud-aiplatform bucket in the /schema/datalabelingjob/inputs/ folder.
182 &quot;instructionUri&quot;: &quot;A String&quot;, # Required. The Google Cloud Storage location of the instruction pdf. This pdf is shared with labelers, and provides detailed description on how to label DataItems in Datasets.
183 &quot;labelerCount&quot;: 42, # Required. Number of labelers to work on each DataItem.
184 &quot;labelingProgress&quot;: 42, # Output only. Current labeling job progress percentage scaled in interval [0, 100], indicating the percentage of DataItems that has been finished.
185 &quot;labels&quot;: { # The labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with &quot;aiplatform.googleapis.com/&quot; and are immutable. Following system labels exist for each DataLabelingJob: * &quot;aiplatform.googleapis.com/schema&quot;: output only, its value is the inputs_schema&#x27;s title.
186 &quot;a_key&quot;: &quot;A String&quot;,
187 },
188 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the DataLabelingJob.
189 &quot;specialistPools&quot;: [ # The SpecialistPools&#x27; resource names associated with this job.
190 &quot;A String&quot;,
191 ],
192 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of the job.
193 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this DataLabelingJob was updated most recently.
194 }
195
196 x__xgafv: string, V1 error format.
197 Allowed values
198 1 - v1 error format
199 2 - v2 error format
200
201 Returns:
202 An object of the form:
203
204 { # DataLabelingJob is used to trigger a human labeling job on unlabeled data from the following Dataset:
205 &quot;activeLearningConfig&quot;: { # Parameters that configure the active learning pipeline. Active learning will label the data incrementally by several iterations. For every iteration, it will select a batch of data based on the sampling strategy. # Parameters that configure the active learning pipeline. Active learning will label the data incrementally via several iterations. For every iteration, it will select a batch of data based on the sampling strategy.
206 &quot;maxDataItemCount&quot;: &quot;A String&quot;, # Max number of human labeled DataItems.
207 &quot;maxDataItemPercentage&quot;: 42, # Max percent of total DataItems for human labeling.
208 &quot;sampleConfig&quot;: { # Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy. # Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.
209 &quot;followingBatchSamplePercentage&quot;: 42, # The percentage of data needed to be labeled in each following batch (except the first batch).
210 &quot;initialBatchSamplePercentage&quot;: 42, # The percentage of data needed to be labeled in the first batch.
211 &quot;sampleStrategy&quot;: &quot;A String&quot;, # Field to choose sampling strategy. Sampling strategy will decide which data should be selected for human labeling in every batch.
212 },
213 &quot;trainingConfig&quot;: { # CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems. # CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.
214 &quot;timeoutTrainingMilliHours&quot;: &quot;A String&quot;, # The timeout hours for the CMLE training job, expressed in milli hours i.e. 1,000 value in this field means 1 hour.
215 },
216 },
217 &quot;annotationLabels&quot;: { # Labels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with &quot;aiplatform.googleapis.com/&quot; and are immutable.
218 &quot;a_key&quot;: &quot;A String&quot;,
219 },
220 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this DataLabelingJob was created.
221 &quot;currentSpend&quot;: { # Represents an amount of money with its currency type. # Output only. Estimated cost(in US dollars) that the DataLabelingJob has incurred to date.
222 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
223 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
224 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
225 },
226 &quot;datasets&quot;: [ # Required. Dataset resource names. Right now we only support labeling from a single Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`
227 &quot;A String&quot;,
228 ],
229 &quot;displayName&quot;: &quot;A String&quot;, # Required. The user-defined name of the DataLabelingJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. Display name of a DataLabelingJob.
230 &quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource. # Customer-managed encryption key spec for a DataLabelingJob. If set, this DataLabelingJob will be secured by this key. Note: Annotations created in the DataLabelingJob are associated with the EncryptionSpec of the Dataset they are exported to.
231 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
232 },
233 &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). # Output only. DataLabelingJob errors. It is only populated when job&#x27;s state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
234 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
235 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
236 {
237 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
238 },
239 ],
240 &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.
241 },
242 &quot;inputs&quot;: &quot;&quot;, # Required. Input config parameters for the DataLabelingJob.
243 &quot;inputsSchemaUri&quot;: &quot;A String&quot;, # Required. Points to a YAML file stored on Google Cloud Storage describing the config for a specific type of DataLabelingJob. The schema files that can be used here are found in the https://storage.googleapis.com/google-cloud-aiplatform bucket in the /schema/datalabelingjob/inputs/ folder.
244 &quot;instructionUri&quot;: &quot;A String&quot;, # Required. The Google Cloud Storage location of the instruction pdf. This pdf is shared with labelers, and provides detailed description on how to label DataItems in Datasets.
245 &quot;labelerCount&quot;: 42, # Required. Number of labelers to work on each DataItem.
246 &quot;labelingProgress&quot;: 42, # Output only. Current labeling job progress percentage scaled in interval [0, 100], indicating the percentage of DataItems that has been finished.
247 &quot;labels&quot;: { # The labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with &quot;aiplatform.googleapis.com/&quot; and are immutable. Following system labels exist for each DataLabelingJob: * &quot;aiplatform.googleapis.com/schema&quot;: output only, its value is the inputs_schema&#x27;s title.
248 &quot;a_key&quot;: &quot;A String&quot;,
249 },
250 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the DataLabelingJob.
251 &quot;specialistPools&quot;: [ # The SpecialistPools&#x27; resource names associated with this job.
252 &quot;A String&quot;,
253 ],
254 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of the job.
255 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this DataLabelingJob was updated most recently.
256 }</pre>
257 </div>
258
259 <div class="method">
260 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
261 <pre>Deletes a DataLabelingJob.
262
263 Args:
264 name: string, Required. The name of the DataLabelingJob to be deleted. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` (required)
265 x__xgafv: string, V1 error format.
266 Allowed values
267 1 - v1 error format
268 2 - v2 error format
269
270 Returns:
271 An object of the form:
272
273 { # This resource represents a long-running operation that is the result of a network API call.
274 &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.
275 &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.
276 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
277 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
278 {
279 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
280 },
281 ],
282 &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.
283 },
284 &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.
285 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
286 },
287 &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}`.
288 &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`.
289 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
290 },
291 }</pre>
292 </div>
293
294 <div class="method">
295 <code class="details" id="get">get(name, x__xgafv=None)</code>
296 <pre>Gets a DataLabelingJob.
297
298 Args:
299 name: string, Required. The name of the DataLabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` (required)
300 x__xgafv: string, V1 error format.
301 Allowed values
302 1 - v1 error format
303 2 - v2 error format
304
305 Returns:
306 An object of the form:
307
308 { # DataLabelingJob is used to trigger a human labeling job on unlabeled data from the following Dataset:
309 &quot;activeLearningConfig&quot;: { # Parameters that configure the active learning pipeline. Active learning will label the data incrementally by several iterations. For every iteration, it will select a batch of data based on the sampling strategy. # Parameters that configure the active learning pipeline. Active learning will label the data incrementally via several iterations. For every iteration, it will select a batch of data based on the sampling strategy.
310 &quot;maxDataItemCount&quot;: &quot;A String&quot;, # Max number of human labeled DataItems.
311 &quot;maxDataItemPercentage&quot;: 42, # Max percent of total DataItems for human labeling.
312 &quot;sampleConfig&quot;: { # Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy. # Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.
313 &quot;followingBatchSamplePercentage&quot;: 42, # The percentage of data needed to be labeled in each following batch (except the first batch).
314 &quot;initialBatchSamplePercentage&quot;: 42, # The percentage of data needed to be labeled in the first batch.
315 &quot;sampleStrategy&quot;: &quot;A String&quot;, # Field to choose sampling strategy. Sampling strategy will decide which data should be selected for human labeling in every batch.
316 },
317 &quot;trainingConfig&quot;: { # CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems. # CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.
318 &quot;timeoutTrainingMilliHours&quot;: &quot;A String&quot;, # The timeout hours for the CMLE training job, expressed in milli hours i.e. 1,000 value in this field means 1 hour.
319 },
320 },
321 &quot;annotationLabels&quot;: { # Labels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with &quot;aiplatform.googleapis.com/&quot; and are immutable.
322 &quot;a_key&quot;: &quot;A String&quot;,
323 },
324 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this DataLabelingJob was created.
325 &quot;currentSpend&quot;: { # Represents an amount of money with its currency type. # Output only. Estimated cost(in US dollars) that the DataLabelingJob has incurred to date.
326 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
327 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
328 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
329 },
330 &quot;datasets&quot;: [ # Required. Dataset resource names. Right now we only support labeling from a single Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`
331 &quot;A String&quot;,
332 ],
333 &quot;displayName&quot;: &quot;A String&quot;, # Required. The user-defined name of the DataLabelingJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. Display name of a DataLabelingJob.
334 &quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource. # Customer-managed encryption key spec for a DataLabelingJob. If set, this DataLabelingJob will be secured by this key. Note: Annotations created in the DataLabelingJob are associated with the EncryptionSpec of the Dataset they are exported to.
335 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
336 },
337 &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). # Output only. DataLabelingJob errors. It is only populated when job&#x27;s state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
338 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
339 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
340 {
341 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
342 },
343 ],
344 &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.
345 },
346 &quot;inputs&quot;: &quot;&quot;, # Required. Input config parameters for the DataLabelingJob.
347 &quot;inputsSchemaUri&quot;: &quot;A String&quot;, # Required. Points to a YAML file stored on Google Cloud Storage describing the config for a specific type of DataLabelingJob. The schema files that can be used here are found in the https://storage.googleapis.com/google-cloud-aiplatform bucket in the /schema/datalabelingjob/inputs/ folder.
348 &quot;instructionUri&quot;: &quot;A String&quot;, # Required. The Google Cloud Storage location of the instruction pdf. This pdf is shared with labelers, and provides detailed description on how to label DataItems in Datasets.
349 &quot;labelerCount&quot;: 42, # Required. Number of labelers to work on each DataItem.
350 &quot;labelingProgress&quot;: 42, # Output only. Current labeling job progress percentage scaled in interval [0, 100], indicating the percentage of DataItems that has been finished.
351 &quot;labels&quot;: { # The labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with &quot;aiplatform.googleapis.com/&quot; and are immutable. Following system labels exist for each DataLabelingJob: * &quot;aiplatform.googleapis.com/schema&quot;: output only, its value is the inputs_schema&#x27;s title.
352 &quot;a_key&quot;: &quot;A String&quot;,
353 },
354 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the DataLabelingJob.
355 &quot;specialistPools&quot;: [ # The SpecialistPools&#x27; resource names associated with this job.
356 &quot;A String&quot;,
357 ],
358 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of the job.
359 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this DataLabelingJob was updated most recently.
360 }</pre>
361 </div>
362
363 <div class="method">
364 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</code>
365 <pre>Lists DataLabelingJobs in a Location.
366
367 Args:
368 parent: string, Required. The parent of the DataLabelingJob. Format: `projects/{project}/locations/{location}` (required)
369 filter: string, The standard list filter. Supported fields: * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. * `state` supports `=`, `!=` comparisons. * `create_time` supports `=`, `!=`,`&lt;`, `&lt;=`,`&gt;`, `&gt;=` comparisons. `create_time` must be in RFC 3339 format. * `labels` supports general map functions that is: `labels.key=value` - key:value equality `labels.key:* - key existence Some examples of using the filter are: * `state=&quot;JOB_STATE_SUCCEEDED&quot; AND display_name:&quot;my_job_*&quot;` * `state!=&quot;JOB_STATE_FAILED&quot; OR display_name=&quot;my_job&quot;` * `NOT display_name=&quot;my_job&quot;` * `create_time&gt;&quot;2021-05-18T00:00:00Z&quot;` * `labels.keyA=valueA` * `labels.keyB:*`
370 orderBy: string, A comma-separated list of fields to order by, sorted in ascending order by default. Use `desc` after a field name for descending.
371 pageSize: integer, The standard list page size.
372 pageToken: string, The standard list page token.
373 readMask: string, Mask specifying which fields to read. FieldMask represents a set of symbolic field paths. For example, the mask can be `paths: &quot;name&quot;`. The &quot;name&quot; here is a field in DataLabelingJob. If this field is not set, all fields of the DataLabelingJob are returned.
374 x__xgafv: string, V1 error format.
375 Allowed values
376 1 - v1 error format
377 2 - v2 error format
378
379 Returns:
380 An object of the form:
381
382 { # Response message for JobService.ListDataLabelingJobs.
383 &quot;dataLabelingJobs&quot;: [ # A list of DataLabelingJobs that matches the specified filter in the request.
384 { # DataLabelingJob is used to trigger a human labeling job on unlabeled data from the following Dataset:
385 &quot;activeLearningConfig&quot;: { # Parameters that configure the active learning pipeline. Active learning will label the data incrementally by several iterations. For every iteration, it will select a batch of data based on the sampling strategy. # Parameters that configure the active learning pipeline. Active learning will label the data incrementally via several iterations. For every iteration, it will select a batch of data based on the sampling strategy.
386 &quot;maxDataItemCount&quot;: &quot;A String&quot;, # Max number of human labeled DataItems.
387 &quot;maxDataItemPercentage&quot;: 42, # Max percent of total DataItems for human labeling.
388 &quot;sampleConfig&quot;: { # Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy. # Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.
389 &quot;followingBatchSamplePercentage&quot;: 42, # The percentage of data needed to be labeled in each following batch (except the first batch).
390 &quot;initialBatchSamplePercentage&quot;: 42, # The percentage of data needed to be labeled in the first batch.
391 &quot;sampleStrategy&quot;: &quot;A String&quot;, # Field to choose sampling strategy. Sampling strategy will decide which data should be selected for human labeling in every batch.
392 },
393 &quot;trainingConfig&quot;: { # CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems. # CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.
394 &quot;timeoutTrainingMilliHours&quot;: &quot;A String&quot;, # The timeout hours for the CMLE training job, expressed in milli hours i.e. 1,000 value in this field means 1 hour.
395 },
396 },
397 &quot;annotationLabels&quot;: { # Labels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with &quot;aiplatform.googleapis.com/&quot; and are immutable.
398 &quot;a_key&quot;: &quot;A String&quot;,
399 },
400 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this DataLabelingJob was created.
401 &quot;currentSpend&quot;: { # Represents an amount of money with its currency type. # Output only. Estimated cost(in US dollars) that the DataLabelingJob has incurred to date.
402 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
403 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
404 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
405 },
406 &quot;datasets&quot;: [ # Required. Dataset resource names. Right now we only support labeling from a single Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`
407 &quot;A String&quot;,
408 ],
409 &quot;displayName&quot;: &quot;A String&quot;, # Required. The user-defined name of the DataLabelingJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. Display name of a DataLabelingJob.
410 &quot;encryptionSpec&quot;: { # Represents a customer-managed encryption key specification that can be applied to a Vertex AI resource. # Customer-managed encryption key spec for a DataLabelingJob. If set, this DataLabelingJob will be secured by this key. Note: Annotations created in the DataLabelingJob are associated with the EncryptionSpec of the Dataset they are exported to.
411 &quot;kmsKeyName&quot;: &quot;A String&quot;, # Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
412 },
413 &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). # Output only. DataLabelingJob errors. It is only populated when job&#x27;s state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
414 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
415 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
416 {
417 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
418 },
419 ],
420 &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.
421 },
422 &quot;inputs&quot;: &quot;&quot;, # Required. Input config parameters for the DataLabelingJob.
423 &quot;inputsSchemaUri&quot;: &quot;A String&quot;, # Required. Points to a YAML file stored on Google Cloud Storage describing the config for a specific type of DataLabelingJob. The schema files that can be used here are found in the https://storage.googleapis.com/google-cloud-aiplatform bucket in the /schema/datalabelingjob/inputs/ folder.
424 &quot;instructionUri&quot;: &quot;A String&quot;, # Required. The Google Cloud Storage location of the instruction pdf. This pdf is shared with labelers, and provides detailed description on how to label DataItems in Datasets.
425 &quot;labelerCount&quot;: 42, # Required. Number of labelers to work on each DataItem.
426 &quot;labelingProgress&quot;: 42, # Output only. Current labeling job progress percentage scaled in interval [0, 100], indicating the percentage of DataItems that has been finished.
427 &quot;labels&quot;: { # The labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with &quot;aiplatform.googleapis.com/&quot; and are immutable. Following system labels exist for each DataLabelingJob: * &quot;aiplatform.googleapis.com/schema&quot;: output only, its value is the inputs_schema&#x27;s title.
428 &quot;a_key&quot;: &quot;A String&quot;,
429 },
430 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of the DataLabelingJob.
431 &quot;specialistPools&quot;: [ # The SpecialistPools&#x27; resource names associated with this job.
432 &quot;A String&quot;,
433 ],
434 &quot;state&quot;: &quot;A String&quot;, # Output only. The detailed state of the job.
435 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this DataLabelingJob was updated most recently.
436 },
437 ],
438 &quot;nextPageToken&quot;: &quot;A String&quot;, # The standard List next-page token.
439 }</pre>
440 </div>
441
442 <div class="method">
443 <code class="details" id="list_next">list_next()</code>
444 <pre>Retrieves the next page of results.
445
446 Args:
447 previous_request: The request for the previous page. (required)
448 previous_response: The response from the request for the previous page. (required)
449
450 Returns:
451 A request object that you can call &#x27;execute()&#x27; on to request the next
452 page. Returns None if there are no more items in the collection.
453 </pre>
454 </div>
455
456 </body></html>