Class: Google::Apis::ContaineranalysisV1::File
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1::File
- 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
Instance Attribute Summary collapse
-
#digest ⇒ Hash<String,String>
Corresponds to the JSON property
digest. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ File
constructor
A new instance of File.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ File
Returns a new instance of File.
4389 4390 4391 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4389 def initialize(**args) update!(**args) end |
Instance Attribute Details
#digest ⇒ Hash<String,String>
Corresponds to the JSON property digest
4382 4383 4384 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4382 def digest @digest end |
#name ⇒ String
Corresponds to the JSON property name
4387 4388 4389 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4387 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4394 4395 4396 4397 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4394 def update!(**args) @digest = args[:digest] if args.key?(:digest) @name = args[:name] if args.key?(:name) end |