Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::UpdateContextRequest.
The request message for Contexts.UpdateContext.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#context
def context() -> ::Google::Cloud::Dialogflow::V2::Context
Returns
- (::Google::Cloud::Dialogflow::V2::Context) — Required. The context to update.
#context=
def context=(value) -> ::Google::Cloud::Dialogflow::V2::Context
Parameter
- value (::Google::Cloud::Dialogflow::V2::Context) — Required. The context to update.
Returns
- (::Google::Cloud::Dialogflow::V2::Context) — Required. The context to update.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Optional. The mask to control which fields get updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Optional. The mask to control which fields get updated.
Returns
- (::Google::Protobuf::FieldMask) — Optional. The mask to control which fields get updated.