dataApiAccess property

String? dataApiAccess
getter/setter pair

Controls whether the Data API is enabled for this instance.

When enabled, this allows authorized users to connect to the instance from the public internet using the executeSql API, even for private IP instances. If this is not specified, the data API is enabled by default for Google internal services like AlloyDB Studio. Disable it explicitly to disallow Google internal services as well.

Optional. Possible string values are:

  • "DEFAULT_DATA_API_ENABLED_FOR_GOOGLE_CLOUD_SERVICES" : DEFAULT_DATA_API_ENABLED_FOR_GOOGLE_CLOUD_SERVICES is a default value that allows Google internal services like AlloyDB Studio to access the instance.
  • "DISABLED" : Data API access is disabled for this instance.
  • "ENABLED" : Data API access is enabled for this instance. For private IP instances, this allows authorized users to access the instance from the public internet using the ExecuteSql API.

Implementation

core.String? dataApiAccess;