The request message for EntityTypes.DeleteEntityType.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#force
def force() -> ::Boolean
Returns
-
(::Boolean) —
This field has no effect for entity type not being used. For entity types that are used by intents or pages:
- If
forceis set to false, an error will be returned with message indicating the referencing resources. - If
forceis set to true, Dialogflow will remove the entity type, as well as any references to the entity type (i.e. Page parameter of the entity type will be changed to '@sys.any' and intent parameter of the entity type will be removed).
- If
#force=
def force=(value) -> ::Boolean
Parameter
-
value (::Boolean) —
This field has no effect for entity type not being used. For entity types that are used by intents or pages:
- If
forceis set to false, an error will be returned with message indicating the referencing resources. - If
forceis set to true, Dialogflow will remove the entity type, as well as any references to the entity type (i.e. Page parameter of the entity type will be changed to '@sys.any' and intent parameter of the entity type will be removed).
- If
Returns
-
(::Boolean) —
This field has no effect for entity type not being used. For entity types that are used by intents or pages:
- If
forceis set to false, an error will be returned with message indicating the referencing resources. - If
forceis set to true, Dialogflow will remove the entity type, as well as any references to the entity type (i.e. Page parameter of the entity type will be changed to '@sys.any' and intent parameter of the entity type will be removed).
- If
#name
def name() -> ::String
Returns
-
(::String) — Required. The name of the entity type to delete.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID>.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The name of the entity type to delete.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID>.
Returns
-
(::String) — Required. The name of the entity type to delete.
Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<Entity Type ID>.