metricsGcpServiceAccountEmail property

  1. @Deprecated('Not supported. Member documentation may have more information.')
String? metricsGcpServiceAccountEmail
getter/setter pair

The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled.

The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount default in the namespace config-management-monitoring should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.

Optional.

Implementation

@core.Deprecated(
  'Not supported. Member documentation may have more information.',
)
core.String? metricsGcpServiceAccountEmail;