Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Side by Side Diff: discovery/googleapis/cloudbuild__v1.json

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 "parameterOrder": [ 327 "parameterOrder": [
328 "projectId" 328 "projectId"
329 ], 329 ],
330 "parameters": { 330 "parameters": {
331 "pageSize": { 331 "pageSize": {
332 "description": "Number of results to return in the list.", 332 "description": "Number of results to return in the list.",
333 "format": "int32", 333 "format": "int32",
334 "location": "query", 334 "location": "query",
335 "type": "integer" 335 "type": "integer"
336 }, 336 },
337 "filter": {
338 "description": "The raw filter text to const rain the results.",
339 "location": "query",
340 "type": "string"
341 },
337 "projectId": { 342 "projectId": {
338 "description": "ID of the project.", 343 "description": "ID of the project.",
339 "location": "path", 344 "location": "path",
340 "required": true, 345 "required": true,
341 "type": "string" 346 "type": "string"
342 }, 347 },
343 "pageToken": { 348 "pageToken": {
344 "description": "Token to provide to skip to a particular spot in the list.", 349 "description": "Token to provide to skip to a particular spot in the list.",
345 "location": "query", 350 "location": "query",
346 "type": "string" 351 "type": "string"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 "description": "Gets the latest state of a long-running oper ation. Clients can use this\nmethod to poll the operation result at intervals a s recommended by the API\nservice.", 402 "description": "Gets the latest state of a long-running oper ation. Clients can use this\nmethod to poll the operation result at intervals a s recommended by the API\nservice.",
398 "httpMethod": "GET", 403 "httpMethod": "GET",
399 "id": "cloudbuild.operations.get", 404 "id": "cloudbuild.operations.get",
400 "parameterOrder": [ 405 "parameterOrder": [
401 "name" 406 "name"
402 ], 407 ],
403 "parameters": { 408 "parameters": {
404 "name": { 409 "name": {
405 "description": "The name of the operation resource." , 410 "description": "The name of the operation resource." ,
406 "location": "path", 411 "location": "path",
407 "pattern": "^operations/.*$", 412 "pattern": "^operations/.+$",
408 "required": true, 413 "required": true,
409 "type": "string" 414 "type": "string"
410 } 415 }
411 }, 416 },
412 "path": "v1/{+name}", 417 "path": "v1/{+name}",
413 "response": { 418 "response": {
414 "$ref": "Operation" 419 "$ref": "Operation"
415 }, 420 },
416 "scopes": [ 421 "scopes": [
417 "https://www.googleapis.com/auth/cloud-platform" 422 "https://www.googleapis.com/auth/cloud-platform"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 "response": { 458 "response": {
454 "$ref": "ListOperationsResponse" 459 "$ref": "ListOperationsResponse"
455 }, 460 },
456 "scopes": [ 461 "scopes": [
457 "https://www.googleapis.com/auth/cloud-platform" 462 "https://www.googleapis.com/auth/cloud-platform"
458 ] 463 ]
459 } 464 }
460 } 465 }
461 } 466 }
462 }, 467 },
463 "revision": "20160825", 468 "revision": "20161107",
464 "rootUrl": "https://cloudbuild.googleapis.com/", 469 "rootUrl": "https://cloudbuild.googleapis.com/",
465 "schemas": { 470 "schemas": {
466 "Status": { 471 "Status": {
467 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Lan guage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mes sage is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some except ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\ n\nThe error model and the `Status` message can be used in a variety of\nenviron ments, either with or without APIs, to provide a\nconsistent developer experienc e across different environments.\n\nExample uses of this error model include:\n\ n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operati ons. If a client uses batch request and batch response, the\n `Status` messag e should be used directly inside batch response, one for\n each error sub-res ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio n\n results in its response, the status of those operations should be\n re presented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any s tripping needed for security/privacy reasons.", 472 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Lan guage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mes sage is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some except ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\ n\nThe error model and the `Status` message can be used in a variety of\nenviron ments, either with or without APIs, to provide a\nconsistent developer experienc e across different environments.\n\nExample uses of this error model include:\n\ n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operati ons. If a client uses batch request and batch response, the\n `Status` messag e should be used directly inside batch response, one for\n each error sub-res ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio n\n results in its response, the status of those operations should be\n re presented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any s tripping needed for security/privacy reasons.",
468 "id": "Status", 473 "id": "Status",
469 "properties": { 474 "properties": {
470 "code": { 475 "code": {
471 "description": "The status code, which should be an enum val ue of google.rpc.Code.", 476 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
472 "format": "int32", 477 "format": "int32",
473 "type": "integer" 478 "type": "integer"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 } 542 }
538 }, 543 },
539 "type": "object" 544 "type": "object"
540 }, 545 },
541 "Operation": { 546 "Operation": {
542 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.", 547 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
543 "id": "Operation", 548 "id": "Operation",
544 "properties": { 549 "properties": {
545 "error": { 550 "error": {
546 "$ref": "Status", 551 "$ref": "Status",
547 "description": "The error result of the operation in case of failure." 552 "description": "The error result of the operation in case of failure or cancellation."
548 }, 553 },
549 "done": { 554 "done": {
550 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.", 555 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.",
551 "type": "boolean" 556 "type": "boolean"
552 }, 557 },
553 "metadata": { 558 "metadata": {
554 "additionalProperties": { 559 "additionalProperties": {
555 "description": "Properties of the object. Contains field @type with type URL.", 560 "description": "Properties of the object. Contains field @type with type URL.",
556 "type": "any" 561 "type": "any"
557 }, 562 },
(...skipping 12 matching lines...) Expand all
570 "description": "The server-assigned name, which is only uniq ue within the same service that\noriginally returns it. If you use the default H TTP mapping, the\n`name` should have the format of `operations/some/unique/name` .", 575 "description": "The server-assigned name, which is only uniq ue within the same service that\noriginally returns it. If you use the default H TTP mapping, the\n`name` should have the format of `operations/some/unique/name` .",
571 "type": "string" 576 "type": "string"
572 } 577 }
573 }, 578 },
574 "type": "object" 579 "type": "object"
575 }, 580 },
576 "BuildTrigger": { 581 "BuildTrigger": {
577 "description": "Configuration for an automated build in response to source repository\nchanges.", 582 "description": "Configuration for an automated build in response to source repository\nchanges.",
578 "id": "BuildTrigger", 583 "id": "BuildTrigger",
579 "properties": { 584 "properties": {
580 "filename": { 585 "id": {
581 "description": "Path, from the source root, to a file whose contents is used for the\ntemplate.", 586 "description": "Unique identifier of the trigger.\n\n@Output Only",
587 "type": "string"
588 },
589 "description": {
590 "description": "Human-readable description of this trigger." ,
582 "type": "string" 591 "type": "string"
583 }, 592 },
584 "triggerTemplate": { 593 "triggerTemplate": {
585 "$ref": "RepoSource", 594 "$ref": "RepoSource",
586 "description": "Template describing the types of source chan ges to trigger a build.\n\nBranch and tag names in trigger templates are interpr eted as regular\nexpressions. Any branch or tag change that matches that regular expression\nwill trigger a build." 595 "description": "Template describing the types of source chan ges to trigger a build.\n\nBranch and tag names in trigger templates are interpr eted as regular\nexpressions. Any branch or tag change that matches that regular expression\nwill trigger a build."
587 }, 596 },
588 "build": { 597 "disabled": {
589 "$ref": "Build", 598 "description": "If true, the trigger will never result in a build.",
590 "description": "Contents of the build template." 599 "type": "boolean"
591 }, 600 },
592 "createTime": { 601 "createTime": {
593 "description": "Time when the trigger was created.\n\n@Outpu tOnly", 602 "description": "Time when the trigger was created.\n\n@Outpu tOnly",
594 "format": "google-datetime", 603 "format": "google-datetime",
595 "type": "string" 604 "type": "string"
596 }, 605 },
597 "id": { 606 "filename": {
598 "description": "Unique identifier of the trigger.\n\n@Output Only", 607 "description": "Path, from the source root, to a file whose contents is used for the\ntemplate.",
599 "type": "string" 608 "type": "string"
609 },
610 "build": {
611 "$ref": "Build",
612 "description": "Contents of the build template."
600 } 613 }
601 }, 614 },
602 "type": "object" 615 "type": "object"
603 }, 616 },
604 "BuiltImage": { 617 "BuiltImage": {
605 "description": "BuiltImage describes an image built by the pipeline. ", 618 "description": "BuiltImage describes an image built by the pipeline. ",
606 "id": "BuiltImage", 619 "id": "BuiltImage",
607 "properties": { 620 "properties": {
608 "digest": { 621 "digest": {
609 "description": "Docker Registry 2.0 digest.", 622 "description": "Docker Registry 2.0 digest.",
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 "description": "List of build step digests, in order corresp onding to build step indices.", 688 "description": "List of build step digests, in order corresp onding to build step indices.",
676 "items": { 689 "items": {
677 "type": "string" 690 "type": "string"
678 }, 691 },
679 "type": "array" 692 "type": "array"
680 } 693 }
681 }, 694 },
682 "type": "object" 695 "type": "object"
683 }, 696 },
684 "Build": { 697 "Build": {
685 "description": "A build resource in the Container Builder API.\n\nAt a high level, a Build describes where to find source code, how to build\nit (fo r example, the builder image to run on the source), and what tag to\napply to th e built image when it is pushed to Google Container Registry.", 698 "description": "A build resource in the Container Builder API.\n\nAt a high level, a Build describes where to find source code, how to build\nit (fo r example, the builder image to run on the source), and what tag to\napply to th e built image when it is pushed to Google Container Registry.\n\nFields can incl ude the following variables which will be expanded when the\nbuild is created:\n \n- $PROJECT_ID: the project ID of the build.\n- $BUILD_ID: the autogenerated ID of the build.\n- $REPO_NAME: the source repository name specified by RepoSource .\n- $BRANCH_NAME: the branch name specified by RepoSource.\n- $TAG_NAME: the ta g name specified by RepoSource.\n- $REVISION_ID or $COMMIT_SHA: the commit SHA s pecified by RepoSource or\n resolved from the specified branch or tag.",
686 "id": "Build", 699 "id": "Build",
687 "properties": { 700 "properties": {
688 "id": { 701 "id": {
689 "description": "Unique identifier of the build.\n@OutputOnly ", 702 "description": "Unique identifier of the build.\n@OutputOnly ",
690 "type": "string" 703 "type": "string"
691 }, 704 },
692 "sourceProvenance": { 705 "sourceProvenance": {
693 "$ref": "SourceProvenance", 706 "$ref": "SourceProvenance",
694 "description": "A permanent fixed identifier for source.\n@O utputOnly" 707 "description": "A permanent fixed identifier for source.\n@O utputOnly"
695 }, 708 },
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 }, 768 },
756 "logUrl": { 769 "logUrl": {
757 "description": "URL to logs for this build in Google Cloud L ogging.\n@OutputOnly", 770 "description": "URL to logs for this build in Google Cloud L ogging.\n@OutputOnly",
758 "type": "string" 771 "type": "string"
759 }, 772 },
760 "statusDetail": { 773 "statusDetail": {
761 "description": "Customer-readable message about the current status.\n@OutputOnly", 774 "description": "Customer-readable message about the current status.\n@OutputOnly",
762 "type": "string" 775 "type": "string"
763 }, 776 },
764 "images": { 777 "images": {
765 "description": "List of images expected to be built and push ed to Google Container\nRegistry. If an image is listed here and the image is no t produced by\none of the build steps, the build will fail. Any images present w hen\nthe build steps are complete will be pushed to Container Registry.", 778 "description": "A list of images to be pushed upon the succe ssful completion of all build\nsteps.\n\nThe images will be pushed using the bui lder\nservice account's credentials.\n\nThe digests of the pushed images will be stored in the Build resource's\nresults field.\n\nIf any of the images fail to be pushed, the build is marked FAILURE.",
766 "items": { 779 "items": {
767 "type": "string" 780 "type": "string"
768 }, 781 },
769 "type": "array" 782 "type": "array"
770 }, 783 },
771 "startTime": { 784 "startTime": {
772 "description": "Time at which execution of the build was sta rted.\n@OutputOnly", 785 "description": "Time at which execution of the build was sta rted.\n@OutputOnly",
773 "format": "google-datetime", 786 "format": "google-datetime",
774 "type": "string" 787 "type": "string"
775 }, 788 },
789 "buildTriggerId": {
790 "description": "The ID of the BuildTrigger that triggered th is build, if it was\ntriggered automatically.\n@OutputOnly",
791 "type": "string"
792 },
776 "logsBucket": { 793 "logsBucket": {
777 "description": "Google Cloud Storage bucket where logs shoul d be written (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/ docs/bucket-naming#requirements)).\nLogs file names will be of the format `${log s_bucket}/log-${build_id}.txt`.", 794 "description": "Google Cloud Storage bucket where logs shoul d be written (see\n[Bucket Name\nRequirements](https://cloud.google.com/storage/ docs/bucket-naming#requirements)).\nLogs file names will be of the format `${log s_bucket}/log-${build_id}.txt`.",
778 "type": "string" 795 "type": "string"
779 }, 796 },
780 "projectId": { 797 "projectId": {
781 "description": "ID of the project.\n@OutputOnly.", 798 "description": "ID of the project.\n@OutputOnly.",
782 "type": "string" 799 "type": "string"
783 } 800 }
784 }, 801 },
785 "type": "object" 802 "type": "object"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
865 }, 882 },
866 "BuildStep": { 883 "BuildStep": {
867 "description": "BuildStep describes a step to perform in the build p ipeline.", 884 "description": "BuildStep describes a step to perform in the build p ipeline.",
868 "id": "BuildStep", 885 "id": "BuildStep",
869 "properties": { 886 "properties": {
870 "id": { 887 "id": {
871 "description": "Optional unique identifier for this build st ep, used in wait_for to\nreference this build step as a dependency.", 888 "description": "Optional unique identifier for this build st ep, used in wait_for to\nreference this build step as a dependency.",
872 "type": "string" 889 "type": "string"
873 }, 890 },
874 "env": { 891 "env": {
875 "description": "Additional environment variables to set for this step's container.", 892 "description": "A list of environment variable definitions t o be used when running a step.\n\nThe elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\"\nbeing given the value \"VALUE\".",
876 "items": { 893 "items": {
877 "type": "string" 894 "type": "string"
878 }, 895 },
879 "type": "array" 896 "type": "array"
880 }, 897 },
881 "waitFor": { 898 "waitFor": {
882 "description": "The ID(s) of the step(s) that this build ste p depends on.\nThis build step will not start until all the build steps in wait_ for\nhave completed successfully. If wait_for is empty, this build step will\nst art when all previous build steps in the Build.Steps list have completed\nsucces sfully.", 899 "description": "The ID(s) of the step(s) that this build ste p depends on.\nThis build step will not start until all the build steps in wait_ for\nhave completed successfully. If wait_for is empty, this build step will\nst art when all previous build steps in the Build.Steps list have completed\nsucces sfully.",
883 "items": { 900 "items": {
884 "type": "string" 901 "type": "string"
885 }, 902 },
886 "type": "array" 903 "type": "array"
887 }, 904 },
888 "args": { 905 "args": {
889 "description": "Command-line arguments to use when running t his step's container.", 906 "description": "A list of arguments that will be presented t o the step when it is started.\n\nIf the image used to run the step's container has an entrypoint, these args\nwill be used as arguments to that entrypoint. If the image does not define\nan entrypoint, the first element in args will be used as the entrypoint,\nand the remainder will be used as arguments.",
890 "items": { 907 "items": {
891 "type": "string" 908 "type": "string"
892 }, 909 },
893 "type": "array" 910 "type": "array"
894 }, 911 },
895 "name": { 912 "name": {
896 "description": "Name of the container image to use for creat ing this stage in the\npipeline, as presented to `docker pull`.", 913 "description": "The name of the container image that will ru n this particular build step.\n\nIf the image is already available in the host's \nDocker daemon's cache, it will be run directly. If not, the host will\nattempt to pull the image first, using the builder service account's\ncredentials if ne cessary.\n\nThe Docker daemon's cache will already have the latest versions of a ll of\nthe officially supported build steps\n(https://github.com/GoogleCloudPlat form/cloud-builders). The Docker daemon\nwill also have cached many of the layer s for some popular images, like\n\"ubuntu\", \"debian\", but they will be refres hed at the time you attempt to\nuse them.\n\nIf you built an image in a previous build step, it will be stored in the\nhost's Docker daemon's cache and is avail able to use as the name for a\nlater build step.",
897 "type": "string" 914 "type": "string"
898 }, 915 },
899 "dir": { 916 "dir": {
900 "description": "Working directory (relative to project sourc e root) to use when running\nthis operation's container.", 917 "description": "Working directory (relative to project sourc e root) to use when running\nthis operation's container.",
901 "type": "string" 918 "type": "string"
902 } 919 }
903 }, 920 },
904 "type": "object" 921 "type": "object"
905 }, 922 },
906 "Empty": { 923 "Empty": {
(...skipping 15 matching lines...) Expand all
922 "items": { 939 "items": {
923 "enum": [ 940 "enum": [
924 "NONE", 941 "NONE",
925 "SHA256" 942 "SHA256"
926 ], 943 ],
927 "type": "string" 944 "type": "string"
928 }, 945 },
929 "type": "array" 946 "type": "array"
930 }, 947 },
931 "requestedVerifyOption": { 948 "requestedVerifyOption": {
932 "description": "Options for a verifiable build with details uploaded to the Analysis API.", 949 "description": "Requested verifiability options.",
933 "enum": [ 950 "enum": [
934 "NOT_VERIFIED", 951 "NOT_VERIFIED",
935 "VERIFIED" 952 "VERIFIED"
936 ], 953 ],
937 "enumDescriptions": [ 954 "enumDescriptions": [
938 "Not a verifiable build. (default)", 955 "Not a verifiable build. (default)",
939 "Verified build." 956 "Verified build."
940 ], 957 ],
941 "type": "string" 958 "type": "string"
942 } 959 }
(...skipping 16 matching lines...) Expand all
959 "type": "array" 976 "type": "array"
960 } 977 }
961 }, 978 },
962 "type": "object" 979 "type": "object"
963 } 980 }
964 }, 981 },
965 "servicePath": "", 982 "servicePath": "",
966 "title": "Google Cloud Container Builder API", 983 "title": "Google Cloud Container Builder API",
967 "version": "v1" 984 "version": "v1"
968 } 985 }
OLDNEW
« no previous file with comments | « discovery/googleapis/classroom__v1.json ('k') | discovery/googleapis/cloudresourcemanager__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698