class Google::Apis::ServicemanagementV1::Type
A protocol buffer message type.
Attributes
The list of fields. Corresponds to the JSON property `fields` @return [Array<Google::Apis::ServicemanagementV1::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::ServicemanagementV1::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::ServicemanagementV1::SourceContext]
The source syntax. Corresponds to the JSON property `syntax` @return [String]
Public Class Methods
# File lib/google/apis/servicemanagement_v1/classes.rb, line 3904 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/servicemanagement_v1/classes.rb, line 3909 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