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

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

Overview

Details of a package occurrence.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GrafeasV1beta1PackageDetails

Returns a new instance of GrafeasV1beta1PackageDetails.



1642
1643
1644
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1642

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



1640
1641
1642
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1640

def installation
  @installation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1647
1648
1649
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1647

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