class Google::Apis::ChromepolicyV1::Proto2DescriptorProto

Describes a message type.

Attributes

enum_type[RW]

Corresponds to the JSON property `enumType` @return [Array<Google::Apis::ChromepolicyV1::Proto2EnumDescriptorProto>]

field[RW]

Corresponds to the JSON property `field` @return [Array<Google::Apis::ChromepolicyV1::Proto2FieldDescriptorProto>]

name[RW]

Corresponds to the JSON property `name` @return [String]

nested_type[RW]

Corresponds to the JSON property `nestedType` @return [Array<Google::Apis::ChromepolicyV1::Proto2DescriptorProto>]

oneof_decl[RW]

Corresponds to the JSON property `oneofDecl` @return [Array<Google::Apis::ChromepolicyV1::Proto2OneofDescriptorProto>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/chromepolicy_v1/classes.rb, line 649
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 654
def update!(**args)
  @enum_type = args[:enum_type] if args.key?(:enum_type)
  @field = args[:field] if args.key?(:field)
  @name = args[:name] if args.key?(:name)
  @nested_type = args[:nested_type] if args.key?(:nested_type)
  @oneof_decl = args[:oneof_decl] if args.key?(:oneof_decl)
end