Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::UpdateEnvironmentRequest (v0.22.0)

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

#environment=

def environment=(value) -> ::Google::Cloud::Dialogflow::V2::Environment
Parameter
Returns

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
Returns