Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class UpdateEnvironmentRequest.
The request message for Environments.UpdateEnvironment .
Generated from protobuf message google.cloud.dialogflow.v2.UpdateEnvironmentRequest
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ environment
↳ update_mask
↳ 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 = -
).
getEnvironment
Required. The environment to update.
hasEnvironment
clearEnvironment
setEnvironment
Required. The environment to update.
$this
getUpdateMask
Required. The mask to control which fields get updated.
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. The mask to control which fields get updated.
$this
getAllowLoadToDraftAndDiscardChanges
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 = -
).
bool
setAllowLoadToDraftAndDiscardChanges
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 = -
).
var
bool
$this