class Google::Apis::MonitoringV3::SourceContext
SourceContext
represents information about the source of a protobuf element, like the file in which it is defined.
Attributes
file_name[RW]
The path-qualified name of the .proto file that contained the associated protobuf element. For example: “google/protobuf/source_context.proto”. Corresponds to the JSON property `fileName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 4005 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/monitoring_v3/classes.rb, line 4010 def update!(**args) @file_name = args[:file_name] if args.key?(:file_name) end