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.
4063 4064 4065 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4063 def initialize(**args) update!(**args) end |
Instance Attribute Details
#digest ⇒ Hash<String,String>
Corresponds to the JSON property digest
4056 4057 4058 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4056 def digest @digest end |
#name ⇒ String
Corresponds to the JSON property name
4061 4062 4063 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4061 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4068 4069 4070 4071 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4068 def update!(**args) @digest = args[:digest] if args.key?(:digest) @name = args[:name] if args.key?(:name) end |