class Google::Apis::ServiceusageV1beta1::Enum
Enum
type definition.
Attributes
enumvalue[RW]
Enum
value definitions. Corresponds to the JSON property `enumvalue` @return [Array<Google::Apis::ServiceusageV1beta1::EnumValue>]
name[RW]
Enum
type name. Corresponds to the JSON property `name` @return [String]
options[RW]
Protocol buffer options. Corresponds to the JSON property `options` @return [Array<Google::Apis::ServiceusageV1beta1::Option>]
source_context[RW]
`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::ServiceusageV1beta1::SourceContext]
syntax[RW]
The source syntax. Corresponds to the JSON property `syntax` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/serviceusage_v1beta1/classes.rb, line 1266 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/serviceusage_v1beta1/classes.rb, line 1271 def update!(**args) @enumvalue = args[:enumvalue] if args.key?(:enumvalue) @name = args[:name] if args.key?(:name) @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