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



1410
1411
1412
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1410

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



1408
1409
1410
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1408

def installation
  @installation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1415
1416
1417
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1415

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