class Google::Apis::MonitoringV3::Type
A protocol buffer message type.
Attributes
The list of fields. Corresponds to the JSON property `fields` @return [Array<Google::Apis::MonitoringV3::Field>]
The fully qualified message name. Corresponds to the JSON property `name` @return [String]
The list of types appearing in oneof definitions in this type. Corresponds to the JSON property `oneofs` @return [Array<String>]
The protocol buffer options. Corresponds to the JSON property `options` @return [Array<Google::Apis::MonitoringV3::Option>]
SourceContext
represents information about the source of a protobuf element, like the file in which it is defined. Corresponds to the JSON property `sourceContext` @return [Google::Apis::MonitoringV3::SourceContext]
The source syntax. Corresponds to the JSON property `syntax` @return [String]
Public Class Methods
# File lib/google/apis/monitoring_v3/classes.rb, line 4051 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/monitoring_v3/classes.rb, line 4056 def update!(**args) @fields = args[:fields] if args.key?(:fields) @name = args[:name] if args.key?(:name) @oneofs = args[:oneofs] if args.key?(:oneofs) @options = args[:options] if args.key?(:options) @source_context = args[:source_context] if args.key?(:source_context) @syntax = args[:syntax] if args.key?(:syntax) end