Upgrade to latest API versions + code regen

This commit is contained in:
Sebastian Thiel
2017-12-12 14:30:54 +01:00
parent dc30217711
commit 357a0e650e
776 changed files with 356718 additions and 104442 deletions

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/_YIg1ZU-z6xEn8qUWJtIDhiIaWM\"",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/YBhevoUFAfVyqSyxTJkhAWUX4fg\"",
"discoveryVersion": "v1",
"id": "deploymentmanager:alpha",
"name": "deploymentmanager",
"canonicalName": "Deployment Manager Alpha",
"version": "alpha",
"revision": "20170925",
"revision": "20171201",
"title": "Google Cloud Deployment Manager Alpha API",
"description": "The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.",
"ownerDomain": "google.com",
@@ -86,6 +86,21 @@
}
},
"schemas": {
"AsyncOptions": {
"id": "AsyncOptions",
"type": "object",
"description": "Async options that determine when a resource should finish.",
"properties": {
"methodMatch": {
"type": "string",
"description": "Method regex where this policy will apply."
},
"pollingOptions": {
"$ref": "PollingOptions",
"description": "Deployment manager will poll instances for this API resource setting a RUNNING state, and blocking until polling conditions tell whether the resource is completed or failed."
}
}
},
"AuditConfig": {
"id": "AuditConfig",
"type": "object",
@@ -217,7 +232,7 @@
},
"name": {
"type": "string",
"description": "Name of the composite type."
"description": "Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]{0,61}[a-z0-9])?."
},
"operation": {
"$ref": "Operation",
@@ -527,6 +542,21 @@
}
}
},
"Diagnostic": {
"id": "Diagnostic",
"type": "object",
"description": "",
"properties": {
"field": {
"type": "string",
"description": "JsonPath expression on the resource that if non empty, indicates that this field needs to be extracted as a diagnostic."
},
"level": {
"type": "string",
"description": "Level to record this diagnostic."
}
}
},
"Expr": {
"id": "Expr",
"type": "object",
@@ -712,7 +742,7 @@
"Operation": {
"id": "Operation",
"type": "object",
"description": "An Operation resource, used to manage asynchronous API requests.",
"description": "An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==)",
"properties": {
"clientOperationId": {
"type": "string",
@@ -889,6 +919,13 @@
"type": "object",
"description": "Options allows customized resource handling by Deployment Manager.",
"properties": {
"asyncOptions": {
"type": "array",
"description": "Options regarding how to thread async requests.",
"items": {
"$ref": "AsyncOptions"
}
},
"inputMappings": {
"type": "array",
"description": "The mappings that apply for requests.",
@@ -948,6 +985,36 @@
}
}
},
"PollingOptions": {
"id": "PollingOptions",
"type": "object",
"description": "",
"properties": {
"diagnostics": {
"type": "array",
"description": "An array of diagnostics to be collected by Deployment Manager, these diagnostics will be displayed to the user.",
"items": {
"$ref": "Diagnostic"
}
},
"failCondition": {
"type": "string",
"description": "JsonPath expression that determines if the request failed."
},
"finishCondition": {
"type": "string",
"description": "JsonPath expression that determines if the request is completed."
},
"pollingLink": {
"type": "string",
"description": "JsonPath expression that evaluates to string, it indicates where to poll."
},
"targetLink": {
"type": "string",
"description": "JsonPath expression, after polling is completed, indicates where to fetch the resource."
}
}
},
"Resource": {
"id": "Resource",
"type": "object",
@@ -986,6 +1053,13 @@
"type": "string",
"description": "Output only. The current properties of the resource before any references have been filled in. Returned as serialized YAML."
},
"runtimePolicies": {
"type": "array",
"description": "Output only. In case this is an action, it will show the runtimePolicies on which this action will run in the deployment",
"items": {
"type": "string"
}
},
"type": {
"type": "string",
"description": "Output only. The type of the resource, for example compute.v1.instance, or cloudfunctions.v1beta1.function."
@@ -1105,6 +1179,13 @@
"type": "string",
"description": "Output only. The set of updated properties for this resource, before references are expanded. Returned as serialized YAML."
},
"runtimePolicies": {
"type": "array",
"description": "Output only. In case this is an action, it will show the runtimePolicies that this action will have after updating the deployment.",
"items": {
"type": "string"
}
},
"state": {
"type": "string",
"description": "Output only. The state of the resource."
@@ -1258,6 +1339,10 @@
"type": "string",
"description": "Which interpreter (python or jinja) should be used during expansion."
},
"mainTemplate": {
"type": "string",
"description": "The filename of the mainTemplate"
},
"schema": {
"type": "string",
"description": "The contents of the template schema."
@@ -1553,7 +1638,7 @@
"type": "string",
"description": "The name of the type for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?",
"location": "path"
},
"project": {
@@ -1586,7 +1671,7 @@
"type": "string",
"description": "The name of the composite type for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?",
"location": "path"
},
"project": {
@@ -1699,7 +1784,7 @@
"type": "string",
"description": "The name of the composite type for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?",
"location": "path"
},
"project": {
@@ -1735,7 +1820,7 @@
"type": "string",
"description": "The name of the composite type for this request.",
"required": true,
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"pattern": "[a-z](?:[-a-z0-9_.]{0,61}[a-z0-9])?",
"location": "path"
},
"project": {