class Google::Apis::OndemandscanningV1beta1::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/ondemandscanning_v1beta1/classes.rb, line 419
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/ondemandscanning_v1beta1/classes.rb, line 424
def update!(**args)
  @category_id = args[:category_id] if args.key?(:category_id)
  @name = args[:name] if args.key?(:name)
end