role property
String?
role
The cloud role to attach to telemetry items.
Implementation
String? get role => _contextMap[_roleKey] as String?;
Setting will change the cloud role attached to telemetry items submitted with this context.
This is a convenience for setting the ai.cloud.role
key on TelemetryContext.properties.
Implementation
set role(String? value) => _contextMap.setOrRemove(_roleKey, value);