Builds the OTel resource describing a Google Cloud deployment.
Applies layered precedence: common resource, Agent Runtime resource, OTel environment detector, GCP detector, and Agent Registry URN enrichment.
Optional
Optional project ID. Falls back to GOOGLE_CLOUD_PROJECT or ADC.
Detected Resource object.
Builds the OTel resource describing a Google Cloud deployment.
Applies layered precedence: common resource, Agent Runtime resource, OTel environment detector, GCP detector, and Agent Registry URN enrichment.