Class: Google::Apis::OndemandscanningV1beta1::AnalyzePackagesMetadata
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1beta1::AnalyzePackagesMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ondemandscanning_v1beta1/classes.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb
Overview
AnalyzePackagesMetadata contains metadata for an active scan of a container image.
Instance Attribute Summary collapse
-
#create_time ⇒ String
When the scan was created.
-
#resource_uri ⇒ String
The resource URI of the container image being scanned.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnalyzePackagesMetadata
constructor
A new instance of AnalyzePackagesMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnalyzePackagesMetadata
Returns a new instance of AnalyzePackagesMetadata.
65 66 67 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 65 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
When the scan was created.
Corresponds to the JSON property createTime
58 59 60 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 58 def create_time @create_time end |
#resource_uri ⇒ String
The resource URI of the container image being scanned.
Corresponds to the JSON property resourceUri
63 64 65 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 63 def resource_uri @resource_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
70 71 72 73 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 70 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @resource_uri = args[:resource_uri] if args.key?(:resource_uri) end |