Class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1PackageDetails

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb

Overview

Details of a package occurrence.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GrafeasV1beta1PackageDetails

Returns a new instance of GrafeasV1beta1PackageDetails.



4205
4206
4207
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 4205

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#installationGoogle::Apis::ContaineranalysisV1beta1::Installation

This represents how a particular software package may be installed on a system. Corresponds to the JSON property installation



4203
4204
4205
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 4203

def installation
  @installation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4210
4211
4212
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 4210

def update!(**args)
  @installation = args[:installation] if args.key?(:installation)
end