class Google::Apis::ContaineranalysisV1::Category
The category to which the update belongs.
Attributes
category_id[RW]
The identifier of the category. Corresponds to the JSON property ‘categoryId` @return [String]
name[RW]
The localized name of the category. Corresponds to the JSON property ‘name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/containeranalysis_v1/classes.rb, line 679 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/containeranalysis_v1/classes.rb, line 684 def update!(**args) @category_id = args[:category_id] if args.key?(:category_id) @name = args[:name] if args.key?(:name) end