Class: Google::Apis::OndemandscanningV1::File
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1::File
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ondemandscanning_v1/classes.rb,
lib/google/apis/ondemandscanning_v1/representations.rb,
lib/google/apis/ondemandscanning_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.
1269 1270 1271 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 1269 def initialize(**args) update!(**args) end |
Instance Attribute Details
#digest ⇒ Hash<String,String>
Corresponds to the JSON property digest
1262 1263 1264 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 1262 def digest @digest end |
#name ⇒ String
Corresponds to the JSON property name
1267 1268 1269 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 1267 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1274 1275 1276 1277 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 1274 def update!(**args) @digest = args[:digest] if args.key?(:digest) @name = args[:name] if args.key?(:name) end |