viam.gen.opentelemetry.proto.resource.v1.resource_pb2 ===================================================== .. py:module:: viam.gen.opentelemetry.proto.resource.v1.resource_pb2 .. autoapi-nested-parse:: @generated by mypy-protobuf. Do not edit manually! isort:skip_file Copyright 2019, OpenTelemetry Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Attributes ---------- .. autoapisummary:: viam.gen.opentelemetry.proto.resource.v1.resource_pb2.DESCRIPTOR viam.gen.opentelemetry.proto.resource.v1.resource_pb2.global___Resource Classes ------- .. autoapisummary:: viam.gen.opentelemetry.proto.resource.v1.resource_pb2.Resource Module Contents --------------- .. py:data:: DESCRIPTOR :type: google.protobuf.descriptor.FileDescriptor .. py:class:: Resource(*, attributes: collections.abc.Iterable[viam.gen.opentelemetry.proto.common.v1.common_pb2.KeyValue] | None = ..., dropped_attributes_count: int = ..., entity_refs: collections.abc.Iterable[viam.gen.opentelemetry.proto.common.v1.common_pb2.EntityRef] | None = ...) Bases: :py:obj:`google.protobuf.message.Message` Resource information. .. py:attribute:: dropped_attributes_count :type: int The number of dropped attributes. If the value is 0, then no attributes were dropped. .. py:property:: attributes :type: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[viam.gen.opentelemetry.proto.common.v1.common_pb2.KeyValue] 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). The behavior of software that receives duplicated keys can be unpredictable. .. py:property:: entity_refs :type: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[viam.gen.opentelemetry.proto.common.v1.common_pb2.EntityRef] Set of entities that participate in this Resource. Note: keys in the references MUST exist in attributes of this message. Status: [Development] .. py:data:: global___Resource