Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
Query parameters
Parameters
clientOperationId
string
For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
Request body
The request body contains an instance of ManagedZone.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-19 UTC."],[[["\u003cp\u003eThis endpoint is used to update an existing ManagedZone resource within a specified project.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made using a \u003ccode\u003ePUT\u003c/code\u003e HTTP method to the provided URL, which follows gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires two path parameters: \u003ccode\u003eproject\u003c/code\u003e to identify the project and \u003ccode\u003emanagedZone\u003c/code\u003e to specify the target managed zone by name or ID.\u003c/p\u003e\n"],["\u003cp\u003eA client-specified, unique \u003ccode\u003eclientOperationId\u003c/code\u003e string can be passed as an optional query parameter for mutating operations.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will return an \u003ccode\u003eOperation\u003c/code\u003e object, and the body of the request must contain the \u003ccode\u003eManagedZone\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Method: managedZones.update\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nUpdates an existing ManagedZone.\n\n### HTTP request\n\n`PUT https://dns.googleapis.com/dns/v1beta2/projects/{project}/managedZones/{managedZone}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [ManagedZone](/dns/docs/reference/rest/v1beta2/managedZones#ManagedZone).\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/dns/docs/reference/rest/v1beta2/managedZoneOperations#Operation).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/ndev.clouddns.readwrite`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/external/authorization-gcp)."]]