Class UpdateEnvironmentRequest (2.11.0)

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

The request message for Environments.UpdateEnvironment.

Attributes

NameDescription
environment google.cloud.dialogflow_v2.types.Environment
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 default 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 default environment (environment ID = -).