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.



1484
1485
1486
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1484

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



1482
1483
1484
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1482

def installation
  @installation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1489
1490
1491
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1489

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