UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 71.5 kB
{"openapi":"3.0.0","info":{"contact":{"name":"Google","url":"https://google.com"},"description":"Declares, configures, and deploys complex solutions on Google Cloud Platform.","title":"Google Cloud Deployment Manager","version":"v2","x-apiClientRegistration":{"url":"https://console.developers.google.com"},"x-logo":{"url":"https://cloud.google.com/_static/images/new-gcp-logo.png"},"x-origin":[{"converter":{"url":"https://github.com/lucybot/api-spec-converter","version":"2.7.18"},"format":"google","url":"https://www.googleapis.com/discovery/v1/apis/deploymentmanager/v2/rest","version":"v1"}],"x-preferred":true,"x-providerName":"googleapis.com","x-serviceName":"deploymentmanager"},"externalDocs":{"url":"https://cloud.google.com/deployment-manager/"},"tags":[{"name":"deployments"},{"name":"manifests"},{"name":"operations"},{"name":"resources"},{"name":"types"}],"paths":{"/{project}/global/deployments":{"get":{"description":"Lists all deployments for a given project.","operationId":"deploymentmanager.deployments.list","parameters":[{"description":"A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).","in":"query","name":"filter","schema":{"type":"string"}},{"description":"The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)","in":"query","name":"maxResults","schema":{"type":"integer","minimum":0,"default":500}},{"description":"Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.","in":"query","name":"orderBy","schema":{"type":"string"}},{"description":"Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"The project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/DeploymentsListResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman.readonly"]}],"tags":["deployments"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Creates a deployment and all of the resources described by the deployment manifest.","operationId":"deploymentmanager.deployments.insert","parameters":[{"description":"Sets the policy to use for creating new resources.","in":"query","name":"createPolicy","schema":{"type":"string","enum":["ACQUIRE","CREATE_OR_ACQUIRE"],"default":"CREATE_OR_ACQUIRE"}},{"description":"If set to true, creates a deployment and creates \"shell\" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the update() method or you can use the cancelPreview() method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.","in":"query","name":"preview","schema":{"type":"boolean"}},{"description":"The project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/Deployment"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]}],"tags":["deployments"]}},"/{project}/global/deployments/{deployment}":{"delete":{"description":"Deletes a deployment and all of the resources in the deployment.","operationId":"deploymentmanager.deployments.delete","parameters":[{"description":"Sets the policy to use for deleting resources.","in":"query","name":"deletePolicy","schema":{"type":"string","enum":["ABANDON","DELETE"],"default":"DELETE"}},{"description":"The name of the deployment for this request.","in":"path","name":"deployment","required":true,"schema":{"type":"string"}},{"description":"The project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]}],"tags":["deployments"]},"get":{"description":"Gets information about a specific deployment.","operationId":"deploymentmanager.deployments.get","parameters":[{"description":"The name of the deployment for this request.","in":"path","name":"deployment","required":true,"schema":{"type":"string"}},{"description":"The project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Deployment"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman.readonly"]}],"tags":["deployments"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"patch":{"description":"Updates a deployment and all of the resources described by the deployment manifest. This method supports patch semantics.","operationId":"deploymentmanager.deployments.patch","parameters":[{"description":"Sets the policy to use for creating new resources.","in":"query","name":"createPolicy","schema":{"type":"string","enum":["ACQUIRE","CREATE_OR_ACQUIRE"],"default":"CREATE_OR_ACQUIRE"}},{"description":"Sets the policy to use for deleting resources.","in":"query","name":"deletePolicy","schema":{"type":"string","enum":["ABANDON","DELETE"],"default":"DELETE"}},{"description":"The name of the deployment for this request.","in":"path","name":"deployment","required":true,"schema":{"type":"string"}},{"description":"If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.","in":"query","name":"preview","schema":{"type":"boolean","default":false}},{"description":"The project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/Deployment"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]}],"tags":["deployments"]},"put":{"description":"Updates a deployment and all of the resources described by the deployment manifest.","operationId":"deploymentmanager.deployments.update","parameters":[{"description":"Sets the policy to use for creating new resources.","in":"query","name":"createPolicy","schema":{"type":"string","enum":["ACQUIRE","CREATE_OR_ACQUIRE"],"default":"CREATE_OR_ACQUIRE"}},{"description":"Sets the policy to use for deleting resources.","in":"query","name":"deletePolicy","schema":{"type":"string","enum":["ABANDON","DELETE"],"default":"DELETE"}},{"description":"The name of the deployment for this request.","in":"path","name":"deployment","required":true,"schema":{"type":"string"}},{"description":"If set to true, updates the deployment and creates and updates the \"shell\" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.","in":"query","name":"preview","schema":{"type":"boolean","default":false}},{"description":"The project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"requestBody":{"$ref":"#/components/requestBodies/Deployment"},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]}],"tags":["deployments"]}},"/{project}/global/deployments/{deployment}/cancelPreview":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Cancels and removes the preview currently associated with the deployment.","operationId":"deploymentmanager.deployments.cancelPreview","parameters":[{"description":"The name of the deployment for this request.","in":"path","name":"deployment","required":true,"schema":{"type":"string"}},{"description":"The project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentsCancelPreviewRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]}],"tags":["deployments"]}},"/{project}/global/deployments/{deployment}/manifests":{"get":{"description":"Lists all manifests for a given deployment.","operationId":"deploymentmanager.manifests.list","parameters":[{"description":"The name of the deployment for this request.","in":"path","name":"deployment","required":true,"schema":{"type":"string"}},{"description":"A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).","in":"query","name":"filter","schema":{"type":"string"}},{"description":"The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)","in":"query","name":"maxResults","schema":{"type":"integer","minimum":0,"default":500}},{"description":"Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.","in":"query","name":"orderBy","schema":{"type":"string"}},{"description":"Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"The project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ManifestsListResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman.readonly"]}],"tags":["manifests"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/{project}/global/deployments/{deployment}/manifests/{manifest}":{"get":{"description":"Gets information about a specific manifest.","operationId":"deploymentmanager.manifests.get","parameters":[{"description":"The name of the deployment for this request.","in":"path","name":"deployment","required":true,"schema":{"type":"string"}},{"description":"The name of the manifest for this request.","in":"path","name":"manifest","required":true,"schema":{"type":"string"}},{"description":"The project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Manifest"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman.readonly"]}],"tags":["manifests"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/{project}/global/deployments/{deployment}/resources":{"get":{"description":"Lists all resources in a given deployment.","operationId":"deploymentmanager.resources.list","parameters":[{"description":"The name of the deployment for this request.","in":"path","name":"deployment","required":true,"schema":{"type":"string"}},{"description":"A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).","in":"query","name":"filter","schema":{"type":"string"}},{"description":"The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)","in":"query","name":"maxResults","schema":{"type":"integer","minimum":0,"default":500}},{"description":"Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.","in":"query","name":"orderBy","schema":{"type":"string"}},{"description":"Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"The project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResourcesListResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman.readonly"]}],"tags":["resources"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/{project}/global/deployments/{deployment}/resources/{resource}":{"get":{"description":"Gets information about a single resource.","operationId":"deploymentmanager.resources.get","parameters":[{"description":"The name of the deployment for this request.","in":"path","name":"deployment","required":true,"schema":{"type":"string"}},{"description":"The project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"The name of the resource for this request.","in":"path","name":"resource","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Resource"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman.readonly"]}],"tags":["resources"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/{project}/global/deployments/{deployment}/stop":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.","operationId":"deploymentmanager.deployments.stop","parameters":[{"description":"The name of the deployment for this request.","in":"path","name":"deployment","required":true,"schema":{"type":"string"}},{"description":"The project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentsStopRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]}],"tags":["deployments"]}},"/{project}/global/deployments/{resource}/getIamPolicy":{"get":{"description":"Gets the access control policy for a resource. May be empty if no such policy or resource exists.","operationId":"deploymentmanager.deployments.getIamPolicy","parameters":[{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Name or id of the resource for this request.","in":"path","name":"resource","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Policy"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]}],"tags":["deployments"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/{project}/global/deployments/{resource}/setIamPolicy":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Sets the access control policy on the specified resource. Replaces any existing policy.","operationId":"deploymentmanager.deployments.setIamPolicy","parameters":[{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Name or id of the resource for this request.","in":"path","name":"resource","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GlobalSetPolicyRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Policy"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]}],"tags":["deployments"]}},"/{project}/global/deployments/{resource}/testIamPermissions":{"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}],"post":{"description":"Returns permissions that a caller has on the specified resource.","operationId":"deploymentmanager.deployments.testIamPermissions","parameters":[{"description":"Project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}},{"description":"Name or id of the resource for this request.","in":"path","name":"resource","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestPermissionsRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TestPermissionsResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]}],"tags":["deployments"]}},"/{project}/global/operations":{"get":{"description":"Lists all operations for a project.","operationId":"deploymentmanager.operations.list","parameters":[{"description":"A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).","in":"query","name":"filter","schema":{"type":"string"}},{"description":"The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)","in":"query","name":"maxResults","schema":{"type":"integer","minimum":0,"default":500}},{"description":"Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.","in":"query","name":"orderBy","schema":{"type":"string"}},{"description":"Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"The project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/OperationsListResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman.readonly"]}],"tags":["operations"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/{project}/global/operations/{operation}":{"get":{"description":"Gets information about a specific operation.","operationId":"deploymentmanager.operations.get","parameters":[{"description":"The name of the operation for this request.","in":"path","name":"operation","required":true,"schema":{"type":"string"}},{"description":"The project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Operation"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman.readonly"]}],"tags":["operations"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]},"/{project}/global/types":{"get":{"description":"Lists all resource types for Deployment Manager.","operationId":"deploymentmanager.types.list","parameters":[{"description":"A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.\n\nFor example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.\n\nYou can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.\n\nTo filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true).","in":"query","name":"filter","schema":{"type":"string"}},{"description":"The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)","in":"query","name":"maxResults","schema":{"type":"integer","minimum":0,"default":500}},{"description":"Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.\n\nYou can also sort results in descending order based on the creation timestamp using orderBy=\"creationTimestamp desc\". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.\n\nCurrently, only sorting by name or creationTimestamp desc is supported.","in":"query","name":"orderBy","schema":{"type":"string"}},{"description":"Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.","in":"query","name":"pageToken","schema":{"type":"string"}},{"description":"The project ID for this request.","in":"path","name":"project","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TypesListResponse"}}}}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"]},{"Oauth2":["https://www.googleapis.com/auth/cloud-platform.read-only"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman"]},{"Oauth2":["https://www.googleapis.com/auth/ndev.cloudman.readonly"]}],"tags":["types"]},"parameters":[{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/userIp"}]}},"servers":[{"url":"https://www.googleapis.com/deploymentmanager/v2/projects"}],"components":{"parameters":{"alt":{"description":"Data format for the response.","in":"query","name":"alt","schema":{"type":"string","enum":["json"],"default":"json"}},"fields":{"description":"Selector specifying which fields to include in a partial response.","in":"query","name":"fields","schema":{"type":"string"}},"key":{"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.","in":"query","name":"key","schema":{"type":"string"}},"oauth_token":{"description":"OAuth 2.0 token for the current user.","in":"query","name":"oauth_token","schema":{"type":"string"}},"prettyPrint":{"description":"Returns response with indentations and line breaks.","in":"query","name":"prettyPrint","schema":{"type":"boolean","default":true}},"quotaUser":{"description":"An opaque string that represents a user for quota purposes. Must not exceed 40 characters.","in":"query","name":"quotaUser","schema":{"type":"string"}},"userIp":{"description":"Deprecated. Please use quotaUser instead.","in":"query","name":"userIp","schema":{"type":"string"}}},"requestBodies":{"Deployment":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deployment"}}}}},"securitySchemes":{"Oauth2":{"description":"Oauth 2.0 authentication","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://accounts.google.com/o/oauth2/auth","scopes":{"https://www.googleapis.com/auth/cloud-platform":"View and manage your data across Google Cloud Platform services","https://www.googleapis.com/auth/cloud-platform.read-only":"View your data across Google Cloud Platform services","https://www.googleapis.com/auth/ndev.cloudman":"View and manage your Google Cloud Platform management resources and deployment status information","https://www.googleapis.com/auth/ndev.cloudman.readonly":"View your Google Cloud Platform management resources and deployment status information"}}}}},"schemas":{"AuditConfig":{"description":"Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n{ \"audit_configs\": [ { \"service\": \"allServices\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", }, { \"log_type\": \"ADMIN_READ\", } ] }, { \"service\": \"fooservice.googleapis.com\" \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:bar@gmail.com\" ] } ] } ] }\n\nFor fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.com from DATA_WRITE logging.","properties":{"auditLogConfigs":{"description":"The configuration for logging of each type of permission.","items":{"$ref":"#/components/schemas/AuditLogConfig"},"type":"array"},"exemptedMembers":{"description":"","items":{"type":"string"},"type":"array"},"service":{"description":"Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.","type":"string"}},"type":"object"},"AuditLogConfig":{"description":"Provides the configuration for logging a type of permissions. Example:\n\n{ \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:foo@gmail.com\" ] }, { \"log_type\": \"DATA_WRITE\", } ] }\n\nThis enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.com from DATA_READ logging.","properties":{"exemptedMembers":{"description":"Specifies the identities that do not cause logging for this type of permission. Follows the same format of [Binding.members][].","items":{"type":"string"},"type":"array"},"logType":{"description":"The log type that this config enables.","type":"string"}},"type":"object"},"AuthorizationLoggingOptions":{"description":"Authorization-related information used by Cloud Audit Logging.","properties":{"permissionType":{"description":"The type of the permission that was checked.","type":"string"}},"type":"object"},"Binding":{"description":"Associates `members` with a `role`.","properties":{"condition":{"$ref":"#/components/schemas/Expr"},"members":{"description":"Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values:\n\n* `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` .\n\n\n\n* `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.\n\n\n\n* `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.","items":{"type":"string"},"type":"array"},"role":{"description":"Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.","type":"string"}},"type":"object"},"Condition":{"description":"A condition to be met.","properties":{"iam":{"description":"Trusted attributes supplied by the IAM system.","type":"string"},"op":{"description":"An operator to apply the subject with.","type":"string"},"svc":{"description":"Trusted attributes discharged by the service.","type":"string"},"sys":{"description":"Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.","type":"string"},"value":{"description":"DEPRECATED. Use 'values' instead.","type":"string"},"values":{"description":"The objects of the condition. This is mutually exclusive with 'value'.","items":{"type":"string"},"type":"array"}},"type":"object"},"ConfigFile":{"description":"","properties":{"content":{"description":"The contents of the file.","type":"string"}},"type":"object"},"Deployment":{"description":"","properties":{"description":{"description":"An optional user-provided description of the deployment.","type":"string"},"fingerprint":{"description":"Provides a fingerprint to use in requests to modify a deployment, such as update(), stop(), and cancelPreview() requests. A fingerprint is a randomly generated value that must be provided with update(), stop(), and cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time.\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a get() request to a deployment.","format":"byte","type":"string"},"id":{"format":"uint64","type":"string"},"insertTime":{"description":"Output only. Creation timestamp in RFC3339 text format.","type":"string"},"labels":{"description":"Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?","items":{"$ref":"#/components/schemas/DeploymentLabelEntry"},"type":"array"},"manifest":{"description":"Output only. URL of the manifest representing the last manifest that was successfully deployed.","type":"string"},"name":{"description":"Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.","type":"string"},"operation":{"$ref":"#/components/schemas/Operation"},"selfLink":{"description":"Output only. Server defined URL for the resource.","type":"string"},"target":{"$ref":"#/components/schemas/TargetConfiguration"},"update":{"$ref":"#/components/schemas/DeploymentUpdate"},"updateTime":{"description":"Output only. Update timestamp in RFC3339 text format.","type":"string"}},"type":"object"},"DeploymentLabelEntry":{"properties":{"key":{"type":"string"},"value":{"type":"string"}},"type":"object"},"DeploymentUpdate":{"description":"","properties":{"description":{"description":"Output only. An optional user-provided description of the deployment after the current update has been applied.","type":"string"},"labels":{"description":"Output only. Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?","items":{"$ref":"#/components/schemas/DeploymentUpdateLabelEntry"},"type":"array"},"manifest":{"description":"Output only. URL of the manifest representing the update configuration of this deployment.","type":"string"}},"type":"object"},"DeploymentUpdateLabelEntry":{"properties":{"key":{"type":"string"},"value":{"type":"string"}},"type":"object"},"DeploymentsCancelPreviewRequest":{"description":"","properties":{"fingerprint":{"description":"Specifies a fingerprint for cancelPreview() requests. A fingerprint is a randomly generated value that must be provided in cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.","format":"byte","type":"string"}},"type":"object"},"DeploymentsListResponse":{"description":"A response containing a partial list of deployments and a page token used to build the next request if the request has been truncated.","properties":{"deployments":{"description":"Output only. The deployments contained in this response.","items":{"$ref":"#/components/schemas/Deployment"},"type":"array"},"nextPageToken":{"description":"Output only. A token used to continue a truncated list request.","type":"string"}},"type":"object"},"DeploymentsStopRequest":{"description":"","properties":{"fingerprint":{"description":"Specifies a fingerprint for stop() requests. A fingerprint is a randomly generated value that must be provided in stop() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to stop an ongoing update request, this would prevent a collision).\n\nThe fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.","format":"byte","type":"string"}},"type":"object"},"Expr":{"description":"Represents an expression text. Example:\n\ntitle: \"User account presence\" description: \"Determines whether the request has a user account\" expression: \"size(request.user) > 0\"","properties":{"description":{"description":"An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.","type":"string"},"expression":{"description":"Textual representation of an expression in Common Expression Language syntax.\n\nThe application context of the containing message determines which well-known feature set of CEL is supported.","type":"string"},"location":{"description":"An optional string indicating the location of the expression for error reporting, e.g. a file name and a position in the file.","type":"string"},"title":{"description":"An optional title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.","type":"string"}},"type":"object"},"GlobalSetPolicyRequest":{"properties":{"bindings":{"description":"Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.","items":{"$ref":"#/components/schemas/Binding"},"type":"array"},"etag":{"description":"Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.","format":"byte","type":"string"},"policy":{"$ref":"#/components/schemas/Policy"}},"type":"object"},"ImportFile":{"description":"","properties":{"content":{"description":"The contents of the file.","type":"string"},"name":{"description":"The name of the file.","type":"string"}},"type":"object"},"LogConfig":{"description":"Specifies what kind of log the caller must write","properties":{"cloudAudit":{"$ref":"#/components/schemas/LogConfigCloudAuditOptions"},"counter":{"$ref":"#/components/schemas/LogConfigCounterOptions"},"dataAccess":{"$ref":"#/components/schemas/LogConfigDataAccessOptions"}},"type":"object"},"LogConfigCloudAuditOptions":{"description":"Write a Cloud Audit log","properties":{"authorizationLoggingOptions":{"$ref":"#/components/schemas/AuthorizationLoggin