Interface DeleteWebhookRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    DeleteWebhookRequest, DeleteWebhookRequest.Builder

    public interface DeleteWebhookRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getForce()
      This field has no effect for webhook not being used.
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getName

        String getName()
         Required. The name of the webhook to delete.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/webhooks/<Webhook ID>`.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. The name of the webhook to delete.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/webhooks/<Webhook ID>`.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for name.
      • getForce

        boolean getForce()
         This field has no effect for webhook not being used.
         For webhooks that are used by pages/flows/transition route groups:
        
         *  If `force` is set to false, an error will be returned with message
            indicating the referenced resources.
         *  If `force` is set to true, Dialogflow will remove the webhook, as well
            as any references to the webhook (i.e.
            [Webhook][google.cloud.dialogflow.cx.v3beta1.Fulfillment.webhook] and
            [tag][google.cloud.dialogflow.cx.v3beta1.Fulfillment.tag]in fulfillments
            that point to this webhook will be removed).
         
        bool force = 2;
        Returns:
        The force.