1{ 2 "auth": { 3 "oauth2": { 4 "scopes": { 5 "https://www.googleapis.com/auth/cloud-platform": { 6 "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." 7 } 8 } 9 } 10 }, 11 "basePath": "", 12 "baseUrl": "https://datapipelines.googleapis.com/", 13 "batchPath": "batch", 14 "canonicalName": "Datapipelines", 15 "description": "Data Pipelines provides an interface for creating, updating, and managing recurring Data Analytics jobs.", 16 "discoveryVersion": "v1", 17 "documentationLink": "https://cloud.google.com/dataflow/docs/guides/data-pipelines", 18 "fullyEncodeReservedExpansion": true, 19 "icons": { 20 "x16": "http://www.google.com/images/icons/product/search-16.gif", 21 "x32": "http://www.google.com/images/icons/product/search-32.gif" 22 }, 23 "id": "datapipelines:v1", 24 "kind": "discovery#restDescription", 25 "mtlsRootUrl": "https://datapipelines.mtls.googleapis.com/", 26 "name": "datapipelines", 27 "ownerDomain": "google.com", 28 "ownerName": "Google", 29 "parameters": { 30 "$.xgafv": { 31 "description": "V1 error format.", 32 "enum": [ 33 "1", 34 "2" 35 ], 36 "enumDescriptions": [ 37 "v1 error format", 38 "v2 error format" 39 ], 40 "location": "query", 41 "type": "string" 42 }, 43 "access_token": { 44 "description": "OAuth access token.", 45 "location": "query", 46 "type": "string" 47 }, 48 "alt": { 49 "default": "json", 50 "description": "Data format for response.", 51 "enum": [ 52 "json", 53 "media", 54 "proto" 55 ], 56 "enumDescriptions": [ 57 "Responses with Content-Type of application/json", 58 "Media download with context-dependent Content-Type", 59 "Responses with Content-Type of application/x-protobuf" 60 ], 61 "location": "query", 62 "type": "string" 63 }, 64 "callback": { 65 "description": "JSONP", 66 "location": "query", 67 "type": "string" 68 }, 69 "fields": { 70 "description": "Selector specifying which fields to include in a partial response.", 71 "location": "query", 72 "type": "string" 73 }, 74 "key": { 75 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", 76 "location": "query", 77 "type": "string" 78 }, 79 "oauth_token": { 80 "description": "OAuth 2.0 token for the current user.", 81 "location": "query", 82 "type": "string" 83 }, 84 "prettyPrint": { 85 "default": "true", 86 "description": "Returns response with indentations and line breaks.", 87 "location": "query", 88 "type": "boolean" 89 }, 90 "quotaUser": { 91 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", 92 "location": "query", 93 "type": "string" 94 }, 95 "uploadType": { 96 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", 97 "location": "query", 98 "type": "string" 99 }, 100 "upload_protocol": { 101 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", 102 "location": "query", 103 "type": "string" 104 } 105 }, 106 "protocol": "rest", 107 "resources": { 108 "projects": { 109 "resources": { 110 "locations": { 111 "methods": { 112 "listPipelines": { 113 "description": "Lists pipelines. Returns a \"FORBIDDEN\" error if the caller doesn't have permission to access it.", 114 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", 115 "httpMethod": "GET", 116 "id": "datapipelines.projects.locations.listPipelines", 117 "parameterOrder": [ 118 "parent" 119 ], 120 "parameters": { 121 "filter": { 122 "description": "An expression for filtering the results of the request. If unspecified, all pipelines will be returned. Multiple filters can be applied and must be comma separated. Fields eligible for filtering are: + `type`: The type of the pipeline (streaming or batch). Allowed values are `ALL`, `BATCH`, and `STREAMING`. + `status`: The activity status of the pipeline. Allowed values are `ALL`, `ACTIVE`, `ARCHIVED`, and `PAUSED`. For example, to limit results to active batch processing pipelines: type:BATCH,status:ACTIVE", 123 "location": "query", 124 "type": "string" 125 }, 126 "pageSize": { 127 "description": "The maximum number of entities to return. The service may return fewer than this value, even if there are additional pages. If unspecified, the max limit is yet to be determined by the backend implementation.", 128 "format": "int32", 129 "location": "query", 130 "type": "integer" 131 }, 132 "pageToken": { 133 "description": "A page token, received from a previous `ListPipelines` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPipelines` must match the call that provided the page token.", 134 "location": "query", 135 "type": "string" 136 }, 137 "parent": { 138 "description": "Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`.", 139 "location": "path", 140 "pattern": "^projects/[^/]+/locations/[^/]+$", 141 "required": true, 142 "type": "string" 143 } 144 }, 145 "path": "v1/{+parent}", 146 "response": { 147 "$ref": "GoogleCloudDatapipelinesV1ListPipelinesResponse" 148 }, 149 "scopes": [ 150 "https://www.googleapis.com/auth/cloud-platform" 151 ] 152 } 153 }, 154 "resources": { 155 "pipelines": { 156 "methods": { 157 "create": { 158 "description": "Creates a pipeline. For a batch pipeline, you can pass scheduler information. Data Pipelines uses the scheduler information to create an internal scheduler that runs jobs periodically. If the internal scheduler is not configured, you can use RunPipeline to run jobs.", 159 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines", 160 "httpMethod": "POST", 161 "id": "datapipelines.projects.locations.pipelines.create", 162 "parameterOrder": [ 163 "parent" 164 ], 165 "parameters": { 166 "parent": { 167 "description": "Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`.", 168 "location": "path", 169 "pattern": "^projects/[^/]+/locations/[^/]+$", 170 "required": true, 171 "type": "string" 172 } 173 }, 174 "path": "v1/{+parent}/pipelines", 175 "request": { 176 "$ref": "GoogleCloudDatapipelinesV1Pipeline" 177 }, 178 "response": { 179 "$ref": "GoogleCloudDatapipelinesV1Pipeline" 180 }, 181 "scopes": [ 182 "https://www.googleapis.com/auth/cloud-platform" 183 ] 184 }, 185 "delete": { 186 "description": "Deletes a pipeline. If a scheduler job is attached to the pipeline, it will be deleted.", 187 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}", 188 "httpMethod": "DELETE", 189 "id": "datapipelines.projects.locations.pipelines.delete", 190 "parameterOrder": [ 191 "name" 192 ], 193 "parameters": { 194 "name": { 195 "description": "Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.", 196 "location": "path", 197 "pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", 198 "required": true, 199 "type": "string" 200 } 201 }, 202 "path": "v1/{+name}", 203 "response": { 204 "$ref": "GoogleProtobufEmpty" 205 }, 206 "scopes": [ 207 "https://www.googleapis.com/auth/cloud-platform" 208 ] 209 }, 210 "get": { 211 "description": "Looks up a single pipeline. Returns a \"NOT_FOUND\" error if no such pipeline exists. Returns a \"FORBIDDEN\" error if the caller doesn't have permission to access it.", 212 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}", 213 "httpMethod": "GET", 214 "id": "datapipelines.projects.locations.pipelines.get", 215 "parameterOrder": [ 216 "name" 217 ], 218 "parameters": { 219 "name": { 220 "description": "Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.", 221 "location": "path", 222 "pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", 223 "required": true, 224 "type": "string" 225 } 226 }, 227 "path": "v1/{+name}", 228 "response": { 229 "$ref": "GoogleCloudDatapipelinesV1Pipeline" 230 }, 231 "scopes": [ 232 "https://www.googleapis.com/auth/cloud-platform" 233 ] 234 }, 235 "patch": { 236 "description": "Updates a pipeline. If successful, the updated Pipeline is returned. Returns `NOT_FOUND` if the pipeline doesn't exist. If UpdatePipeline does not return successfully, you can retry the UpdatePipeline request until you receive a successful response.", 237 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}", 238 "httpMethod": "PATCH", 239 "id": "datapipelines.projects.locations.pipelines.patch", 240 "parameterOrder": [ 241 "name" 242 ], 243 "parameters": { 244 "name": { 245 "description": "The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), and periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects). * `LOCATION_ID` is the canonical ID for the pipeline's location. The list of available locations can be obtained by calling `google.cloud.location.Locations.ListLocations`. Note that the Data Pipelines service is not available in all regions. It depends on Cloud Scheduler, an App Engine application, so it's only available in [App Engine regions](https://cloud.google.com/about/locations#region). * `PIPELINE_ID` is the ID of the pipeline. Must be unique for the selected project and location.", 246 "location": "path", 247 "pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", 248 "required": true, 249 "type": "string" 250 }, 251 "updateMask": { 252 "description": "The list of fields to be updated.", 253 "format": "google-fieldmask", 254 "location": "query", 255 "type": "string" 256 } 257 }, 258 "path": "v1/{+name}", 259 "request": { 260 "$ref": "GoogleCloudDatapipelinesV1Pipeline" 261 }, 262 "response": { 263 "$ref": "GoogleCloudDatapipelinesV1Pipeline" 264 }, 265 "scopes": [ 266 "https://www.googleapis.com/auth/cloud-platform" 267 ] 268 }, 269 "run": { 270 "description": "Creates a job for the specified pipeline directly. You can use this method when the internal scheduler is not configured and you want to trigger the job directly or through an external system. Returns a \"NOT_FOUND\" error if the pipeline doesn't exist. Returns a \"FORBIDDEN\" error if the user doesn't have permission to access the pipeline or run jobs for the pipeline.", 271 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}:run", 272 "httpMethod": "POST", 273 "id": "datapipelines.projects.locations.pipelines.run", 274 "parameterOrder": [ 275 "name" 276 ], 277 "parameters": { 278 "name": { 279 "description": "Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.", 280 "location": "path", 281 "pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", 282 "required": true, 283 "type": "string" 284 } 285 }, 286 "path": "v1/{+name}:run", 287 "request": { 288 "$ref": "GoogleCloudDatapipelinesV1RunPipelineRequest" 289 }, 290 "response": { 291 "$ref": "GoogleCloudDatapipelinesV1RunPipelineResponse" 292 }, 293 "scopes": [ 294 "https://www.googleapis.com/auth/cloud-platform" 295 ] 296 }, 297 "stop": { 298 "description": "Freezes pipeline execution permanently. If there's a corresponding scheduler entry, it's deleted, and the pipeline state is changed to \"ARCHIVED\". However, pipeline metadata is retained.", 299 "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/pipelines/{pipelinesId}:stop", 300 "httpMethod": "POST", 301 "id": "datapipelines.projects.locations.pipelines.stop", 302 "parameterOrder": [ 303 "name" 304 ], 305 "parameters": { 306 "name": { 307 "description": "Required. The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`.", 308 "location": "path", 309 "pattern": "^projects/[^/]+/locations/[^/]+/pipelines/[^/]+$", 310 "required": true, 311 "type": "string" 312 } 313 }, 314 "path": "v1/{+name}:stop", 315 "request": { 316 "$ref": "GoogleCloudDatapipelinesV1StopPipelineRequest" 317 }, 318 "response": { 319 "$ref": "GoogleCloudDatapipelinesV1Pipeline" 320 }, 321 "scopes": [ 322 "https://www.googleapis.com/auth/cloud-platform" 323 ] 324 } 325 } 326 } 327 } 328 } 329 } 330 } 331 }, 332 "revision": "20211203", 333 "rootUrl": "https://datapipelines.googleapis.com/", 334 "schemas": { 335 "GoogleCloudDatapipelinesV1DataflowJobDetails": { 336 "description": "Pipeline job details specific to the Dataflow API. This is encapsulated here to allow for more executors to store their specific details separately.", 337 "id": "GoogleCloudDatapipelinesV1DataflowJobDetails", 338 "properties": { 339 "currentWorkers": { 340 "description": "Output only. The current number of workers used to run the jobs. Only set to a value if the job is still running.", 341 "format": "int32", 342 "readOnly": true, 343 "type": "integer" 344 }, 345 "resourceInfo": { 346 "additionalProperties": { 347 "format": "double", 348 "type": "number" 349 }, 350 "description": "Cached version of all the metrics of interest for the job. This value gets stored here when the job is terminated. As long as the job is running, this field is populated from the Dataflow API.", 351 "type": "object" 352 }, 353 "sdkVersion": { 354 "$ref": "GoogleCloudDatapipelinesV1SdkVersion", 355 "description": "Output only. The SDK version used to run the job.", 356 "readOnly": true 357 } 358 }, 359 "type": "object" 360 }, 361 "GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment": { 362 "description": "The environment values to be set at runtime for a Flex Template.", 363 "id": "GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment", 364 "properties": { 365 "additionalExperiments": { 366 "description": "Additional experiment flags for the job.", 367 "items": { 368 "type": "string" 369 }, 370 "type": "array" 371 }, 372 "additionalUserLabels": { 373 "additionalProperties": { 374 "type": "string" 375 }, 376 "description": "Additional user labels to be specified for the job. Keys and values must follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions). An object containing a list of key/value pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"1kg\", \"count\": \"3\" }`.", 377 "type": "object" 378 }, 379 "enableStreamingEngine": { 380 "description": "Whether to enable Streaming Engine for the job.", 381 "type": "boolean" 382 }, 383 "flexrsGoal": { 384 "description": "Set FlexRS goal for the job. https://cloud.google.com/dataflow/docs/guides/flexrs", 385 "enum": [ 386 "FLEXRS_UNSPECIFIED", 387 "FLEXRS_SPEED_OPTIMIZED", 388 "FLEXRS_COST_OPTIMIZED" 389 ], 390 "enumDescriptions": [ 391 "Run in the default mode.", 392 "Optimize for lower execution time.", 393 "Optimize for lower cost." 394 ], 395 "type": "string" 396 }, 397 "ipConfiguration": { 398 "description": "Configuration for VM IPs.", 399 "enum": [ 400 "WORKER_IP_UNSPECIFIED", 401 "WORKER_IP_PUBLIC", 402 "WORKER_IP_PRIVATE" 403 ], 404 "enumDescriptions": [ 405 "The configuration is unknown, or unspecified.", 406 "Workers should have public IP addresses.", 407 "Workers should have private IP addresses." 408 ], 409 "type": "string" 410 }, 411 "kmsKeyName": { 412 "description": "Name for the Cloud KMS key for the job. Key format is: projects//locations//keyRings//cryptoKeys/", 413 "type": "string" 414 }, 415 "machineType": { 416 "description": "The machine type to use for the job. Defaults to the value from the template if not specified.", 417 "type": "string" 418 }, 419 "maxWorkers": { 420 "description": "The maximum number of Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.", 421 "format": "int32", 422 "type": "integer" 423 }, 424 "network": { 425 "description": "Network to which VMs will be assigned. If empty or unspecified, the service will use the network \"default\".", 426 "type": "string" 427 }, 428 "numWorkers": { 429 "description": "The initial number of Compute Engine instances for the job.", 430 "format": "int32", 431 "type": "integer" 432 }, 433 "serviceAccountEmail": { 434 "description": "The email address of the service account to run the job as.", 435 "type": "string" 436 }, 437 "subnetwork": { 438 "description": "Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form \"https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK\" or \"regions/REGION/subnetworks/SUBNETWORK\". If the subnetwork is located in a Shared VPC network, you must use the complete URL.", 439 "type": "string" 440 }, 441 "tempLocation": { 442 "description": "The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.", 443 "type": "string" 444 }, 445 "workerRegion": { 446 "description": "The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1\". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, defaults to the control plane region.", 447 "type": "string" 448 }, 449 "workerZone": { 450 "description": "The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1-a\". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane region is chosen based on available capacity. If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.", 451 "type": "string" 452 }, 453 "zone": { 454 "description": "The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future, worker_zone will take precedence.", 455 "type": "string" 456 } 457 }, 458 "type": "object" 459 }, 460 "GoogleCloudDatapipelinesV1Job": { 461 "description": "Definition of the job information maintained by the pipeline. Fields in this entity are retrieved from the executor API (e.g. Dataflow API).", 462 "id": "GoogleCloudDatapipelinesV1Job", 463 "properties": { 464 "createTime": { 465 "description": "Output only. The time of job creation.", 466 "format": "google-datetime", 467 "readOnly": true, 468 "type": "string" 469 }, 470 "dataflowJobDetails": { 471 "$ref": "GoogleCloudDatapipelinesV1DataflowJobDetails", 472 "description": "All the details that are specific to a Dataflow job." 473 }, 474 "endTime": { 475 "description": "Output only. The time of job termination. This is absent if the job is still running.", 476 "format": "google-datetime", 477 "readOnly": true, 478 "type": "string" 479 }, 480 "id": { 481 "description": "Output only. The internal ID for the job.", 482 "readOnly": true, 483 "type": "string" 484 }, 485 "name": { 486 "description": "Required. The fully qualified resource name for the job.", 487 "type": "string" 488 }, 489 "state": { 490 "description": "The current state of the job.", 491 "enum": [ 492 "STATE_UNSPECIFIED", 493 "STATE_PENDING", 494 "STATE_RUNNING", 495 "STATE_DONE", 496 "STATE_FAILED", 497 "STATE_CANCELLED" 498 ], 499 "enumDescriptions": [ 500 "The job state isn't specified.", 501 "The job is waiting to start execution.", 502 "The job is executing.", 503 "The job has finished execution successfully.", 504 "The job has finished execution with a failure.", 505 "The job has been terminated upon user request." 506 ], 507 "type": "string" 508 }, 509 "status": { 510 "$ref": "GoogleRpcStatus", 511 "description": "Status capturing any error code or message related to job creation or execution." 512 } 513 }, 514 "type": "object" 515 }, 516 "GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter": { 517 "description": "Launch Flex Template parameter.", 518 "id": "GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter", 519 "properties": { 520 "containerSpecGcsPath": { 521 "description": "Cloud Storage path to a file with a JSON-serialized ContainerSpec as content.", 522 "type": "string" 523 }, 524 "environment": { 525 "$ref": "GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment", 526 "description": "The runtime environment for the Flex Template job." 527 }, 528 "jobName": { 529 "description": "Required. The job name to use for the created job. For an update job request, the job name should be the same as the existing running job.", 530 "type": "string" 531 }, 532 "launchOptions": { 533 "additionalProperties": { 534 "type": "string" 535 }, 536 "description": "Launch options for this Flex Template job. This is a common set of options across languages and templates. This should not be used to pass job parameters.", 537 "type": "object" 538 }, 539 "parameters": { 540 "additionalProperties": { 541 "type": "string" 542 }, 543 "description": "The parameters for the Flex Template. Example: `{\"num_workers\":\"5\"}`", 544 "type": "object" 545 }, 546 "transformNameMappings": { 547 "additionalProperties": { 548 "type": "string" 549 }, 550 "description": "Use this to pass transform name mappings for streaming update jobs. Example: `{\"oldTransformName\":\"newTransformName\",...}`", 551 "type": "object" 552 }, 553 "update": { 554 "description": "Set this to true if you are sending a request to update a running streaming job. When set, the job name should be the same as the running job.", 555 "type": "boolean" 556 } 557 }, 558 "type": "object" 559 }, 560 "GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest": { 561 "description": "A request to launch a Dataflow job from a Flex Template.", 562 "id": "GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest", 563 "properties": { 564 "launchParameter": { 565 "$ref": "GoogleCloudDatapipelinesV1LaunchFlexTemplateParameter", 566 "description": "Required. Parameter to launch a job from a Flex Template." 567 }, 568 "location": { 569 "description": "Required. The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request. For example, `us-central1`, `us-west1`.", 570 "type": "string" 571 }, 572 "projectId": { 573 "description": "Required. The ID of the Cloud Platform project that the job belongs to.", 574 "type": "string" 575 }, 576 "validateOnly": { 577 "description": "If true, the request is validated but not actually executed. Defaults to false.", 578 "type": "boolean" 579 } 580 }, 581 "type": "object" 582 }, 583 "GoogleCloudDatapipelinesV1LaunchTemplateParameters": { 584 "description": "Parameters to provide to the template being launched.", 585 "id": "GoogleCloudDatapipelinesV1LaunchTemplateParameters", 586 "properties": { 587 "environment": { 588 "$ref": "GoogleCloudDatapipelinesV1RuntimeEnvironment", 589 "description": "The runtime environment for the job." 590 }, 591 "jobName": { 592 "description": "Required. The job name to use for the created job.", 593 "type": "string" 594 }, 595 "parameters": { 596 "additionalProperties": { 597 "type": "string" 598 }, 599 "description": "The runtime parameters to pass to the job.", 600 "type": "object" 601 }, 602 "transformNameMapping": { 603 "additionalProperties": { 604 "type": "string" 605 }, 606 "description": "Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job. Only applicable when updating a pipeline.", 607 "type": "object" 608 }, 609 "update": { 610 "description": "If set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state.", 611 "type": "boolean" 612 } 613 }, 614 "type": "object" 615 }, 616 "GoogleCloudDatapipelinesV1LaunchTemplateRequest": { 617 "description": "A request to launch a template.", 618 "id": "GoogleCloudDatapipelinesV1LaunchTemplateRequest", 619 "properties": { 620 "gcsPath": { 621 "description": "A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with 'gs://'.", 622 "type": "string" 623 }, 624 "launchParameters": { 625 "$ref": "GoogleCloudDatapipelinesV1LaunchTemplateParameters", 626 "description": "The parameters of the template to launch. This should be part of the body of the POST request." 627 }, 628 "location": { 629 "description": "The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.", 630 "type": "string" 631 }, 632 "projectId": { 633 "description": "Required. The ID of the Cloud Platform project that the job belongs to.", 634 "type": "string" 635 }, 636 "validateOnly": { 637 "description": "If true, the request is validated but not actually executed. Defaults to false.", 638 "type": "boolean" 639 } 640 }, 641 "type": "object" 642 }, 643 "GoogleCloudDatapipelinesV1ListPipelinesResponse": { 644 "description": "Response message for ListPipelines.", 645 "id": "GoogleCloudDatapipelinesV1ListPipelinesResponse", 646 "properties": { 647 "nextPageToken": { 648 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", 649 "type": "string" 650 }, 651 "pipelines": { 652 "description": "Results that matched the filter criteria and were accessible to the caller. Results are always in descending order of pipeline creation date.", 653 "items": { 654 "$ref": "GoogleCloudDatapipelinesV1Pipeline" 655 }, 656 "type": "array" 657 } 658 }, 659 "type": "object" 660 }, 661 "GoogleCloudDatapipelinesV1Pipeline": { 662 "description": "The main pipeline entity and all the necessary metadata for launching and managing linked jobs.", 663 "id": "GoogleCloudDatapipelinesV1Pipeline", 664 "properties": { 665 "createTime": { 666 "description": "Output only. Immutable. The timestamp when the pipeline was initially created. Set by the Data Pipelines service.", 667 "format": "google-datetime", 668 "readOnly": true, 669 "type": "string" 670 }, 671 "displayName": { 672 "description": "Required. The display name of the pipeline. It can contain only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), and underscores (_).", 673 "type": "string" 674 }, 675 "jobCount": { 676 "description": "Output only. Number of jobs.", 677 "format": "int32", 678 "readOnly": true, 679 "type": "integer" 680 }, 681 "lastUpdateTime": { 682 "description": "Output only. Immutable. The timestamp when the pipeline was last modified. Set by the Data Pipelines service.", 683 "format": "google-datetime", 684 "readOnly": true, 685 "type": "string" 686 }, 687 "name": { 688 "description": "The pipeline name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/pipelines/PIPELINE_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), and periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects). * `LOCATION_ID` is the canonical ID for the pipeline's location. The list of available locations can be obtained by calling `google.cloud.location.Locations.ListLocations`. Note that the Data Pipelines service is not available in all regions. It depends on Cloud Scheduler, an App Engine application, so it's only available in [App Engine regions](https://cloud.google.com/about/locations#region). * `PIPELINE_ID` is the ID of the pipeline. Must be unique for the selected project and location.", 689 "type": "string" 690 }, 691 "pipelineSources": { 692 "additionalProperties": { 693 "type": "string" 694 }, 695 "description": "Immutable. The sources of the pipeline (for example, Dataplex). The keys and values are set by the corresponding sources during pipeline creation.", 696 "type": "object" 697 }, 698 "scheduleInfo": { 699 "$ref": "GoogleCloudDatapipelinesV1ScheduleSpec", 700 "description": "Internal scheduling information for a pipeline. If this information is provided, periodic jobs will be created per the schedule. If not, users are responsible for creating jobs externally." 701 }, 702 "schedulerServiceAccountEmail": { 703 "description": "Optional. A service account email to be used with the Cloud Scheduler job. If not specified, the default compute engine service account will be used.", 704 "type": "string" 705 }, 706 "state": { 707 "description": "Required. The state of the pipeline. When the pipeline is created, the state is set to 'PIPELINE_STATE_ACTIVE' by default. State changes can be requested by setting the state to stopping, paused, or resuming. State cannot be changed through UpdatePipeline requests.", 708 "enum": [ 709 "STATE_UNSPECIFIED", 710 "STATE_RESUMING", 711 "STATE_ACTIVE", 712 "STATE_STOPPING", 713 "STATE_ARCHIVED", 714 "STATE_PAUSED" 715 ], 716 "enumDescriptions": [ 717 "The pipeline state isn't specified.", 718 "The pipeline is getting started or resumed. When finished, the pipeline state will be 'PIPELINE_STATE_ACTIVE'.", 719 "The pipeline is actively running.", 720 "The pipeline is in the process of stopping. When finished, the pipeline state will be 'PIPELINE_STATE_ARCHIVED'.", 721 "The pipeline has been stopped. This is a terminal state and cannot be undone.", 722 "The pipeline is paused. This is a non-terminal state. When the pipeline is paused, it will hold processing jobs, but can be resumed later. For a batch pipeline, this means pausing the scheduler job. For a streaming pipeline, creating a job snapshot to resume from will give the same effect." 723 ], 724 "type": "string" 725 }, 726 "type": { 727 "description": "Required. The type of the pipeline. This field affects the scheduling of the pipeline and the type of metrics to show for the pipeline.", 728 "enum": [ 729 "PIPELINE_TYPE_UNSPECIFIED", 730 "PIPELINE_TYPE_BATCH", 731 "PIPELINE_TYPE_STREAMING" 732 ], 733 "enumDescriptions": [ 734 "The pipeline type isn't specified.", 735 "A batch pipeline. It runs jobs on a specific schedule, and each job will automatically terminate once execution is finished.", 736 "A streaming pipeline. The underlying job is continuously running until it is manually terminated by the user. This type of pipeline doesn't have a schedule to run on, and the linked job gets created when the pipeline is created." 737 ], 738 "type": "string" 739 }, 740 "workload": { 741 "$ref": "GoogleCloudDatapipelinesV1Workload", 742 "description": "Workload information for creating new jobs." 743 } 744 }, 745 "type": "object" 746 }, 747 "GoogleCloudDatapipelinesV1RunPipelineRequest": { 748 "description": "Request message for RunPipeline", 749 "id": "GoogleCloudDatapipelinesV1RunPipelineRequest", 750 "properties": {}, 751 "type": "object" 752 }, 753 "GoogleCloudDatapipelinesV1RunPipelineResponse": { 754 "description": "Response message for RunPipeline", 755 "id": "GoogleCloudDatapipelinesV1RunPipelineResponse", 756 "properties": { 757 "job": { 758 "$ref": "GoogleCloudDatapipelinesV1Job", 759 "description": "Job that was created as part of RunPipeline operation." 760 } 761 }, 762 "type": "object" 763 }, 764 "GoogleCloudDatapipelinesV1RuntimeEnvironment": { 765 "description": "The environment values to set at runtime.", 766 "id": "GoogleCloudDatapipelinesV1RuntimeEnvironment", 767 "properties": { 768 "additionalExperiments": { 769 "description": "Additional experiment flags for the job.", 770 "items": { 771 "type": "string" 772 }, 773 "type": "array" 774 }, 775 "additionalUserLabels": { 776 "additionalProperties": { 777 "type": "string" 778 }, 779 "description": "Additional user labels to be specified for the job. Keys and values should follow the restrictions specified in the [labeling restrictions](https://cloud.google.com/compute/docs/labeling-resources#restrictions) page. An object containing a list of key/value pairs. Example: { \"name\": \"wrench\", \"mass\": \"1kg\", \"count\": \"3\" }.", 780 "type": "object" 781 }, 782 "bypassTempDirValidation": { 783 "description": "Whether to bypass the safety checks for the job's temporary directory. Use with caution.", 784 "type": "boolean" 785 }, 786 "enableStreamingEngine": { 787 "description": "Whether to enable Streaming Engine for the job.", 788 "type": "boolean" 789 }, 790 "ipConfiguration": { 791 "description": "Configuration for VM IPs.", 792 "enum": [ 793 "WORKER_IP_UNSPECIFIED", 794 "WORKER_IP_PUBLIC", 795 "WORKER_IP_PRIVATE" 796 ], 797 "enumDescriptions": [ 798 "The configuration is unknown, or unspecified.", 799 "Workers should have public IP addresses.", 800 "Workers should have private IP addresses." 801 ], 802 "type": "string" 803 }, 804 "kmsKeyName": { 805 "description": "Name for the Cloud KMS key for the job. The key format is: projects//locations//keyRings//cryptoKeys/", 806 "type": "string" 807 }, 808 "machineType": { 809 "description": "The machine type to use for the job. Defaults to the value from the template if not specified.", 810 "type": "string" 811 }, 812 "maxWorkers": { 813 "description": "The maximum number of Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.", 814 "format": "int32", 815 "type": "integer" 816 }, 817 "network": { 818 "description": "Network to which VMs will be assigned. If empty or unspecified, the service will use the network \"default\".", 819 "type": "string" 820 }, 821 "numWorkers": { 822 "description": "The initial number of Compute Engine instances for the job.", 823 "format": "int32", 824 "type": "integer" 825 }, 826 "serviceAccountEmail": { 827 "description": "The email address of the service account to run the job as.", 828 "type": "string" 829 }, 830 "subnetwork": { 831 "description": "Subnetwork to which VMs will be assigned, if desired. You can specify a subnetwork using either a complete URL or an abbreviated path. Expected to be of the form \"https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK\" or \"regions/REGION/subnetworks/SUBNETWORK\". If the subnetwork is located in a Shared VPC network, you must use the complete URL.", 832 "type": "string" 833 }, 834 "tempLocation": { 835 "description": "The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with `gs://`.", 836 "type": "string" 837 }, 838 "workerRegion": { 839 "description": "The Compute Engine region (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1\". Mutually exclusive with worker_zone. If neither worker_region nor worker_zone is specified, default to the control plane's region.", 840 "type": "string" 841 }, 842 "workerZone": { 843 "description": "The Compute Engine zone (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in which worker processing should occur, e.g. \"us-west1-a\". Mutually exclusive with worker_region. If neither worker_region nor worker_zone is specified, a zone in the control plane's region is chosen based on available capacity. If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.", 844 "type": "string" 845 }, 846 "zone": { 847 "description": "The Compute Engine [availability zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones) for launching worker instances to run your pipeline. In the future, worker_zone will take precedence.", 848 "type": "string" 849 } 850 }, 851 "type": "object" 852 }, 853 "GoogleCloudDatapipelinesV1ScheduleSpec": { 854 "description": "Details of the schedule the pipeline runs on.", 855 "id": "GoogleCloudDatapipelinesV1ScheduleSpec", 856 "properties": { 857 "nextJobTime": { 858 "description": "Output only. When the next Scheduler job is going to run.", 859 "format": "google-datetime", 860 "readOnly": true, 861 "type": "string" 862 }, 863 "schedule": { 864 "description": "Unix-cron format of the schedule. This information is retrieved from the linked Cloud Scheduler.", 865 "type": "string" 866 }, 867 "timeZone": { 868 "description": "Timezone ID. This matches the timezone IDs used by the Cloud Scheduler API. If empty, UTC time is assumed.", 869 "type": "string" 870 } 871 }, 872 "type": "object" 873 }, 874 "GoogleCloudDatapipelinesV1SdkVersion": { 875 "description": "The version of the SDK used to run the job.", 876 "id": "GoogleCloudDatapipelinesV1SdkVersion", 877 "properties": { 878 "sdkSupportStatus": { 879 "description": "The support status for this SDK version.", 880 "enum": [ 881 "UNKNOWN", 882 "SUPPORTED", 883 "STALE", 884 "DEPRECATED", 885 "UNSUPPORTED" 886 ], 887 "enumDescriptions": [ 888 "Dataflow is unaware of this version.", 889 "This is a known version of an SDK, and is supported.", 890 "A newer version of the SDK exists, and an update is recommended.", 891 "This version of the SDK is deprecated and will eventually be unsupported.", 892 "Support for this SDK version has ended and it should no longer be used." 893 ], 894 "type": "string" 895 }, 896 "version": { 897 "description": "The version of the SDK used to run the job.", 898 "type": "string" 899 }, 900 "versionDisplayName": { 901 "description": "A readable string describing the version of the SDK.", 902 "type": "string" 903 } 904 }, 905 "type": "object" 906 }, 907 "GoogleCloudDatapipelinesV1StopPipelineRequest": { 908 "description": "Request message for StopPipeline.", 909 "id": "GoogleCloudDatapipelinesV1StopPipelineRequest", 910 "properties": {}, 911 "type": "object" 912 }, 913 "GoogleCloudDatapipelinesV1Workload": { 914 "description": "Workload details for creating the pipeline jobs.", 915 "id": "GoogleCloudDatapipelinesV1Workload", 916 "properties": { 917 "dataflowFlexTemplateRequest": { 918 "$ref": "GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest", 919 "description": "Template information and additional parameters needed to launch a Dataflow job using the flex launch API." 920 }, 921 "dataflowLaunchTemplateRequest": { 922 "$ref": "GoogleCloudDatapipelinesV1LaunchTemplateRequest", 923 "description": "Template information and additional parameters needed to launch a Dataflow job using the standard launch API." 924 } 925 }, 926 "type": "object" 927 }, 928 "GoogleProtobufEmpty": { 929 "description": "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 `{}`.", 930 "id": "GoogleProtobufEmpty", 931 "properties": {}, 932 "type": "object" 933 }, 934 "GoogleRpcStatus": { 935 "description": "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).", 936 "id": "GoogleRpcStatus", 937 "properties": { 938 "code": { 939 "description": "The status code, which should be an enum value of google.rpc.Code.", 940 "format": "int32", 941 "type": "integer" 942 }, 943 "details": { 944 "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", 945 "items": { 946 "additionalProperties": { 947 "description": "Properties of the object. Contains field @type with type URL.", 948 "type": "any" 949 }, 950 "type": "object" 951 }, 952 "type": "array" 953 }, 954 "message": { 955 "description": "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.", 956 "type": "string" 957 } 958 }, 959 "type": "object" 960 } 961 }, 962 "servicePath": "", 963 "title": "Data pipelines API", 964 "version": "v1", 965 "version_module": true 966}