(::Google::Protobuf::Map{::String => ::String}) — Zero or more labeled fields which identify the part of the job this
metric is associated with, such as the name of a step or collection.
For example, built-in counters associated with steps will have
context['step'] =
value (::Google::Protobuf::Map{::String => ::String}) — Zero or more labeled fields which identify the part of the job this
metric is associated with, such as the name of a step or collection.
For example, built-in counters associated with steps will have
context['step'] =
Returns
(::Google::Protobuf::Map{::String => ::String}) — Zero or more labeled fields which identify the part of the job this
metric is associated with, such as the name of a step or collection.
For example, built-in counters associated with steps will have
context['step'] =
#name
defname()->::String
Returns
(::String) — Worker-defined metric name.
#name=
defname=(value)->::String
Parameter
value (::String) — Worker-defined metric name.
Returns
(::String) — Worker-defined metric name.
#origin
deforigin()->::String
Returns
(::String) — Origin (namespace) of metric name. May be blank for user-define metrics;
will be "dataflow" for metrics defined by the Dataflow service or SDK.
#origin=
deforigin=(value)->::String
Parameter
value (::String) — Origin (namespace) of metric name. May be blank for user-define metrics;
will be "dataflow" for metrics defined by the Dataflow service or SDK.
Returns
(::String) — Origin (namespace) of metric name. May be blank for user-define metrics;
will be "dataflow" for metrics defined by the Dataflow service or SDK.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Dataflow V1beta3 API - Class Google::Cloud::Dataflow::V1beta3::MetricStructuredName (v0.13.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.13.1 (latest)](/ruby/docs/reference/google-cloud-dataflow-v1beta3/latest/Google-Cloud-Dataflow-V1beta3-MetricStructuredName)\n- [0.13.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.13.0/Google-Cloud-Dataflow-V1beta3-MetricStructuredName)\n- [0.12.1](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.12.1/Google-Cloud-Dataflow-V1beta3-MetricStructuredName)\n- [0.11.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.11.0/Google-Cloud-Dataflow-V1beta3-MetricStructuredName)\n- [0.10.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.10.0/Google-Cloud-Dataflow-V1beta3-MetricStructuredName)\n- [0.9.1](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.9.1/Google-Cloud-Dataflow-V1beta3-MetricStructuredName)\n- [0.8.2](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.8.2/Google-Cloud-Dataflow-V1beta3-MetricStructuredName)\n- [0.7.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.7.0/Google-Cloud-Dataflow-V1beta3-MetricStructuredName)\n- [0.6.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.6.0/Google-Cloud-Dataflow-V1beta3-MetricStructuredName)\n- [0.5.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.5.0/Google-Cloud-Dataflow-V1beta3-MetricStructuredName)\n- [0.4.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.4.0/Google-Cloud-Dataflow-V1beta3-MetricStructuredName)\n- [0.3.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.3.0/Google-Cloud-Dataflow-V1beta3-MetricStructuredName)\n- [0.2.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.2.0/Google-Cloud-Dataflow-V1beta3-MetricStructuredName)\n- [0.1.4](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.1.4/Google-Cloud-Dataflow-V1beta3-MetricStructuredName) \nReference documentation and code samples for the Dataflow V1beta3 API class Google::Cloud::Dataflow::V1beta3::MetricStructuredName.\n\nIdentifies a metric, by describing the source which generated the\nmetric. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #context\n\n def context() -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Zero or more labeled fields which identify the part of the job this metric is associated with, such as the name of a step or collection.\n\n For example, built-in counters associated with steps will have\n context\\['step'\\] =\n\n### #context=\n\n def context=(value) -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Parameter**\n\n- **value** (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Zero or more labeled fields which identify the part of the job this metric is associated with, such as the name of a step or collection.\n\n\n For example, built-in counters associated with steps will have\ncontext\\['step'\\] = \n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Zero or more labeled fields which identify the part of the job this metric is associated with, such as the name of a step or collection.\n\n For example, built-in counters associated with steps will have\n context\\['step'\\] =\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Worker-defined metric name.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Worker-defined metric name. \n**Returns**\n\n- (::String) --- Worker-defined metric name.\n\n### #origin\n\n def origin() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Origin (namespace) of metric name. May be blank for user-define metrics; will be \"dataflow\" for metrics defined by the Dataflow service or SDK.\n\n### #origin=\n\n def origin=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Origin (namespace) of metric name. May be blank for user-define metrics; will be \"dataflow\" for metrics defined by the Dataflow service or SDK. \n**Returns**\n\n- (::String) --- Origin (namespace) of metric name. May be blank for user-define metrics; will be \"dataflow\" for metrics defined by the Dataflow service or SDK."]]