syntax = "proto3";

package com.wixpress.appservice.api.upstream.com.wixpress.cloud.externaldatabasespi.v1;

import "google/api/annotations.proto";
import "google/protobuf/wrappers.proto";
import "wix/api/entity.proto";
import "wix/api/validations.proto";
import "wix/api/annotations.proto";
import "wix/spi/definitions.proto";
import "wix/common/spi.proto";

message ExternalDatabaseSpiConfig {
  option (.wix.api.decomposite_of) = "com.wixpress.cloud.externaldatabasespi.v1.ExternalDatabaseSpiConfig";
  // The URI where the service provider is deployed.
  .wix.common.spi.SpiBaseUri uri_config = 1;

  // The namespace of the external database. This can be used to access collections within the database, for example `namespace/collectionId`.
  string namespace = 2;

  // Indicates if database is managed by WIX.
  google.protobuf.BoolValue database_managed_by_wix = 3 [(wix.api.field_exposure) = PRIVATE];
}