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.
1185 1186 1187 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 1185 def initialize(**args) update!(**args) end |
Instance Attribute Details
#digest ⇒ Hash<String,String>
Corresponds to the JSON property digest
1178 1179 1180 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 1178 def digest @digest end |
#name ⇒ String
Corresponds to the JSON property name
1183 1184 1185 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 1183 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1190 1191 1192 1193 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 1190 def update!(**args) @digest = args[:digest] if args.key?(:digest) @name = args[:name] if args.key?(:name) end |