public sealed class UpdateEnvironmentRequest : IMessage<UpdateEnvironmentRequest>, IEquatable<UpdateEnvironmentRequest>, IDeepCloneable<UpdateEnvironmentRequest>, IBufferMessage, IMessage
The request message for [Environments.UpdateEnvironment][google.cloud.dialogflow.v2.Environments.UpdateEnvironment].
Implements
IMessage<UpdateEnvironmentRequest>, IEquatable<UpdateEnvironmentRequest>, IDeepCloneable<UpdateEnvironmentRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
UpdateEnvironmentRequest()
public UpdateEnvironmentRequest()
UpdateEnvironmentRequest(UpdateEnvironmentRequest)
public UpdateEnvironmentRequest(UpdateEnvironmentRequest other)
Parameter | |
---|---|
Name | Description |
other | UpdateEnvironmentRequest |
Properties
AllowLoadToDraftAndDiscardChanges
public bool AllowLoadToDraftAndDiscardChanges { get; set; }
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 = -
).
Property Value | |
---|---|
Type | Description |
Boolean |
Environment
public Environment Environment { get; set; }
Required. The environment to update.
Property Value | |
---|---|
Type | Description |
Environment |
UpdateMask
public FieldMask UpdateMask { get; set; }
Required. The mask to control which fields get updated.
Property Value | |
---|---|
Type | Description |
FieldMask |