Class: Google::Apis::SecuritycenterV1beta2::Disk
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::Disk
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Disk
constructor
A new instance of Disk.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Disk
Returns a new instance of Disk.
1876 1877 1878 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1876 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Corresponds to the JSON property name
1874 1875 1876 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1874 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1881 1882 1883 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 1881 def update!(**args) @name = args[:name] if args.key?(:name) end |