Class: Google::Apis::ContaineranalysisV1::PackagesSummaryResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1::PackagesSummaryResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1/classes.rb,
lib/google/apis/containeranalysis_v1/representations.rb,
lib/google/apis/containeranalysis_v1/representations.rb
Overview
A summary of the packages found within the given resource.
Instance Attribute Summary collapse
-
#licenses_summary ⇒ Array<Google::Apis::ContaineranalysisV1::LicensesSummary>
A listing by license name of each of the licenses and their counts.
-
#resource_url ⇒ String
The unique URL of the image or the container for which this summary applies.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PackagesSummaryResponse
constructor
A new instance of PackagesSummaryResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PackagesSummaryResponse
Returns a new instance of PackagesSummaryResponse.
4796 4797 4798 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4796 def initialize(**args) update!(**args) end |
Instance Attribute Details
#licenses_summary ⇒ Array<Google::Apis::ContaineranalysisV1::LicensesSummary>
A listing by license name of each of the licenses and their counts.
Corresponds to the JSON property licensesSummary
4789 4790 4791 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4789 def licenses_summary @licenses_summary end |
#resource_url ⇒ String
The unique URL of the image or the container for which this summary applies.
Corresponds to the JSON property resourceUrl
4794 4795 4796 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4794 def resource_url @resource_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4801 4802 4803 4804 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4801 def update!(**args) @licenses_summary = args[:licenses_summary] if args.key?(:licenses_summary) @resource_url = args[:resource_url] if args.key?(:resource_url) end |