Send feedback
Class UpdateTargetRequest (2.7.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
UpdateTargetRequest ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
The request object for UpdateTarget
.
Attributes
Name
Description
update_mask
google.protobuf.field_mask_pb2.FieldMask
Required. Field mask is used to specify the fields to be
overwritten by the update in the Target
resource. The
fields specified in the update_mask are relative to the
resource, not the full request. A field will be overwritten
if it's in the mask. If the user doesn't provide a mask then
all fields are overwritten.
target
google.cloud.deploy_v1.types.Target
Required. The Target
to update.
request_id
str
Optional. A request ID to identify requests.
Specify a unique request ID so that if you must
retry your request, the server knows to ignore
the request if it has already been completed.
The server guarantees that for at least 60
minutes after the first request.
For example, consider a situation where you make
an initial request and the request times out. If
you make the request again with the same request
ID, the server can check if original operation
with the same request ID was received, and if
so, will ignore the second request. This
prevents clients from accidentally creating
duplicate commitments.
The request ID must be a valid UUID with the
exception that zero UUID is not supported
(00000000-0000-0000-0000-000000000000).
allow_missing
bool
Optional. If set to true, updating a Target
that does
not exist will result in the creation of a new Target
.
validate_only
bool
Optional. If set to true, the request is
validated and the user is provided with an
expected result, but no actual change is made.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
Need to tell us more?
[[["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-09-04 UTC."],[],[],null,["# Class UpdateTargetRequest (2.7.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.7.1 (latest)](/python/docs/reference/clouddeploy/latest/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [2.7.0](/python/docs/reference/clouddeploy/2.7.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [2.6.3](/python/docs/reference/clouddeploy/2.6.3/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [2.5.0](/python/docs/reference/clouddeploy/2.5.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [2.4.1](/python/docs/reference/clouddeploy/2.4.1/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [2.3.0](/python/docs/reference/clouddeploy/2.3.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [2.2.0](/python/docs/reference/clouddeploy/2.2.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [2.1.0](/python/docs/reference/clouddeploy/2.1.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [2.0.0](/python/docs/reference/clouddeploy/2.0.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.19.1](/python/docs/reference/clouddeploy/1.19.1/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.18.1](/python/docs/reference/clouddeploy/1.18.1/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.17.3](/python/docs/reference/clouddeploy/1.17.3/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.16.0](/python/docs/reference/clouddeploy/1.16.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.15.0](/python/docs/reference/clouddeploy/1.15.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.14.0](/python/docs/reference/clouddeploy/1.14.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.13.0](/python/docs/reference/clouddeploy/1.13.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.12.0](/python/docs/reference/clouddeploy/1.12.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.11.1](/python/docs/reference/clouddeploy/1.11.1/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.10.1](/python/docs/reference/clouddeploy/1.10.1/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.9.0](/python/docs/reference/clouddeploy/1.9.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.8.0](/python/docs/reference/clouddeploy/1.8.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.7.0](/python/docs/reference/clouddeploy/1.7.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.6.1](/python/docs/reference/clouddeploy/1.6.1/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.5.0](/python/docs/reference/clouddeploy/1.5.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.4.1](/python/docs/reference/clouddeploy/1.4.1/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.3.1](/python/docs/reference/clouddeploy/1.3.1/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.2.1](/python/docs/reference/clouddeploy/1.2.1/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.1.1](/python/docs/reference/clouddeploy/1.1.1/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [1.0.0](/python/docs/reference/clouddeploy/1.0.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [0.3.2](/python/docs/reference/clouddeploy/0.3.2/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [0.2.0](/python/docs/reference/clouddeploy/0.2.0/google.cloud.deploy_v1.types.UpdateTargetRequest)\n- [0.1.1](/python/docs/reference/clouddeploy/0.1.1/google.cloud.deploy_v1.types.UpdateTargetRequest) \n\n UpdateTargetRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nThe request object for `UpdateTarget`."]]