protected override void PopulateAttributes()

in src/Google.Cloud.Functions.Framework/GcfEvents/GcfConverters.cs [270:278]


            protected override void PopulateAttributes(Request request, CloudEvent evt)
            {
                base.PopulateAttributes(request, evt);
                var match = PubSubResourcePattern.Match(request.Context.Resource.Name!);
                if (match.Success)
                {
                    evt[s_topicAttribute] = match.Groups["topic"].Value;
                }
            }