Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::UpdateEnvironmentRequest.
The request message for Environments.UpdateEnvironment.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allow_load_to_draft_and_discard_changes
def allow_load_to_draft_and_discard_changes() -> ::Boolean
Returns
-
(::Boolean) — 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 =
-
).
#allow_load_to_draft_and_discard_changes=
def allow_load_to_draft_and_discard_changes=(value) -> ::Boolean
Parameter
-
value (::Boolean) — 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 =
-
).
Returns
-
(::Boolean) — 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 =
-
).
#environment
def environment() -> ::Google::Cloud::Dialogflow::V2::Environment
Returns
- (::Google::Cloud::Dialogflow::V2::Environment) — Required. The environment to update.
#environment=
def environment=(value) -> ::Google::Cloud::Dialogflow::V2::Environment
Parameter
- value (::Google::Cloud::Dialogflow::V2::Environment) — Required. The environment to update.
Returns
- (::Google::Cloud::Dialogflow::V2::Environment) — Required. The environment to update.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Required. The mask to control which fields get updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Required. The mask to control which fields get updated.
Returns
- (::Google::Protobuf::FieldMask) — Required. The mask to control which fields get updated.