1<html><body> 2<style> 3 4body, 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 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, 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="datalabeling_v1beta1.html">Data Labeling API</a> . <a href="datalabeling_v1beta1.projects.html">projects</a> . <a href="datalabeling_v1beta1.projects.datasets.html">datasets</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="datalabeling_v1beta1.projects.datasets.annotatedDatasets.html">annotatedDatasets()</a></code> 79</p> 80<p class="firstline">Returns the annotatedDatasets Resource.</p> 81 82<p class="toc_element"> 83 <code><a href="datalabeling_v1beta1.projects.datasets.dataItems.html">dataItems()</a></code> 84</p> 85<p class="firstline">Returns the dataItems Resource.</p> 86 87<p class="toc_element"> 88 <code><a href="datalabeling_v1beta1.projects.datasets.evaluations.html">evaluations()</a></code> 89</p> 90<p class="firstline">Returns the evaluations Resource.</p> 91 92<p class="toc_element"> 93 <code><a href="datalabeling_v1beta1.projects.datasets.image.html">image()</a></code> 94</p> 95<p class="firstline">Returns the image Resource.</p> 96 97<p class="toc_element"> 98 <code><a href="datalabeling_v1beta1.projects.datasets.text.html">text()</a></code> 99</p> 100<p class="firstline">Returns the text Resource.</p> 101 102<p class="toc_element"> 103 <code><a href="datalabeling_v1beta1.projects.datasets.video.html">video()</a></code> 104</p> 105<p class="firstline">Returns the video Resource.</p> 106 107<p class="toc_element"> 108 <code><a href="#close">close()</a></code></p> 109<p class="firstline">Close httplib2 connections.</p> 110<p class="toc_element"> 111 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p> 112<p class="firstline">Creates dataset. If success return a Dataset resource.</p> 113<p class="toc_element"> 114 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p> 115<p class="firstline">Deletes a dataset by resource name.</p> 116<p class="toc_element"> 117 <code><a href="#exportData">exportData(name, body=None, x__xgafv=None)</a></code></p> 118<p class="firstline">Exports data and annotations from dataset.</p> 119<p class="toc_element"> 120 <code><a href="#get">get(name, x__xgafv=None)</a></code></p> 121<p class="firstline">Gets dataset by resource name.</p> 122<p class="toc_element"> 123 <code><a href="#importData">importData(name, body=None, x__xgafv=None)</a></code></p> 124<p class="firstline">Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa.</p> 125<p class="toc_element"> 126 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> 127<p class="firstline">Lists datasets under a project. Pagination is supported.</p> 128<p class="toc_element"> 129 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 130<p class="firstline">Retrieves the next page of results.</p> 131<h3>Method Details</h3> 132<div class="method"> 133 <code class="details" id="close">close()</code> 134 <pre>Close httplib2 connections.</pre> 135</div> 136 137<div class="method"> 138 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code> 139 <pre>Creates dataset. If success return a Dataset resource. 140 141Args: 142 parent: string, Required. Dataset resource parent, format: projects/{project_id} (required) 143 body: object, The request body. 144 The object takes the form of: 145 146{ # Request message for CreateDataset. 147 "dataset": { # Dataset is the resource to hold your data. You can request multiple labeling tasks for a dataset while each one will generate an AnnotatedDataset. # Required. The dataset to be created. 148 "blockingResources": [ # Output only. The names of any related resources that are blocking changes to the dataset. 149 "A String", 150 ], 151 "createTime": "A String", # Output only. Time the dataset is created. 152 "dataItemCount": "A String", # Output only. The number of data items in the dataset. 153 "description": "A String", # Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long. 154 "displayName": "A String", # Required. The display name of the dataset. Maximum of 64 characters. 155 "inputConfigs": [ # Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset. 156 { # The configuration of input data, including data type, location, etc. 157 "annotationType": "A String", # Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob. 158 "bigquerySource": { # The BigQuery location for input data. If used in an EvaluationJob, this is where the service saves the prediction input and output sampled from the model version. # Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob. 159 "inputUri": "A String", # Required. BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the [correct schema](/ml-engine/docs/continuous-evaluation/create-job#table-schema). Provide the table URI in the following format: "bq://{your_project_id}/ {your_dataset_name}/{your_table_name}" [Learn more](/ml-engine/docs/continuous-evaluation/create-job#table-schema). 160 }, 161 "classificationMetadata": { # Metadata for classification annotations. # Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification. 162 "isMultiLabel": True or False, # Whether the classification task is multi-label or not. 163 }, 164 "dataType": "A String", # Required. Data type must be specifed when user tries to import data. 165 "gcsSource": { # Source of the Cloud Storage file to be imported. # Source located in Cloud Storage. 166 "inputUri": "A String", # Required. The input URI of source file. This must be a Cloud Storage path (`gs://...`). 167 "mimeType": "A String", # Required. The format of the source file. Only "text/csv" is supported. 168 }, 169 "textMetadata": { # Metadata for the text. # Required for text import, as language code must be specified. 170 "languageCode": "A String", # The language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. 171 }, 172 }, 173 ], 174 "lastMigrateTime": "A String", # Last time that the Dataset is migrated to AI Platform V2. If any of the AnnotatedDataset is migrated, the last_migration_time in Dataset is also updated. 175 "name": "A String", # Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id} 176 }, 177} 178 179 x__xgafv: string, V1 error format. 180 Allowed values 181 1 - v1 error format 182 2 - v2 error format 183 184Returns: 185 An object of the form: 186 187 { # Dataset is the resource to hold your data. You can request multiple labeling tasks for a dataset while each one will generate an AnnotatedDataset. 188 "blockingResources": [ # Output only. The names of any related resources that are blocking changes to the dataset. 189 "A String", 190 ], 191 "createTime": "A String", # Output only. Time the dataset is created. 192 "dataItemCount": "A String", # Output only. The number of data items in the dataset. 193 "description": "A String", # Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long. 194 "displayName": "A String", # Required. The display name of the dataset. Maximum of 64 characters. 195 "inputConfigs": [ # Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset. 196 { # The configuration of input data, including data type, location, etc. 197 "annotationType": "A String", # Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob. 198 "bigquerySource": { # The BigQuery location for input data. If used in an EvaluationJob, this is where the service saves the prediction input and output sampled from the model version. # Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob. 199 "inputUri": "A String", # Required. BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the [correct schema](/ml-engine/docs/continuous-evaluation/create-job#table-schema). Provide the table URI in the following format: "bq://{your_project_id}/ {your_dataset_name}/{your_table_name}" [Learn more](/ml-engine/docs/continuous-evaluation/create-job#table-schema). 200 }, 201 "classificationMetadata": { # Metadata for classification annotations. # Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification. 202 "isMultiLabel": True or False, # Whether the classification task is multi-label or not. 203 }, 204 "dataType": "A String", # Required. Data type must be specifed when user tries to import data. 205 "gcsSource": { # Source of the Cloud Storage file to be imported. # Source located in Cloud Storage. 206 "inputUri": "A String", # Required. The input URI of source file. This must be a Cloud Storage path (`gs://...`). 207 "mimeType": "A String", # Required. The format of the source file. Only "text/csv" is supported. 208 }, 209 "textMetadata": { # Metadata for the text. # Required for text import, as language code must be specified. 210 "languageCode": "A String", # The language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. 211 }, 212 }, 213 ], 214 "lastMigrateTime": "A String", # Last time that the Dataset is migrated to AI Platform V2. If any of the AnnotatedDataset is migrated, the last_migration_time in Dataset is also updated. 215 "name": "A String", # Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id} 216}</pre> 217</div> 218 219<div class="method"> 220 <code class="details" id="delete">delete(name, x__xgafv=None)</code> 221 <pre>Deletes a dataset by resource name. 222 223Args: 224 name: string, Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id} (required) 225 x__xgafv: string, V1 error format. 226 Allowed values 227 1 - v1 error format 228 2 - v2 error format 229 230Returns: 231 An object of the form: 232 233 { # 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); } The JSON representation for `Empty` is empty JSON object `{}`. 234}</pre> 235</div> 236 237<div class="method"> 238 <code class="details" id="exportData">exportData(name, body=None, x__xgafv=None)</code> 239 <pre>Exports data and annotations from dataset. 240 241Args: 242 name: string, Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id} (required) 243 body: object, The request body. 244 The object takes the form of: 245 246{ # Request message for ExportData API. 247 "annotatedDataset": "A String", # Required. Annotated dataset resource name. DataItem in Dataset and their annotations in specified annotated dataset will be exported. It's in format of projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id} 248 "filter": "A String", # Optional. Filter is not supported at this moment. 249 "outputConfig": { # The configuration of output data. # Required. Specify the output destination. 250 "gcsDestination": { # Export destination of the data.Only gcs path is allowed in output_uri. # Output to a file in Cloud Storage. Should be used for labeling output other than image segmentation. 251 "mimeType": "A String", # Required. The format of the gcs destination. Only "text/csv" and "application/json" are supported. 252 "outputUri": "A String", # Required. The output uri of destination file. 253 }, 254 "gcsFolderDestination": { # Export folder destination of the data. # Output to a folder in Cloud Storage. Should be used for image segmentation or document de-identification labeling outputs. 255 "outputFolderUri": "A String", # Required. Cloud Storage directory to export data to. 256 }, 257 }, 258 "userEmailAddress": "A String", # Email of the user who started the export task and should be notified by email. If empty no notification will be sent. 259} 260 261 x__xgafv: string, V1 error format. 262 Allowed values 263 1 - v1 error format 264 2 - v2 error format 265 266Returns: 267 An object of the form: 268 269 { # This resource represents a long-running operation that is the result of a network API call. 270 "done": 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. 271 "error": { # 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. 272 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 273 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 274 { 275 "a_key": "", # Properties of the object. Contains field @type with type URL. 276 }, 277 ], 278 "message": "A String", # 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. 279 }, 280 "metadata": { # 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. 281 "a_key": "", # Properties of the object. Contains field @type with type URL. 282 }, 283 "name": "A String", # 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}`. 284 "response": { # The normal response of the operation in case of success. 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`. 285 "a_key": "", # Properties of the object. Contains field @type with type URL. 286 }, 287}</pre> 288</div> 289 290<div class="method"> 291 <code class="details" id="get">get(name, x__xgafv=None)</code> 292 <pre>Gets dataset by resource name. 293 294Args: 295 name: string, Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id} (required) 296 x__xgafv: string, V1 error format. 297 Allowed values 298 1 - v1 error format 299 2 - v2 error format 300 301Returns: 302 An object of the form: 303 304 { # Dataset is the resource to hold your data. You can request multiple labeling tasks for a dataset while each one will generate an AnnotatedDataset. 305 "blockingResources": [ # Output only. The names of any related resources that are blocking changes to the dataset. 306 "A String", 307 ], 308 "createTime": "A String", # Output only. Time the dataset is created. 309 "dataItemCount": "A String", # Output only. The number of data items in the dataset. 310 "description": "A String", # Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long. 311 "displayName": "A String", # Required. The display name of the dataset. Maximum of 64 characters. 312 "inputConfigs": [ # Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset. 313 { # The configuration of input data, including data type, location, etc. 314 "annotationType": "A String", # Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob. 315 "bigquerySource": { # The BigQuery location for input data. If used in an EvaluationJob, this is where the service saves the prediction input and output sampled from the model version. # Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob. 316 "inputUri": "A String", # Required. BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the [correct schema](/ml-engine/docs/continuous-evaluation/create-job#table-schema). Provide the table URI in the following format: "bq://{your_project_id}/ {your_dataset_name}/{your_table_name}" [Learn more](/ml-engine/docs/continuous-evaluation/create-job#table-schema). 317 }, 318 "classificationMetadata": { # Metadata for classification annotations. # Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification. 319 "isMultiLabel": True or False, # Whether the classification task is multi-label or not. 320 }, 321 "dataType": "A String", # Required. Data type must be specifed when user tries to import data. 322 "gcsSource": { # Source of the Cloud Storage file to be imported. # Source located in Cloud Storage. 323 "inputUri": "A String", # Required. The input URI of source file. This must be a Cloud Storage path (`gs://...`). 324 "mimeType": "A String", # Required. The format of the source file. Only "text/csv" is supported. 325 }, 326 "textMetadata": { # Metadata for the text. # Required for text import, as language code must be specified. 327 "languageCode": "A String", # The language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. 328 }, 329 }, 330 ], 331 "lastMigrateTime": "A String", # Last time that the Dataset is migrated to AI Platform V2. If any of the AnnotatedDataset is migrated, the last_migration_time in Dataset is also updated. 332 "name": "A String", # Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id} 333}</pre> 334</div> 335 336<div class="method"> 337 <code class="details" id="importData">importData(name, body=None, x__xgafv=None)</code> 338 <pre>Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa. 339 340Args: 341 name: string, Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id} (required) 342 body: object, The request body. 343 The object takes the form of: 344 345{ # Request message for ImportData API. 346 "inputConfig": { # The configuration of input data, including data type, location, etc. # Required. Specify the input source of the data. 347 "annotationType": "A String", # Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob. 348 "bigquerySource": { # The BigQuery location for input data. If used in an EvaluationJob, this is where the service saves the prediction input and output sampled from the model version. # Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob. 349 "inputUri": "A String", # Required. BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the [correct schema](/ml-engine/docs/continuous-evaluation/create-job#table-schema). Provide the table URI in the following format: "bq://{your_project_id}/ {your_dataset_name}/{your_table_name}" [Learn more](/ml-engine/docs/continuous-evaluation/create-job#table-schema). 350 }, 351 "classificationMetadata": { # Metadata for classification annotations. # Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification. 352 "isMultiLabel": True or False, # Whether the classification task is multi-label or not. 353 }, 354 "dataType": "A String", # Required. Data type must be specifed when user tries to import data. 355 "gcsSource": { # Source of the Cloud Storage file to be imported. # Source located in Cloud Storage. 356 "inputUri": "A String", # Required. The input URI of source file. This must be a Cloud Storage path (`gs://...`). 357 "mimeType": "A String", # Required. The format of the source file. Only "text/csv" is supported. 358 }, 359 "textMetadata": { # Metadata for the text. # Required for text import, as language code must be specified. 360 "languageCode": "A String", # The language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. 361 }, 362 }, 363 "userEmailAddress": "A String", # Email of the user who started the import task and should be notified by email. If empty no notification will be sent. 364} 365 366 x__xgafv: string, V1 error format. 367 Allowed values 368 1 - v1 error format 369 2 - v2 error format 370 371Returns: 372 An object of the form: 373 374 { # This resource represents a long-running operation that is the result of a network API call. 375 "done": 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. 376 "error": { # 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. 377 "code": 42, # The status code, which should be an enum value of google.rpc.Code. 378 "details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use. 379 { 380 "a_key": "", # Properties of the object. Contains field @type with type URL. 381 }, 382 ], 383 "message": "A String", # 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. 384 }, 385 "metadata": { # 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. 386 "a_key": "", # Properties of the object. Contains field @type with type URL. 387 }, 388 "name": "A String", # 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}`. 389 "response": { # The normal response of the operation in case of success. 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`. 390 "a_key": "", # Properties of the object. Contains field @type with type URL. 391 }, 392}</pre> 393</div> 394 395<div class="method"> 396 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code> 397 <pre>Lists datasets under a project. Pagination is supported. 398 399Args: 400 parent: string, Required. Dataset resource parent, format: projects/{project_id} (required) 401 filter: string, Optional. Filter on dataset is not supported at this moment. 402 pageSize: integer, Optional. Requested page size. Server may return fewer results than requested. Default value is 100. 403 pageToken: string, Optional. A token identifying a page of results for the server to return. Typically obtained by ListDatasetsResponse.next_page_token of the previous [DataLabelingService.ListDatasets] call. Returns the first page if empty. 404 x__xgafv: string, V1 error format. 405 Allowed values 406 1 - v1 error format 407 2 - v2 error format 408 409Returns: 410 An object of the form: 411 412 { # Results of listing datasets within a project. 413 "datasets": [ # The list of datasets to return. 414 { # Dataset is the resource to hold your data. You can request multiple labeling tasks for a dataset while each one will generate an AnnotatedDataset. 415 "blockingResources": [ # Output only. The names of any related resources that are blocking changes to the dataset. 416 "A String", 417 ], 418 "createTime": "A String", # Output only. Time the dataset is created. 419 "dataItemCount": "A String", # Output only. The number of data items in the dataset. 420 "description": "A String", # Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long. 421 "displayName": "A String", # Required. The display name of the dataset. Maximum of 64 characters. 422 "inputConfigs": [ # Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset. 423 { # The configuration of input data, including data type, location, etc. 424 "annotationType": "A String", # Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob. 425 "bigquerySource": { # The BigQuery location for input data. If used in an EvaluationJob, this is where the service saves the prediction input and output sampled from the model version. # Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob. 426 "inputUri": "A String", # Required. BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the [correct schema](/ml-engine/docs/continuous-evaluation/create-job#table-schema). Provide the table URI in the following format: "bq://{your_project_id}/ {your_dataset_name}/{your_table_name}" [Learn more](/ml-engine/docs/continuous-evaluation/create-job#table-schema). 427 }, 428 "classificationMetadata": { # Metadata for classification annotations. # Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification. 429 "isMultiLabel": True or False, # Whether the classification task is multi-label or not. 430 }, 431 "dataType": "A String", # Required. Data type must be specifed when user tries to import data. 432 "gcsSource": { # Source of the Cloud Storage file to be imported. # Source located in Cloud Storage. 433 "inputUri": "A String", # Required. The input URI of source file. This must be a Cloud Storage path (`gs://...`). 434 "mimeType": "A String", # Required. The format of the source file. Only "text/csv" is supported. 435 }, 436 "textMetadata": { # Metadata for the text. # Required for text import, as language code must be specified. 437 "languageCode": "A String", # The language of this text, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. 438 }, 439 }, 440 ], 441 "lastMigrateTime": "A String", # Last time that the Dataset is migrated to AI Platform V2. If any of the AnnotatedDataset is migrated, the last_migration_time in Dataset is also updated. 442 "name": "A String", # Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id} 443 }, 444 ], 445 "nextPageToken": "A String", # A token to retrieve next page of results. 446}</pre> 447</div> 448 449<div class="method"> 450 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 451 <pre>Retrieves the next page of results. 452 453Args: 454 previous_request: The request for the previous page. (required) 455 previous_response: The response from the request for the previous page. (required) 456 457Returns: 458 A request object that you can call 'execute()' on to request the next 459 page. Returns None if there are no more items in the collection. 460 </pre> 461</div> 462 463</body></html>