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.
4051 4052 4053 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4051 def initialize(**args) update!(**args) end |
Instance Attribute Details
#digest ⇒ Hash<String,String>
Corresponds to the JSON property digest
4044 4045 4046 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4044 def digest @digest end |
#name ⇒ String
Corresponds to the JSON property name
4049 4050 4051 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4049 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4056 4057 4058 4059 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 4056 def update!(**args) @digest = args[:digest] if args.key?(:digest) @name = args[:name] if args.key?(:name) end |