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
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ environment
↳ update_mask
Google\Protobuf\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 = -
).
getEnvironment
Required. The environment to update.
Generated from protobuf field .google.cloud.dialogflow.v2.Environment environment = 1 [(.google.api.field_behavior) = REQUIRED];
hasEnvironment
clearEnvironment
setEnvironment
Required. The environment to update.
Generated from protobuf field .google.cloud.dialogflow.v2.Environment environment = 1 [(.google.api.field_behavior) = REQUIRED];
$this
getUpdateMask
Required. The mask to control which fields get updated.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Google\Protobuf\FieldMask|null
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. The mask to control which fields get updated.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
var
Google\Protobuf\FieldMask
$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 = -
).
Generated from protobuf field bool allow_load_to_draft_and_discard_changes = 3 [(.google.api.field_behavior) = OPTIONAL];
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 = -
).
Generated from protobuf field bool allow_load_to_draft_and_discard_changes = 3 [(.google.api.field_behavior) = OPTIONAL];
var
bool
$this