Class UpdateEnvironmentRequest (2.13.0)

UpdateEnvironmentRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request message for Environments.UpdateEnvironment.


Required. The environment to update.
update_mask google.protobuf.field_mask_pb2.FieldMask
Required. The mask to control which fields get updated.
allow_load_to_draft_and_discard_changes bool
Optional. This field is used to prevent accidental overwrite of the draft environment, which is an operation that cannot be undone. To confirm that the caller desires this overwrite, this field must be explicitly set to true when updating the draft environment (environment ID = -).