O Cloud Deployment Manager vai chegar ao fim do suporte em 31 de dezembro de 2025. Se você usa o Deployment Manager, migre para o Infrastructure Manager ou uma tecnologia de implantação alternativa até 31 de dezembro de 2025 para garantir que seus serviços continuem sem interrupções.
Lista todas as implantações de um determinado projeto.
Faça o teste agora.
Solicitação
Solicitação HTTP
GET https://www.googleapis.com/deploymentmanager/v2beta1/projects/project/global/deployments
Parâmetros
Nome do parâmetro
Valor
Descrição
Parâmetros de caminho
project
string
Código de projeto da solicitação.
Parâmetros de consulta opcionais
filter
string
Uma expressão regular para filtrar os recursos listados.
maxResults
integer
Contagem máxima de resultados a serem retornados.
Os valores aceitáveis são de 0 a 100, inclusive.
(Padrão: 50)
pageToken
string
Especifica um nextPageToken retornado por uma solicitação de lista anterior. Esse
token pode ser usado para solicitar a próxima página de resultados de uma solicitação
de lista anterior.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-03-04 UTC."],[[["\u003cp\u003eThis API version is deprecated, and users should use the latest API version instead.\u003c/p\u003e\n"],["\u003cp\u003eThis request lists all deployments for a given project and requires authorization.\u003c/p\u003e\n"],["\u003cp\u003eThe request method is a GET request to the specified URL, with the project ID as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters include \u003ccode\u003efilter\u003c/code\u003e, \u003ccode\u003emaxResults\u003c/code\u003e, and \u003ccode\u003epageToken\u003c/code\u003e for filtering, controlling result counts, and requesting additional pages.\u003c/p\u003e\n"],["\u003cp\u003eThe response body will include a list of deployments and a \u003ccode\u003enextPageToken\u003c/code\u003e for continuing a truncated list if it is returned.\u003c/p\u003e\n"]]],[],null,["# Deployments: list\n\n**Caution:** This is a **deprecated** version of the Deployment Manager API. Please use the [latest API version](/deployment-manager/latest) instead.\n\n\n**Requires [authorization](#auth)**\n\nLists all deployments for a given project.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET https://www.googleapis.com/deploymentmanager/v2beta1/projects/project/global/deployments\n```\n\n### Parameters\n\n### Authorization\n\nThis request requires authorization with at least one of the following scopes ([read more about authentication and authorization](/deployment-manager/docs/reference/latest/authorization)).\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```objective-c\n{\n \"deployments\": [\n deployments Resource\n ],\n \"nextPageToken\": string\n}\n```\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response.\nAlternatively, try the\n[standalone\nExplorer](https://developers.google.com/apis-explorer/#p/deploymentmanager/v2beta1/deploymentmanager.deployments.list)."]]