Skip to content

Commit

Permalink
feat(genomics): update the API
Browse files Browse the repository at this point in the history
#### genomics:v2alpha1
The following keys were added:
- resources.workers.resources.projects.resources.workers.methods.uploadSosReport.description
- resources.workers.resources.projects.resources.workers.methods.uploadSosReport.flatPath
- resources.workers.resources.projects.resources.workers.methods.uploadSosReport.httpMethod
- resources.workers.resources.projects.resources.workers.methods.uploadSosReport.id
- resources.workers.resources.projects.resources.workers.methods.uploadSosReport.parameterOrder
- resources.workers.resources.projects.resources.workers.methods.uploadSosReport.parameters.id.description
- resources.workers.resources.projects.resources.workers.methods.uploadSosReport.parameters.id.location
- resources.workers.resources.projects.resources.workers.methods.uploadSosReport.parameters.id.pattern
- resources.workers.resources.projects.resources.workers.methods.uploadSosReport.parameters.id.required
- resources.workers.resources.projects.resources.workers.methods.uploadSosReport.parameters.id.type
- resources.workers.resources.projects.resources.workers.methods.uploadSosReport.path
- resources.workers.resources.projects.resources.workers.methods.uploadSosReport.request.$ref
- resources.workers.resources.projects.resources.workers.methods.uploadSosReport.response.$ref
- resources.workers.resources.projects.resources.workers.methods.uploadSosReport.scopes
- schemas.HttpBody.description
- schemas.HttpBody.id
- schemas.HttpBody.properties.contentType.description
- schemas.HttpBody.properties.contentType.type
- schemas.HttpBody.properties.data.description
- schemas.HttpBody.properties.data.format
- schemas.HttpBody.properties.data.type
- schemas.HttpBody.properties.extensions.description
- schemas.HttpBody.properties.extensions.items.additionalProperties.description
- schemas.HttpBody.properties.extensions.items.additionalProperties.type
- schemas.HttpBody.properties.extensions.items.type
- schemas.HttpBody.properties.extensions.type
- schemas.HttpBody.type
- schemas.UploadSOSReportResponse.description
- schemas.UploadSOSReportResponse.id
- schemas.UploadSOSReportResponse.type
- schemas.VirtualMachine.properties.dockerCacheImages.description
- schemas.VirtualMachine.properties.dockerCacheImages.items.type
- schemas.VirtualMachine.properties.dockerCacheImages.type

The following keys were changed:
- resources.projects.resources.workers.methods.checkIn.parameters.id.description
- resources.workers.methods.checkIn.parameters.id.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jun 16, 2020
1 parent 5b9ce8e commit cb17c59
Show file tree
Hide file tree
Showing 2 changed files with 297 additions and 9 deletions.
85 changes: 82 additions & 3 deletions discovery/genomics-v2alpha1.json
Expand Up @@ -245,7 +245,7 @@
],
"parameters": {
"id": {
"description": "The worker id, assigned when it was created.",
"description": "The VM identity token for authenticating the VM instance.\nhttps://cloud.google.com/compute/docs/instances/verifying-instance-identity",
"location": "path",
"pattern": "^projects/[^/]+/workers/[^/]+$",
"required": true,
Expand Down Expand Up @@ -280,7 +280,7 @@
],
"parameters": {
"id": {
"description": "The worker id, assigned when it was created.",
"description": "The VM identity token for authenticating the VM instance.\nhttps://cloud.google.com/compute/docs/instances/verifying-instance-identity",
"location": "path",
"required": true,
"type": "string"
Expand All @@ -298,10 +298,49 @@
"https://www.googleapis.com/auth/genomics"
]
}
},
"resources": {
"projects": {
"resources": {
"workers": {
"methods": {
"uploadSosReport": {
"description": "The worker uses this method to upload SOS reports for unexpected errors.",
"flatPath": "v2alpha1/workers/projects/{projectsId}/workers/{workersId}:uploadSosReport",
"httpMethod": "POST",
"id": "genomics.workers.projects.workers.uploadSosReport",
"parameterOrder": [
"id"
],
"parameters": {
"id": {
"description": "The VM identity token for authenticating the VM instance.\nhttps://cloud.google.com/compute/docs/instances/verifying-instance-identity",
"location": "path",
"pattern": "^projects/[^/]+/workers/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2alpha1/workers/{+id}:uploadSosReport",
"request": {
"$ref": "HttpBody"
},
"response": {
"$ref": "UploadSOSReportResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/genomics"
]
}
}
}
}
}
}
}
},
"revision": "20200507",
"revision": "20200611",
"rootUrl": "https://genomics.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -700,6 +739,33 @@
},
"type": "object"
},
"HttpBody": {
"description": "Message that represents an arbitrary HTTP body. It should only be used for\npayload formats that can't be represented as JSON, such as raw binary or\nan HTML page.\n\n\nThis message can be used both in streaming and non-streaming API methods in\nthe request as well as the response.\n\nIt can be used as a top-level request field, which is convenient if one\nwants to extract parameters from either the URL or HTTP template into the\nrequest fields and also want access to the raw HTTP body.\n\nExample:\n\n message GetResourceRequest {\n // A unique request id.\n string request_id = 1;\n\n // The raw HTTP body is bound to this field.\n google.api.HttpBody http_body = 2;\n }\n\n service ResourceService {\n rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);\n rpc UpdateResource(google.api.HttpBody) returns\n (google.protobuf.Empty);\n }\n\nExample with streaming methods:\n\n service CaldavService {\n rpc GetCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n rpc UpdateCalendar(stream google.api.HttpBody)\n returns (stream google.api.HttpBody);\n }\n\nUse of this type only changes how the request and response bodies are\nhandled, all other features will continue to work unchanged.",
"id": "HttpBody",
"properties": {
"contentType": {
"description": "The HTTP Content-Type header value specifying the content type of the body.",
"type": "string"
},
"data": {
"description": "The HTTP request/response body as raw binary.",
"format": "byte",
"type": "string"
},
"extensions": {
"description": "Application specific response metadata. Must be set in the first response\nfor streaming APIs.",
"items": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ListOperationsResponse": {
"description": "The response message for Operations.ListOperations.",
"id": "ListOperationsResponse",
Expand Down Expand Up @@ -1125,6 +1191,12 @@
},
"type": "object"
},
"UploadSOSReportResponse": {
"description": "The response to the UploadSOSReport method.",
"id": "UploadSOSReportResponse",
"properties": {},
"type": "object"
},
"VirtualMachine": {
"description": "Carries information about a Compute Engine VM resource.",
"id": "VirtualMachine",
Expand Down Expand Up @@ -1156,6 +1228,13 @@
},
"type": "array"
},
"dockerCacheImages": {
"description": "The Compute Engine Disk Images to use as a Docker cache. The disks will be\nmounted into the Docker folder in a way that the images present in the\ncache will not need to be pulled. The digests of the cached images must\nmatch those of the tags used or the latest version will still be pulled.\nOnly a single image is supported.",
"items": {
"type": "string"
},
"type": "array"
},
"enableStackdriverMonitoring": {
"description": "Whether Stackdriver monitoring should be enabled on the VM.",
"type": "boolean"
Expand Down

0 comments on commit cb17c59

Please sign in to comment.