class Google::Apis::ContaineranalysisV1beta1::ExternalRef
An External Reference allows a Package
to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
Attributes
category[RW]
comment[RW]
Human-readable information about the purpose and target of the reference Corresponds to the JSON property `comment` @return [String]
locator[RW]
The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location Corresponds to the JSON property `locator` @return [String]
type[RW]
Type of category (e.g. 'npm' for the PACKAGE_MANAGER category) Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/containeranalysis_v1beta1/classes.rb, line 1302 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_v1beta1/classes.rb, line 1307 def update!(**args) @category = args[:category] if args.key?(:category) @comment = args[:comment] if args.key?(:comment) @locator = args[:locator] if args.key?(:locator) @type = args[:type] if args.key?(:type) end