apiEndpoint property

String get apiEndpoint

Effective API endpoint base URL for this client.

Implementation

String get apiEndpoint {
  final String? loc = location?.trim();
  if (loc != null && loc.isNotEmpty) {
    return 'https://secretmanager.$loc.rep.googleapis.com';
  }
  return 'https://secretmanager.googleapis.com';
}