resource property

MonitoredResource? resource
getter/setter pair

A default monitored resource object that is assigned to all log entries in entries that do not specify a value for resource.

Example: { "type": "gce_instance", "labels": { "zone": "us-central1-a", "instance_id": "00000000000000000000" }} See LogEntry.

Optional.

Implementation

MonitoredResource? resource;