Request message for Documents.UpdateDocument.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#document
def document() -> ::Google::Cloud::Dialogflow::V2::Document
Returns
- (::Google::Cloud::Dialogflow::V2::Document) — Required. The document to update.
#document=
def document=(value) -> ::Google::Cloud::Dialogflow::V2::Document
Parameter
- value (::Google::Cloud::Dialogflow::V2::Document) — Required. The document to update.
Returns
- (::Google::Cloud::Dialogflow::V2::Document) — Required. The document to update.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
-
(::Google::Protobuf::FieldMask) — Optional. Not specified means
update all
. Currently, onlydisplay_name
can be updated, an InvalidArgument will be returned for attempting to update other fields.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
-
value (::Google::Protobuf::FieldMask) — Optional. Not specified means
update all
. Currently, onlydisplay_name
can be updated, an InvalidArgument will be returned for attempting to update other fields.
Returns
-
(::Google::Protobuf::FieldMask) — Optional. Not specified means
update all
. Currently, onlydisplay_name
can be updated, an InvalidArgument will be returned for attempting to update other fields.