Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::UpdateDocumentRequest (v0.16.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::UpdateDocumentRequest.

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

#document=

def document=(value) -> ::Google::Cloud::Dialogflow::V2::Document
Parameter
Returns

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns
  • (::Google::Protobuf::FieldMask) — Optional. Not specified means update all. Currently, only display_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, only display_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, only display_name can be updated, an InvalidArgument will be returned for attempting to update other fields.