function Resource::__construct
Same name in this branch
- 11.1.x core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::__construct()
Constructor.
Parameters
array $data {: Optional. Data for populating the Message object.
@type \Opentelemetry\Proto\Common\V1\KeyValue[]|\Google\Protobuf\Internal\RepeatedField $attributes Set of attributes that describe the resource. Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key). @type int $dropped_attributes_count dropped_attributes_count is the number of dropped attributes. If the value is 0, then no attributes were dropped. }
Overrides Message::__construct
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Resource/ V1/ Resource.php, line 49
Class
- Resource
- Resource information.
Namespace
Opentelemetry\Proto\Resource\V1Code
public function __construct($data = NULL) {
\GPBMetadata\Opentelemetry\Proto\Resource\V1\Resource::initOnce();
parent::__construct($data);
}