Class: Google::Apis::OndemandscanningV1::Binary
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1::Binary
- 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
-
#name ⇒ String
Corresponds to the JSON property
name. -
#version ⇒ String
Corresponds to the JSON property
version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Binary
constructor
A new instance of Binary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Binary
Returns a new instance of Binary.
294 295 296 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 294 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Corresponds to the JSON property name
287 288 289 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 287 def name @name end |
#version ⇒ String
Corresponds to the JSON property version
292 293 294 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 292 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
299 300 301 302 |
# File 'lib/google/apis/ondemandscanning_v1/classes.rb', line 299 def update!(**args) @name = args[:name] if args.key?(:name) @version = args[:version] if args.key?(:version) end |