class Google::Apis::ChromepolicyV1::Proto2FileDescriptorProto
Describes a complete .proto file.
Attributes
enum_type[RW]
Corresponds to the JSON property `enumType` @return [Array<Google::Apis::ChromepolicyV1::Proto2EnumDescriptorProto>]
message_type[RW]
All top-level definitions in this file. Corresponds to the JSON property `messageType` @return [Array<Google::Apis::ChromepolicyV1::Proto2DescriptorProto>]
name[RW]
file name, relative to root of source tree Corresponds to the JSON property `name` @return [String]
package[RW]
e.g. “foo”, “foo.bar”, etc. Corresponds to the JSON property `package` @return [String]
syntax[RW]
The syntax of the proto file. The supported values are “proto2” and “proto3”. Corresponds to the JSON property `syntax` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/chromepolicy_v1/classes.rb, line 835 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/chromepolicy_v1/classes.rb, line 840 def update!(**args) @enum_type = args[:enum_type] if args.key?(:enum_type) @message_type = args[:message_type] if args.key?(:message_type) @name = args[:name] if args.key?(:name) @package = args[:package] if args.key?(:package) @syntax = args[:syntax] if args.key?(:syntax) end