Class: Google::Apis::OndemandscanningV1beta1::File
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1beta1::File
- 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
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.
1177 1178 1179 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1177 def initialize(**args) update!(**args) end |
Instance Attribute Details
#digest ⇒ Hash<String,String>
Corresponds to the JSON property digest
1170 1171 1172 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1170 def digest @digest end |
#name ⇒ String
Corresponds to the JSON property name
1175 1176 1177 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1175 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1182 1183 1184 1185 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 1182 def update!(**args) @digest = args[:digest] if args.key?(:digest) @name = args[:name] if args.key?(:name) end |